aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/libofx/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libofx/APKBUILD b/testing/libofx/APKBUILD
new file mode 100644
index 0000000000..19d3ad9019
--- /dev/null
+++ b/testing/libofx/APKBUILD
@@ -0,0 +1,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
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="87e1d3969e01491d93e018fe642f83d524dbe64e08f5206e9c2071aef6cde482cbeb5703af0d341d3ca6a03192b4074e26c40479c38fe1f5735af2b20c6db0f7 libofx-0.9.11.tar.gz"