aboutsummaryrefslogtreecommitdiffstats
path: root/community/qmlrunner/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qmlrunner/APKBUILD')
-rw-r--r--community/qmlrunner/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/qmlrunner/APKBUILD b/community/qmlrunner/APKBUILD
new file mode 100644
index 0000000000..2f9b1044f7
--- /dev/null
+++ b/community/qmlrunner/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qmlrunner
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Runner for QML-only apps"
+url="https://github.com/rinigus/qmlrunner"
+arch="all !armhf" # armhf blocked by qt5-qtdeclarative
+license="GPL-3.0-or-later"
+makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
+source="https://github.com/rinigus/qmlrunner/archive/$pkgver/qmlrunner-$pkgver.tar.gz"
+options="!check" # No tests
+
+build() {
+ qmake-qt5 \
+ PREFIX=/usr
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ INSTALL_ROOT="$pkgdir" make install
+}
+
+sha512sums="283c7b5e72f8fbb5754d9aa2bb8c99fa98e5699f582320733ee068456015f6749baa0f352d56635f15d315224b9b7473394324833da3d339fbef8b023becea6f qmlrunner-1.0.2.tar.gz"