1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='A string template engine based on the Django template system and written in Qt'
10 url='https://github.com/steveire/grantlee'
12 depends=(qt5-declarative)
13 makedepends=(cmake doxygen graphviz)
14 source=(https://github.com/steveire/grantlee/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
15 sha256sums=('ba288ae9ed37ec0c3622ceb40ae1f7e1e6b2ea89216ad8587f0863d64be24f06'
17 validpgpkeys=(FCA530E51EE4331C2DF16637D264C7B1D02D6509) # Stephen Kelly <steveire@gmail.com>
20 cmake -B build -S $pkgname-$pkgver \
21 -DCMAKE_INSTALL_PREFIX=/usr \
24 cmake --build build --target docs
28 DESTDIR="$pkgdir" cmake --install build
29 install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname