aports/community/killbots/APKBUILD
2025-04-24 20:45:31 +02:00

50 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=killbots
pkgver=25.04.0
pkgrel=0
pkgdesc="A simple game of evading killer robots"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/games/killbots/"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
ki18n-dev
kwidgetsaddons-dev
kxmlgui-dev
libkdegames-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/games/killbots.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/killbots-$pkgver.tar.xz"
# No tests
options="!check"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
dd3df8bc41bb248a47455c36dee35bb54846659a475dc28fec9493c06759c4035eb44b6b352844ca62480cb9f09b39007961352c969167a013ded4e119c138fc killbots-25.04.0.tar.xz
"