# $Id: PKGBUILD 183162 2013-04-18 06:30:55Z eric $ # Maintainer: Aaron Griffin pkgbase=libofx pkgname=('libofx' 'libofx-doc') pkgver=0.9.8 pkgrel=1 pkgdesc="API for the OFX banking standard" arch=('i686' 'x86_64' 'mips64el') url="http://libofx.sourceforge.net" license=('GPL') depends=('opensp' 'curl' 'libxml++') checkdepends=('gnupg') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) sha1sums=('e0159d77c4458eb937871373db85c9f392e86554') build() { cd "$srcdir/$pkgbase-$pkgver" ./configure --prefix=/usr make } check() { cd "$srcdir/$pkgbase-$pkgver" make check } package_libofx() { options=('!libtool' '!docs') cd "$srcdir/$pkgbase-$pkgver" make DESTDIR="$pkgdir" install } package_libofx-doc() { pkgdesc="Documention of the OFX banking standard API" depends=() cd "$srcdir/$pkgbase-$pkgver" make DESTDIR="$pkgdir" install-docDATA make -C doc DESTDIR="$pkgdir" install }