Subject: [PATCH] testing/kapman: new aport

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

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

diff --git a/testing/kapman/APKBUILD b/testing/kapman/APKBUILD
new file mode 100644
index 0000000000..6f7b3fa2c9
--- /dev/null
+++ b/testing/kapman/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kapman
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/games/org.kde.kapman"
+pkgdesc="A clone of the well known game Pac-Man"
+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 kcrash-dev kdbusaddons-dev kdoctools-dev kconfig-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev libkdegames-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/kapman-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+option="!check" # No tests
+
+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="82ad6875c0b15376033a5afc52f6d566707de669f78e956fa2deb975f5f0b073ced58cb46c08c93f8b05868f1438b7ac4ed74aa4522af63cf8fb32f105b2af2c  kapman-19.08.0.tar.xz"
-- 
2.21.0