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 f60c0ade6..8198f2596 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.2
+pkgver=19.12.0
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="e2891b1fa00f57bd2fbc2308dd4df7625e43ecbf089644bebf47923c5c8c1cf2aa57ce4b3f584371b4c5f22953f0ba4fb331277a5d9ef2a7df051f7d3f22bc11 killbots-19.08.2.tar.xz"
+sha512sums="8e6b420b0ea1521461f304ad7b79718ee24949e95a173c6202dfbfef9031e50dba74851a75e2136a7a23971930488ba423ebe0079506c489200a0dac921c73e8 killbots-19.12.0.tar.xz"