void-packages/srcpkgs/kpackage/template

29 lines
938 B
Bash
Raw Normal View History

2016-10-13 12:19:00 +02:00
# Template file for 'kpackage'
pkgname=kpackage
2017-08-16 15:37:39 +02:00
version=5.37.0
2016-10-13 12:19:00 +02:00
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="karchive-devel kconfig-devel kcoreaddons-devel ki18n-devel kdoctools-devel"
short_desc="KDE Installation and loading of additional content as packages"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kpackage"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
2017-08-16 15:37:39 +02:00
checksum=fac4d94dc33760aa71078f869fa0fc090c25a7aaf9547cc1a91bcd2b70296ec6
2017-05-13 20:45:00 +02:00
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools"
fi
2016-10-13 12:19:00 +02:00
kpackage-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}