aboutsummaryrefslogtreecommitdiffstats
path: root/community/kjumpingcube/APKBUILD
blob: 14feb982aedea4890a0fbbee87a4ff90ae0db909 (plain) (blame)
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.12.2
pkgrel=0
pkgdesc="A simple tactical game"
arch="all !armhf !mips !mips64 !s390x" # armhf blocked by extra-cmake-modules, everything else by rust
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="8aef80d512d6aaada8f68dd55ce85d490aa23bcd86d203d98f7a7819f7ebdd39a77f8ced0c9dcc06ac6d8207d5cb4ac97c39f582867324234bf62feed1f1e2d7  kjumpingcube-20.12.2.tar.xz"