aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libofx/APKBUILD
blob: f78b871f7b6f867f8d90055c3d82634c84cc2af8 (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: Leo <thinkabit.ukim@gmail.com>
# Maintainer: 7heo <7heo@mail.com>
pkgname=libofx
pkgver=0.9.14
pkgrel=0
pkgdesc="The libofx OFX banking protocol abstraction library"
url="https://github.com/libofx/libofx"
arch="all"
license="GPL-2.0-or-later"
makedepends="bash automake autoconf libtool gengetopt opensp-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libofx/$pkgname/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static
	make -j1
}

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

sha512sums="785c5130fc6f6cfc019d4aee2bf6de6311835e5dc7f2bd56a83f1ecf5e62ecb320a95bf4a5ff8f9e14dcaf5ff1eabc833cd7974927e571a8469c9a02fb8362d2  libofx-0.9.14.tar.gz"