Subject: [PATCH] testing/libqofono: new aport

From: Bart Ribbers <[email-masked]>
Date: Mon, 23 Sep 2019 11:57:26 +0200

---
 testing/libqofono/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/libqofono/APKBUILD

diff --git a/testing/libqofono/APKBUILD b/testing/libqofono/APKBUILD
new file mode 100644
index 0000000000..b5e6f62e04
--- /dev/null
+++ b/testing/libqofono/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=libqofono
+pkgver=0.98
+pkgrel=0
+pkgdesc="A library for accessing the ofono daemon, and a Qt declarative plugin for it"
+url="https://git.merproject.org/mer-core/libqofono/"
+arch="all"
+license="LGPL-2.1-or-later"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"
+makedepends="$depends_dev"
+subpackages="$pkgname-dev"
+source="https://git.merproject.org/mer-core/libqofono/-/archive/$pkgver/libqofono-$pkgver.tar.gz"
+options="!check" # Requires running Ofono
+
+build() {
+	qmake-qt5
+	make
+}
+
+package() {
+	INSTALL_ROOT="$pkgdir" make install
+
+	# Remove installed tests
+	rm -r "$pkgdir"/opt
+	rm -r "$pkgdir"/usr/lib/libqofono-qt5/tests/
+}
+
+sha512sums="917c3f8c58f6af5b166b3641750b114dae4eaf6b3d8018421c6e601e9742f413dc6aa758ce2f9b2ce98feff1d031bb30028d5634c5befab94aa1ae382e6504b7  libqofono-0.98.tar.gz"
-- 
2.21.0