aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 12:36:35 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 08:27:44 -0300
commitc95e3c52cdb72cae2226ff2b8e5c7589caf8bb21 (patch)
treecfff590e4591cf14243efc46938cd8851ad09115 /testing
parent095dbb925db8ece813195c1f57afdb9db4d1bc66 (diff)
downloadaports-c95e3c52cdb72cae2226ff2b8e5c7589caf8bb21.tar.bz2
aports-c95e3c52cdb72cae2226ff2b8e5c7589caf8bb21.tar.xz
testing/grantlee: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/grantlee/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/grantlee/APKBUILD b/testing/grantlee/APKBUILD
new file mode 100644
index 0000000000..bda6fa48f9
--- /dev/null
+++ b/testing/grantlee/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=grantlee
+pkgver=5.1.0
+pkgrel=0
+pkgdesc="A string template engine based on the Django template system and written in Qt5"
+arch="all"
+url="https://www.gitorious.org/grantlee/pages/Home"
+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/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make docs
+}
+
+check() {
+ # testfilters is broken
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "testfilters"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+ install -Dm644 apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
+}
+sha512sums="2b806a0770b9c6d02f207d5b4939ae8cae325de4fa01901320ffef5c8442ef0f1c10dd799966d0bf0d223e6541f93db8568aaf922ea1b334bcb2f85f6373a936 grantlee-5.1.0.tar.gz"