void-packages/srcpkgs/grantlee5/template

25 lines
744 B
Bash

# Template file for 'grantlee5'
pkgname=grantlee5
version=5.0.0
revision=1
wrksrc=${pkgname%5}-${version}
build_style=cmake
hostmakedepends="cmake"
makedepends="qt5-devel qt5-script-devel qt5-tools-devel"
short_desc="Qt5 string template engine based on the Django template system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="https://github.com/steveire/grantlee"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=0fbb796b1fe1bf8de1793f58748f83d0902991e9bad6f19fb3cc2f3cc808d7c5
grantlee5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}