aboutsummaryrefslogtreecommitdiffstats
path: root/community/kgoldrunner/APKBUILD
blob: 0c5fabfaafef450dec3414d763b6efdc58bc7d28 (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=kgoldrunner
pkgver=20.12.1
pkgrel=0
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/games/kgoldrunner/"
pkgdesc="A game of action and puzzle solving"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kio-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kgoldrunner-$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="5eec8b997ed0c80a1ad05f81fa09be93c7205b3381ae786a1d15727c417172b7751b9ba42a66592d15c0a0ea543c490422b4cbfe77c11270f398a64aceb22cf8  kgoldrunner-20.12.1.tar.xz"