void-packages/srcpkgs/kf6-grantleetheme/template

32 lines
1014 B
Bash

# Template file for 'kf6-grantleetheme'
pkgname=kf6-grantleetheme
version=24.05.1
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base python3
gettext kf6-kcoreaddons"
makedepends="grantlee5-devel kf6-ki18n-devel kf6-kiconthemes-devel kf6-knewstuff-devel
kf6-kxmlgui-devel kf6-ktexttemplate-devel"
short_desc="Library for Grantlee theming support"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/grantleetheme-${version}.tar.xz"
checksum=40c9f866ed12a65720014b34d2bd4f2c275d5c6147b065683404d95fd11ff277
do_check() {
cd build
ctest -E "grantleetheme-grantleethemetest"
}
kf6-grantleetheme-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedpends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}