desktop/grantlee/PKGBUILD
Chaoting Liu 7ede3ea2b8 grantlee-qt5 -> grantlee
- remove grantlee from kdelibs depedency
- update skrooge to 2.10.5
- rest are rebuild
2017-11-15 14:06:39 +00:00

34 lines
758 B
Bash

# 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
}