blob: fd397b996564486da75f60436894aba6386c186e (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=ktoblzcheck
pkgver=1.52
pkgrel=1
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 python3 python3-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
disable-python-tests.patch"
build() {
cmake \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_BANKDATA_DOWNLOAD=OFF
make
}
check() {
ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="d84c16fb131405fff14f5b9ce244e0e0a6e0bef96111c00d45be4a9a9602c6a70e114143cf6451ac02e3b37a352830e1b5dc6652d887010f5b50cbbf89be7d96 ktoblzcheck-1.52.tar.gz
41e9a3e4430257c3887b4951afaaec650379318fce7784be445331423e4485cc48b4ef0846a398803496ddc01ecce5fef3c589031e4d695b7e85cccd2b07dffe disable-python-tests.patch"
|