grantlee-devel: avoid conflict with grantlee5-devel

This commit is contained in:
cr6git 2017-12-14 01:14:42 +01:00 committed by Toyam Cox
parent 3c91afb4ec
commit 8684eea050
1 changed files with 10 additions and 2 deletions

View File

@ -1,16 +1,24 @@
# Template file for 'grantlee'
pkgname=grantlee
version=0.5.1
revision=1
revision=2
build_style=cmake
makedepends="qt-devel"
short_desc="Qt4 string template engine based on the Django template system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
license="LGPL-2.1"
homepage="https://github.com/steveire/grantlee"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=7669a57c9a2bee24956b1daf6e63a10847172b4c46650345a9a5d14b2686e664
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-qmake"
fi
post_extract() {
sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i CMakeLists.txt
}
grantlee-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"