2.42.9-1
[arch-packages.git] / grantlee / trunk / PKGBUILD
blob55b88c6a58edd8ae9de4adee2bdf390de52bac29
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=grantlee
6 pkgver=5.2.0
7 pkgrel=3
8 pkgdesc="A string template engine based on the Django template system and written in Qt5"
9 arch=(x86_64)
10 url="https://github.com/steveire/grantlee"
11 license=(LGPL2.1)
12 depends=(qt5-declarative)
13 makedepends=(cmake doxygen graphviz)
14 source=("http://downloads.grantlee.org/grantlee-$pkgver.tar.gz"{,.asc})
15 sha256sums=('d6cd04de39a073a787c9ab8e72a0888e40779d21b83fbc788a1b36d31ac659d5'
16             'SKIP')
17 validpgpkeys=(FCA530E51EE4331C2DF16637D264C7B1D02D6509) # Stephen Kelly <steveire@gmail.com>
19 prepare() {
20   mkdir -p build
23 build() {
24   cd build
25   cmake ../$pkgname-$pkgver \
26     -DCMAKE_INSTALL_PREFIX=/usr \
27     -DBUILD_TESTS=OFF
28   make
29   make docs
32 package() {
33   cd build
34   make DESTDIR="$pkgdir" install
35   install -Dm644 apidox/* -t "$pkgdir"/usr/share/doc/$pkgname