void-packages/srcpkgs/kinit/template
2018-08-13 11:30:50 +02:00

26 lines
862 B
Bash

# Template file for 'kinit'
pkgname=kinit
version=5.49.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2.0-only"
homepage="https://projects.kde.org/projects/frameworks/kinit"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=25b5e07c2dd651a96f79ea58e0a76a172aac4b818892641adf97bdf6525909e7
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
}
}