void-packages/srcpkgs/ktoblzcheck/template
Colin Booth 3fd8458586 ktoblzcheck: fix license, other lint, fix test
Test fix is a temporary stand-in until the next version.
2021-05-04 23:38:49 -03:00

28 lines
895 B
Bash

# Template file for 'ktoblzcheck'
pkgname=ktoblzcheck
version=1.53
revision=2
build_style=cmake
configure_args="-DENABLE_BANKDATA_DOWNLOAD=NO"
hostmakedepends="pkg-config python"
makedepends="python-devel"
short_desc="Tool for verification of account numbers and bank codes"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://ktoblzcheck.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=18b9118556fe83240f468f770641d2578f4ff613cdcf0a209fb73079ccb70c55
post_patch() {
vsed -i src/python/test_ktoblzcheck.py -e 's/Postbank Ndl der DB Privat- und Firmenkundenbank/Postbank Ndl der Deutsche Bank/'
}
ktoblzcheck-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}