aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aqbanking/APKBUILD
blob: 332eb181dd7c1afd54494831770f9bc9d9946c3c (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=aqbanking
pkgver=5.6.12
_pkgrel=208
pkgrel=1
pkgdesc="A library for online banking and financial applications"
url="http://www.aquamaniac.de/aqbanking"
arch="all"
license="GPL"
depends=""
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=01&dummy=$pkgname-$pkgver.tar.gz
	libintl.patch"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1

	cd "$builddir"
	autoreconf -vfi || return 1
}

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

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

sha512sums="ac9e1010bef6401946cd25a0bb5db33e4a960771a9d459eb68b0297ff3c56190162fdca15d692b563c8c9030b9cee64f905790babcfc571008222c3073963f69  aqbanking-5.6.12.tar.gz
142f0037abfc18e4ce297b815bcf6f24c50a4a46581d58651e7e76aedb9977e42b58f7a7fb145d6d463e61e99fffb018e238d3f7c81cb306526b4fcabaacda71  libintl.patch"