diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-02-26 19:51:43 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-03-04 11:52:53 +0100 |
commit | 9ab35f20654442ed56c9a2197da1ec3948a30ef7 (patch) | |
tree | 332b3e3b908e7facc677d51f1e6867e049ce9b95 /testing/ktoblzcheck | |
parent | 15a88227cf031ee618cb00fc6296da00ecf3d1e3 (diff) | |
download | aports-9ab35f20654442ed56c9a2197da1ec3948a30ef7.tar.bz2 aports-9ab35f20654442ed56c9a2197da1ec3948a30ef7.tar.xz |
testing/ktoblzcheck: new aport
Diffstat (limited to 'testing/ktoblzcheck')
-rw-r--r-- | testing/ktoblzcheck/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/ktoblzcheck/APKBUILD b/testing/ktoblzcheck/APKBUILD new file mode 100644 index 0000000000..bb634e3e19 --- /dev/null +++ b/testing/ktoblzcheck/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=ktoblzcheck +pkgver=1.48 +pkgrel=0 +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 \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ + install -m644 AUTHORS README NEWS ChangeLog \ + "$pkgdir"/usr/share/doc/$pkgname/ \ + || return 1 +} + +sha512sums="897a98b7f39cee43f46fb34009e5d51b06fc0734f4c6e50adf888e9663114c7f927ba5b34cfe8786cb4558621828a580076cd975512a253f247b1e4ce5cfb089 ktoblzcheck-1.48.tar.gz" |