blob: b32963c00c1115887b73e5b73ec261b185e285cf (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=grantlee
pkgver=5.2.0
pkgrel=0
pkgdesc="A string template engine based on the Django template system and written in Qt5"
arch="all"
url="https://github.com/steveire/grantlee"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev qt5-qtscript-dev graphviz-dev"
makedepends="$depends_dev cmake doxygen graphviz"
checkdepends="xvfb-run"
source="http://downloads.grantlee.org/grantlee-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
make -C build
make -C build docs
}
check() {
cd "$builddir"/build
# testfilters is broken
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "testfilters"
}
package() {
DESTDIR="$pkgdir" make -C build install
install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
}
sha512sums="94b53d103aa775e6d45357d44d5634a5214d12ea7178d251fda30c5a88ddc2682ae44501ee8b7dc475793b84fa0998eb0bc13eea3f2e10ab29b1489db6ea60bd grantlee-5.2.0.tar.gz"
|