aboutsummaryrefslogtreecommitdiffstats
path: root/community/ktoblzcheck/APKBUILD
blob: ad4654c021c766d10d6f3a5b8ca67aa89772c400 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=ktoblzcheck
pkgver=1.50
pkgrel=0
pkgdesc="A library to check account numbers and bank codes of german banks"
url="http://ktoblzcheck.sourceforge.net/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="cmake python2-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DENABLE_BANKDATA_DOWNLOAD=OFF
	make
}

check() {
	ctest
}

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

sha512sums="b34b771d1f4f1935c714ecded1c09066846385485ea4b7b21dd5219a01acec7e7204c1da723b42babda5d3f21f4471d1a1902bb7b5350d0f564ae3447c1d154d  ktoblzcheck-1.50.tar.gz"