aboutsummaryrefslogtreecommitdiffstats
path: root/community/kjumpingcube/APKBUILD
blob: 89a6579472b12e7a846fe7c5f0bd2f30cb68b8ca (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.1
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="3b3670a647492ddf42ebcf6c2817b4165ab2301f167edee4118e540c9ff37d7ed5fb269295556a4e0ffc37a34e8e26ed791ac64873dec4a3e30e848afa50bd29  kjumpingcube-20.12.1.tar.xz"