aboutsummaryrefslogtreecommitdiffstats
path: root/testing/khangman
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-02 17:02:39 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-02 12:26:01 -0300
commit578d54a2557d20fa1a818973b90bcd19623bd54e (patch)
tree53914cb167f12185264a6461046b22b0ce55eb8b /testing/khangman
parentbbf92ab348126bb236686f3df1b3c7493677007e (diff)
downloadaports-578d54a2557d20fa1a818973b90bcd19623bd54e.tar.bz2
aports-578d54a2557d20fa1a818973b90bcd19623bd54e.tar.xz
testing/khangman: new aport
Diffstat (limited to 'testing/khangman')
-rw-r--r--testing/khangman/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/khangman/APKBUILD b/testing/khangman/APKBUILD
new file mode 100644
index 0000000000..af4568797f
--- /dev/null
+++ b/testing/khangman/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=khangman
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/khangman"
+pkgdesc="Hangman game"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev ki18n-dev kcrash-dev kcompletion-dev kconfig-dev kcoreaddons-dev kconfigwidgets-dev kdeclarative-dev kdoctools-dev knewstuff-dev knotifications-dev kxmlgui-dev kio-dev libkeduvocdocument-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/khangman-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!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="99a93c9bc815a31ad03e76c7862909b42951507f44c440d61e353afa706f88580e85343566cb38d2633ffd320583e7399e9c4b431d10ba8e3509822972a25b4c khangman-19.08.0.tar.xz"