From 8684eea0501f7fa8c0cd31e6b2dae5eafd57029b Mon Sep 17 00:00:00 2001 From: cr6git Date: Thu, 14 Dec 2017 01:14:42 +0100 Subject: [PATCH] grantlee-devel: avoid conflict with grantlee5-devel --- srcpkgs/grantlee/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/grantlee/template b/srcpkgs/grantlee/template index 38f4e9c91ce..accc9713f36 100644 --- a/srcpkgs/grantlee/template +++ b/srcpkgs/grantlee/template @@ -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 " -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"