void-packages/srcpkgs/kinit/template
2019-10-13 13:48:10 +03:00

26 lines
862 B
Bash

# Template file for 'kinit'
pkgname=kinit
version=5.63.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules libcap-progs pkg-config"
makedepends="kio-devel kdoctools-devel libcap-devel"
short_desc="Helper library to speed up start of applications on KDE workspaces"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only"
homepage="https://projects.kde.org/projects/frameworks/kinit"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9dcb8d59419066a11b11b64dc028f8cccf7713cd5230451ca8ea5b724c8ae01a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools"
fi
kinit-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
}
}