# Maintainer: H W Tovetjärn (totte) # Contributors: Andrea Scarpino pkgname=grantlee pkgver=0.5.1 pkgrel=1 pkgdesc="A string template engine based on the Django template system and written in Qt" arch=('x86_64') url="http://www.gitorious.org/grantlee/pages/Home" license=('LGPL3') depends=('qt') makedepends=('cmake' 'doxygen') conflicts=('grantlee-git') source=("http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz") md5sums=('775f22dac0953029b414ed3b7379098c') prepare() { mkdir build sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i grantlee-$pkgver/CMakeLists.txt } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd build make DESTDIR="${pkgdir}" install }