void-packages/srcpkgs/purpose/template
John 6d6b5dfa44 purpose: update to 5.83.0.
Dep on kaccounts-providers only exists, becaue kaccounts-integration is
useless without it, but if it would depend on providers, we would have
a dep loop
2021-06-19 11:33:57 +02:00

32 lines
985 B
Bash

# Template file for 'purpose'
pkgname=purpose
version=5.83.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons qt5-qmake qt5-host-tools extra-cmake-modules
python3 gettext intltool"
makedepends="qt5-devel qt5-declarative-devel kcoreaddons-devel kconfig-devel
kaccounts-integration-devel kio-devel kirigami2-devel"
depends="accounts-qml-module kaccounts-providers"
short_desc="Offers available actions for a specific purpose"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/purpose"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=02d01a386a4ebbfe5919a54a9442184c5c571213b4a2c98252d94fbc47040369
do_check() {
cd build
# QML test that requires OpenGL
ctest -E 'menutest'
}
purpose-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}