blob: 9ac155ce4141c7fc2d16f3c0c5c13ca8e13a497e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=grantlee
pkgver=5.3.1
pkgrel=3
pkgdesc='A string template engine based on the Django template system and written in Qt'
arch=(x86_64)
url='https://github.com/steveire/grantlee'
license=(LGPL-2.1-or-later)
depends=(gcc-libs
glibc
qt5-base
qt5-declarative)
makedepends=(cmake
doxygen
git
graphviz)
source=(https://github.com/steveire/grantlee/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
sha256sums=('ba288ae9ed37ec0c3622ceb40ae1f7e1e6b2ea89216ad8587f0863d64be24f06'
'SKIP')
validpgpkeys=(FCA530E51EE4331C2DF16637D264C7B1D02D6509) # Stephen Kelly <steveire@gmail.com>
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF
cmake --build build
cmake --build build --target docs
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
}
|