aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kbounce/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-24 14:24:32 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-17 14:18:00 +0000
commit758fe07d2f4c5ffe2bfc83f71dd0d6d718063d79 (patch)
tree244a0ac9324a568d449330d356ce37dd43aa2236 /testing/kbounce/APKBUILD
parent97eec0eff5999e9b351a6d12e6b34a763bc4bb23 (diff)
downloadaports-758fe07d2f4c5ffe2bfc83f71dd0d6d718063d79.tar.gz
aports-758fe07d2f4c5ffe2bfc83f71dd0d6d718063d79.tar.bz2
aports-758fe07d2f4c5ffe2bfc83f71dd0d6d718063d79.tar.xz
testing/kbounce: new aport
Diffstat (limited to 'testing/kbounce/APKBUILD')
-rw-r--r--testing/kbounce/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kbounce/APKBUILD b/testing/kbounce/APKBUILD
new file mode 100644
index 0000000000..63e645adeb
--- /dev/null
+++ b/testing/kbounce/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kbounce
+pkgver=20.04.0
+pkgrel=0
+arch="all !armhf" # armhf blocked by extra-cmake-modules
+url="https://kde.org/applications/games/kbounce/"
+pkgdesc="A single player arcade game with the elements of puzzle"
+license="GPL-2.0-or-later AND LGPL-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 kwidgetsaddons-dev kdbusaddons-dev ki18n-dev kconfigwidgets-dev kcompletion-dev kxmlgui-dev kio-dev kdoctools-dev libkdegames-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kbounce-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="1b16e2b9388ed8f09ddf65ccd1b92c4f4e1c71a6a2cd284eaaac761ad9224f1263e835128dedef1942c9bf478f522258ee7ae293de31f5303cba6b3a569af3d1 kbounce-20.04.0.tar.xz"