libofx: update to 0.9.10

This commit is contained in:
gnastyle 2016-02-11 14:50:49 +01:00
parent 7a0c051315
commit 40a77f1938

40
libofx/PKGBUILD Normal file
View File

@ -0,0 +1,40 @@
pkgbase=libofx
pkgname=('libofx' 'libofx-doc')
pkgver=0.9.10
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=('33f394c963c087217cb6c508af842d4844bc0823')
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
}