void-packages/srcpkgs/purpose/template

25 lines
817 B
Bash

# Template file for 'purpose'
pkgname=purpose
version=5.64.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons qt5-qmake qt5-host-tools extra-cmake-modules python"
makedepends="qt5-devel qt5-declarative-devel kcoreaddons-devel kconfig-devel
kio-devel kirigami2-devel"
short_desc="Offers available actions for a specific purpose"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/purpose"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=004794dfa2d0bcef316d582f37e5691e3980c99240ef570313a98a8d44235b0d
purpose-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}