added community/gnucash-docs

This commit is contained in:
Kevin Mihelich 2022-10-02 23:49:11 +00:00
parent 0f2913c55b
commit 8b60b8796c

View file

@ -0,0 +1,37 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# remove when bumped upstream
pkgname=gnucash-docs
pkgver=4.12
pkgrel=1
pkgdesc='Documentation for GnuCash'
arch=('any')
url='https://gnucash.org/docs.phtml'
license=('FDL')
depends=('yelp')
makedepends=('cmake')
source=(https://downloads.sourceforge.net/gnucash/$pkgname-$pkgver.tar.gz)
sha256sums=('004ca6976c7b7c4a946ac1d723d2e758e6e07a288d76c2719026a5e8b68b63ab')
prepare() {
cd $pkgname-$pkgver
mkdir build
}
build() {
cd $pkgname-$pkgver/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR="${pkgdir}" install
}