void-packages/srcpkgs/ktoblzcheck/template

30 lines
919 B
Bash

# Template file for 'ktoblzcheck'
pkgname=ktoblzcheck
version=1.53
revision=4
build_style=cmake
configure_args="-DENABLE_BANKDATA_DOWNLOAD=NO"
hostmakedepends="pkg-config python3"
makedepends="python3-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
vmove usr/lib/cmake
}
}