void-packages/srcpkgs/kproperty/template
2018-03-14 17:52:56 +00:00

29 lines
841 B
Bash

# Template file for 'kproperty'
pkgname=kproperty
version=3.1.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel kconfig-devel kcoreaddons-devel kguiaddons-devel
kwidgetsaddons-devel"
short_desc="Property editing framework"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://community.kde.org/KProperty"
distfiles="https://download.kde.org/stable/kproperty/src/kproperty-${version}.tar.xz"
checksum=7ede8ee868ba480e4666a32b4b26d279b1e45177f83b0ada32a15fa9cee514a3
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi
kproperty-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}