Subject: [PATCH] testing/granatier: new aport

From: Bart Ribbers <[email-masked]>
Date: Wed, 4 Sep 2019 11:48:57 +0200

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

diff --git a/testing/granatier/APKBUILD b/testing/granatier/APKBUILD
new file mode 100644
index 0000000000..5d4f4f810a
--- /dev/null
+++ b/testing/granatier/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=granatier
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/games/org.kde.granatier"
+pkgdesc="A clone of the classic Bomberman game"
+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 kwidgetsaddons-dev kconfig-dev ki18n-dev kconfigwidgets-dev kxmlgui-dev knewstuff-dev kdoctools-dev libkdegames-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/granatier-$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="069d76b3c466a7d13ab657acabd0088033933bb8fd9ed155a260fd2b26dbe44d8609d665059bb987ad9eb6db96d5452c1b72dc86428af6d278952764e676f67a  granatier-19.08.0.tar.xz"
-- 
2.21.0