aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kjumpingcube/APKBUILD
blob: eb5ad7e876c06147c56ebb21c2fff54e1976d0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kjumpingcube
pkgver=20.04.2
pkgrel=0
pkgdesc="A simple tactical game"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kjumpingcube/"
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 kconfigwidgets-dev kcrash-dev kdbusaddons-dev kdoctools-dev kio-dev ki18n-dev kxmlgui-dev kwidgetsaddons-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kjumpingcube-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="ca38c7508518be4c6c6e155a092ce282fd563614d2c539c75266e7330577262a05014bbe392232b038c9d77cca7bc6979eb9dbfc4badcf576c7962a1b4273749  kjumpingcube-20.04.2.tar.xz"