aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libofx/APKBUILD
blob: b13b1d1266f69fb61818aa4352d844e41c5f9112 (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.11
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="87e1d3969e01491d93e018fe642f83d524dbe64e08f5206e9c2071aef6cde482cbeb5703af0d341d3ca6a03192b4074e26c40479c38fe1f5735af2b20c6db0f7  libofx-0.9.11.tar.gz"