void-packages/srcpkgs/kwallet-cli/template

30 lines
792 B
Bash

# Template file for 'kwallet-cli'
pkgname=kwallet-cli
version=3.02
revision=1
wrksrc=kwalletcli
build_style=gnu-makefile
make_build_args="KDE_VER=5"
hostmakedepends="pkg-config"
makedepends="kwallet-devel qt5-devel"
depends="mksh"
short_desc="Command-line interface to the KDE Wallet"
maintainer="Louis Dupré Bertoni <contact@louis.xyz>"
license="custom:MirOS, LGPL-3.0-or-later"
homepage="https://www.mirbsd.org/kwalletcli.htm"
distfiles="http://www.mirbsd.org/MirOS/dist/hosted/kwalletcli/kwalletcli-${version}.tar.gz"
checksum=f6bebf802d6d575b0871c01dc1cbcc0f182d26cdce28449da426a503a257d216
post_patch() {
vsed -i GNUmakefile -e "s|-I/usr/include|-I${XBPS_CROSS_BASE}/usr/include|g"
}
pre_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
}
post_install() {
vlicense LICENCE
}