diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-06 11:48:42 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-06 12:30:37 +0100 |
commit | 2a4e436ca56e4d7cf52033443f5f37d31f3b38df (patch) | |
tree | a1484292826adf6ea8512c7e73c450d29335edbe /community/ktoblzcheck | |
parent | c12df2fb31013b017c91fd9a18b2b39182461b6b (diff) | |
download | aports-2a4e436ca56e4d7cf52033443f5f37d31f3b38df.tar.bz2 aports-2a4e436ca56e4d7cf52033443f5f37d31f3b38df.tar.xz |
community/ktoblzcheck: move from testing
Diffstat (limited to 'community/ktoblzcheck')
-rw-r--r-- | community/ktoblzcheck/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/ktoblzcheck/APKBUILD b/community/ktoblzcheck/APKBUILD new file mode 100644 index 0000000000..f0cf1725f4 --- /dev/null +++ b/community/ktoblzcheck/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=ktoblzcheck +pkgver=1.49 +pkgrel=1 +pkgdesc="A library to check account numbers and bank codes of german banks" +url="http://ktoblzcheck.sourceforge.net/" +arch="all" +license="LGPL" +depends="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make -C "$builddir" check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ + install -m644 AUTHORS README NEWS ChangeLog \ + "$pkgdir"/usr/share/doc/$pkgname/ +} + +sha512sums="da2321112a78b11ccaa938ec295275cb27a4830de0de62e7b9335f2991b9ca335f0ad10e422d9dcbd32a16effc2fc59f3cdde0fd732a639d3e6a39e141081aaa ktoblzcheck-1.49.tar.gz" |