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