# Contributor: Mark Schneider <queueRAM@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>

pkgname=gnucash-docs
pkgver=2.4.1
pkgrel=1
pkgdesc="User documentation for gnucash"
arch=('i686' 'x86_64')
url="http://www.gnucash.org"
license=('GPL')
depends=('gnucash' 'docbook-xml' 'rarian' 'yelp')
source=(http://downloads.sourceforge.net/gnucash/${pkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
md5sums=('38daeb3b15f296726ee8124122040f08')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-scrollkeeper
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}
md5sums=('38daeb3b15f296726ee8124122040f08')
md5sums=('38daeb3b15f296726ee8124122040f08')