blob: c96953d15eb6df4130b1f66ba94f9b59b9773453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Jaroslav Lichtblau <[email protected]>
# Contributor: Aaron Griffin <[email protected]>
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
}
|