28 lines
831 B
Bash
28 lines
831 B
Bash
# Template file for 'grantlee5'
|
|
pkgname=grantlee5
|
|
version=5.2.0
|
|
revision=2
|
|
wrksrc=${pkgname%5}-${version}
|
|
build_style=cmake
|
|
makedepends="qt5-script-devel qt5-tools-devel qt5-declarative-devel"
|
|
short_desc="Qt5 string template engine based on the Django template system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/steveire/grantlee"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=139acee5746b957bdf1327ec0d97c604d4c0b9be42aec5d584297cb5ed6a990a
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
|
|
fi
|
|
|
|
grantlee5-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|