aboutsummaryrefslogtreecommitdiffstats
path: root/community/qmlrunner/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-08-25 15:21:28 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-25 15:00:04 +0000
commit50c79be9299471763b98e7d2ec98e838084ad8c6 (patch)
tree983ca253376706663af168e09f286ec5dc501397 /community/qmlrunner/APKBUILD
parent505d05109a8444c54939e0ff42402c09d8da7ce2 (diff)
downloadaports-50c79be9299471763b98e7d2ec98e838084ad8c6.tar.gz
aports-50c79be9299471763b98e7d2ec98e838084ad8c6.tar.bz2
aports-50c79be9299471763b98e7d2ec98e838084ad8c6.tar.xz
community/qmlrunner: move from testing
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"