aboutsummaryrefslogtreecommitdiffstats
path: root/community/aqbanking/APKBUILD
blob: 195a587d675bfb690530cc9bbf04392c37b096b7 (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
44
45
46
47
48
49
50
51
52
53
54
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=aqbanking
pkgver=5.7.8
_pkgrel=217
pkgrel=1
pkgdesc="A library for online banking and financial applications"
url="http://www.aquamaniac.de/aqbanking"
arch="all"
license="GPL-2.0-or-later"
depends="gwenhywfar ktoblzcheck"
depends_dev=""
makedepends="gwenhywfar-dev gmp-dev gettext-dev bzip2
	automake autoconf libtool bash"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://www.aquamaniac.de/sites/download/download.php?package=03&release=${_pkgrel}&file=02&dummy=$pkgname-$pkgver.tar.gz
	reorder_deps	
	libintl.patch"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	autoreconf -vfi
}

check() {
	make -C "$builddir" check
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-python \
		--with-backends="aqhbci aqofxconnect"
	patch -p1 < "$srcdir"/reorder_deps
	make -j1
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="4078c3bc2c0b6f38f853fed064e37b6188c0b8158416ca6482756232ef8fe71e9cc1df0abe8c6bcbe8a7e818c24210f553c367f540d60cb7b7cf0161a9ca7117  aqbanking-5.7.8.tar.gz
8f804cac018493cb7f106887a19cacf1c00578e6a08af68b0f4379980f962bc5be84404f6c4582de84463e73af048e653327d53d110728225dce50ec94264198  reorder_deps
142f0037abfc18e4ce297b815bcf6f24c50a4a46581d58651e7e76aedb9977e42b58f7a7fb145d6d463e61e99fffb018e238d3f7c81cb306526b4fcabaacda71  libintl.patch"