void-packages/srcpkgs/grantlee5/template
Jürgen Buchmüller 4f10dfd73d grantlee: update to 0.5.1
Change homepage because gitorious.org is moving to the
Internet Archive. Also create a new package grantlee5,
because newer versions (>5.0.0) link against Qt5.
2015-10-18 19:28:53 +02:00

24 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"
}
}