27 lines
877 B
Bash
27 lines
877 B
Bash
# Template file for 'kinit'
|
|
pkgname=kinit
|
|
version=5.37.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"
|
|
homepage="https://projects.kde.org/projects/frameworks/kinit"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b9686968cb277a027169bc48ff37a25f44691b1d828af7cee4c6790c89f7ed2c
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|