void-packages/srcpkgs/grantleetheme/template

26 lines
902 B
Bash

# Template file for 'grantleetheme'
pkgname=grantleetheme
version=17.12.3
revision=1
build_style=cmake
configure_args="KDE_INSTALL_USE_QT_SYS_PATHS=TRUE"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="grantlee5-devel ki18n-devel kiconthemes-devel knewstuff-devel"
short_desc="Library for Grantlee theming support"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="https://download.kde.org/stable/applications/${version}/src/grantleetheme-${version}.tar.xz"
checksum=5dc34b222ff3297cccd0a7679ff8856ec566954443a45702c0c12833042cda60
grantleetheme-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedpends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}