Subject: [PATCH 1/2] testing/libkmahjongg: new aport

From: Bart Ribbers <[email-masked]>
Date: Wed, 4 Sep 2019 12:03:17 +0200

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

diff --git a/testing/libkmahjongg/APKBUILD b/testing/libkmahjongg/APKBUILD
new file mode 100644
index 0000000000..6e21ecf078
--- /dev/null
+++ b/testing/libkmahjongg/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=libkmahjongg
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/games"
+pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kconfig-dev kconfigwidgets-dev kwidgetsaddons-dev kcompletion-dev ki18n-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/libkmahjongg-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+options="!check" # No tests found
+
+build() {
+	cmake \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib
+	make
+}
+
+check() {
+	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="8926e885a0792dc1c0604e0415db9fb02a7e18ddfdd054f56ceb606af6e41b3289f1d9d39aeddd02b95af6614997094c99e2b9c7380e9cdf1415d743c85d527b  libkmahjongg-19.08.0.tar.xz"
-- 
2.21.0

---

From: Bart Ribbers <[email-masked]>
Date: Wed, 4 Sep 2019 12:03:18 +0200

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

diff --git a/testing/kajongg/APKBUILD b/testing/kajongg/APKBUILD
new file mode 100644
index 0000000000..4c88d12c3f
--- /dev/null
+++ b/testing/kajongg/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kajongg
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/games/org.kde.kajongg"
+pkgdesc="Mah Jongg - the ancient Chinese board game for 4 players"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+depends="python3"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev kdoctools-dev kconfigwidgets-dev libkmahjongg-dev py3-twisted"
+source="https://download.kde.org/stable/applications/$pkgver/src/kajongg-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+	cmake \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib
+	make
+}
+
+check() {
+	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="ba5bfcc68f9113de73767ff6f2190726419b978794604426dafeb89f7243f909124bfb338f9ce12a321e6b84156c2ac1ab588f45cd28f98d039510b378e064e1  kajongg-19.08.0.tar.xz"
-- 
2.21.0