# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/grantlee-qt5/ pkgname=grantlee pkgver=5.1.0 pkgrel=1 pkgdesc="A string template engine based on the Django template system and written in Qt5" arch=('x86_64') url="https://github.com/steveire/grantlee" license=('LGPL3') depends=('qt5-script') makedepends=('cmake' 'doxygen') conflicts=('grantlee-qt5') replaces=('grantlee-qt5') source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz") md5sums=('57989ae9f7c113e682ef1713a6f1e92a') prepare() { mkdir build } build() { cd build cmake ../grantlee-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }