summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-14 01:09:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-14 01:09:14 -0500
commit0a13fb94842c0cc45ba581430ac4d75ef9fefdd7 (patch)
tree714087c98e15270b310d97534de9ffe723c68bf2 /user
parentcc02354cc222317ff160d9598a1922e9cf61d92e (diff)
downloadpackages-0a13fb94842c0cc45ba581430ac4d75ef9fefdd7.tar.gz
packages-0a13fb94842c0cc45ba581430ac4d75ef9fefdd7.tar.bz2
packages-0a13fb94842c0cc45ba581430ac4d75ef9fefdd7.tar.xz
packages-0a13fb94842c0cc45ba581430ac4d75ef9fefdd7.zip
user/kjumpingcube: new package
Diffstat (limited to 'user')
-rw-r--r--user/kjumpingcube/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/kjumpingcube/APKBUILD b/user/kjumpingcube/APKBUILD
new file mode 100644
index 000000000..3f13749c8
--- /dev/null
+++ b/user/kjumpingcube/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kjumpingcube
+pkgver=17.08.1
+pkgrel=0
+pkgdesc="Dice-driven tactical game"
+url="https://games.kde.org/game.php?game=kjumpingcube"
+arch="all"
+license="GPL-2.0"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
+ kcoreaddons-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kio-dev
+ kdoctools-dev ki18n-dev kxmlgui-dev kwidgetsaddons-dev libkdegames-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kjumpingcube-$pkgver.tar.xz"
+builddir="$srcdir/kjumpingcube-$pkgver"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="59449611d80b544f600abf6524e1469ef6d4d7d86c1bca1a0f19a503584028db4b0aeb948c64ec5a5f04677b38a2dc92899263c7d42416af4b21c2b6ee699a55 kjumpingcube-17.08.1.tar.xz"