void-packages/srcpkgs/kwallet/template
2018-01-07 21:41:33 +01:00

30 lines
1,008 B
Bash

# Template file for 'kwallet'
pkgname=kwallet
version=5.41.0
revision=1
build_style=cmake
make_build_args="VERBOSE=1"
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kwallet"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=74ec71ab2dd621ce65762148f37b1078bc8fb6910ace1b04bab8e4f5c675bfbd
if [ -n "$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
}
}