desktop/grantlee/PKGBUILD
2015-04-10 21:27:25 +00:00

34 lines
850 B
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
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
}