diff options
Diffstat (limited to 'arch/tde-deps/libofx/PKGBUILD')
-rw-r--r-- | arch/tde-deps/libofx/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/tde-deps/libofx/PKGBUILD b/arch/tde-deps/libofx/PKGBUILD new file mode 100644 index 000000000..c96953d15 --- /dev/null +++ b/arch/tde-deps/libofx/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> +# Contributor: Aaron Griffin <aaron@archlinux.org> + +pkgbase=libofx +pkgname=('libofx' 'libofx-doc') +pkgver=0.10.9 +pkgrel=1 +pkgdesc="API for the OFX banking standard" +arch=('powerpc64le') +url="https://github.com/libofx" +license=('GPL') +depends=('opensp' 'curl' 'libxml++2.6') +checkdepends=('gnupg') +source=(https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1ca89ff7d681c9edad312172ac464231a8de686e653213612f9417492cef0d37') + +build() { + cd $pkgbase-$pkgver + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make CXXFLAGS+=-std=c++11 +} + +check() { + cd $pkgbase-$pkgver + make check +} + +package_libofx() { + options=('!docs') + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install +} + +package_libofx-doc() { + pkgdesc="Documention of the OFX banking standard API" + depends=() + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" install-docDATA + make -C doc DESTDIR="$pkgdir" install +} |