aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libofx/APKBUILD
blob: 41adcf7938c5b7cc5c1fdb38f349ec843db29b32 (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
# Contributor:
# Maintainer: 7heo <7heo@mail.com>
pkgname=libofx
pkgver=0.9.12
pkgrel=0
pkgdesc="The libofx OFX banking protocol abstraction library"
url="https://github.com/libofx/libofx"
arch="all"
license="GPL-2.0"
depends=""
makedepends="bash automake autoconf libtool gengetopt opensp-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libofx/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./autogen.sh
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make -j1
}

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

sha512sums="5adde556785c8f9c928f067e0e100468baa3a852bc00de592c429ee97ee6f903a68eab0c35f0f1fdedd379aaacb22ae7488208d48b8d0c41ad2bb76de51c65bd  libofx-0.9.12.tar.gz"