summaryrefslogtreecommitdiff
path: root/user/killbots/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/killbots/APKBUILD')
-rw-r--r--user/killbots/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/killbots/APKBUILD b/user/killbots/APKBUILD
index bff752525..1a36594fa 100644
--- a/user/killbots/APKBUILD
+++ b/user/killbots/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=killbots
-pkgver=19.08.0
+pkgver=22.04.2
pkgrel=0
pkgdesc="Simple game of evading killer robots"
url="https://www.kde.org/applications/games/killbots/"
@@ -13,10 +13,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev
kxmlgui-dev kcompletion-dev kdoctools-dev kdbusaddons-dev
libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/killbots-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/killbots-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -27,18 +26,16 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="dd02cb050c065cfd3af0efa850c9ddce6ab852d96254a861e924321df6c316f0803ab6abe6c6d61dd7aa254653a625a973f52889381346a0e4229eac09693044 killbots-19.08.0.tar.xz"
+sha512sums="5b635fc6383ed78ad05c0b9585c4188b6ac1143329124789963b495d5499a017ca556a992dfc9937434cf8cb46ab2db6d44dc7ee29eb581e69323bb370a74d5a killbots-22.04.2.tar.xz"