desktop/libofx/PKGBUILD
Adrián Chaves Fernández be9ef31aee libofx 0.9.11
2016-08-20 18:34:43 +02:00

40 lines
846 B
Bash

pkgbase=libofx
pkgname=('libofx' 'libofx-doc')
pkgver=0.9.11
pkgrel=1
pkgdesc="API for the OFX banking standard"
arch=('x86_64')
url="http://libofx.sourceforge.net"
license=('GPL')
depends=('opensp' 'curl' 'libxml++')
checkdepends=('gnupg')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha1sums=('ec716e0ab85d64c3211a9e0a397d4e9d552ab61c')
build() {
cd "$srcdir/$pkgbase-$pkgver"
./configure --prefix=/usr
make CXXFLAGS+=-std=c++11
}
check() {
cd "$srcdir/$pkgbase-$pkgver"
make check
}
package_libofx() {
options=('!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
}