27 lines
800 B
Bash
27 lines
800 B
Bash
# Template file for 'grantlee5'
|
|
pkgname=grantlee5
|
|
version=5.3.1
|
|
revision=1
|
|
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=ba288ae9ed37ec0c3622ceb40ae1f7e1e6b2ea89216ad8587f0863d64be24f06
|
|
|
|
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"
|
|
}
|
|
}
|