desktop/grantlee/PKGBUILD

30 lines
816 B
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
pkgname=grantlee
pkgver=0.4.0
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")
sha512sums=('6ff539eb7aaf366487214b02131d67b9967713c42d20314ff56129e9543516fdf2d129b9c3015f0959c89c6f0ee9ad085af91fed4293bd0613d8e888bc850ca7')
build() {
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}