db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / grantlee / repos / extra-x86_64 / PKGBUILD
blob02c6d4614e9fa0d629489d3633a9971af48cc904
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.3.1
7 pkgrel=1
8 pkgdesc='A string template engine based on the Django template system and written in Qt'
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=(https://github.com/steveire/grantlee/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
15 sha256sums=('ba288ae9ed37ec0c3622ceb40ae1f7e1e6b2ea89216ad8587f0863d64be24f06'
16             'SKIP')
17 validpgpkeys=(FCA530E51EE4331C2DF16637D264C7B1D02D6509) # Stephen Kelly <steveire@gmail.com>
19 build() {
20   cmake -B build -S $pkgname-$pkgver \
21     -DCMAKE_INSTALL_PREFIX=/usr \
22     -DBUILD_TESTS=OFF
23   cmake --build build
24   cmake --build build --target docs
27 package() {
28   DESTDIR="$pkgdir" cmake --install build
29   install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname