void-packages/srcpkgs/kwallet/template
2019-06-08 22:30:39 +02:00

31 lines
1,000 B
Bash

# Template file for 'kwallet'
pkgname=kwallet
version=5.59.0
revision=1
build_style=cmake
make_build_args="VERBOSE=1"
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kdoctools-devel gpgmepp-devel libgcrypt-devel
kservice-devel knotifications-devel kiconthemes-devel boost-devel"
short_desc="KDE Safe desktop-wide storage for passwords"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kwallet"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=733c76c0822aaa2e7829778a9908ff90c1173e65aac57efb35c3a240cd6aed71
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools"
fi
kwallet-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}