aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ktoblzcheck/APKBUILD
blob: bb634e3e194a8bdb114fcd2ecfcd6d376d9dc91e (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
36
37
38
39
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"