summaryrefslogtreecommitdiff
path: root/user/ksirk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ksirk/APKBUILD')
-rw-r--r--user/ksirk/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/ksirk/APKBUILD b/user/ksirk/APKBUILD
index b45542d0e..a5d82d313 100644
--- a/user/ksirk/APKBUILD
+++ b/user/ksirk/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ksirk
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Strategy game from KDE"
url="https://www.kde.org/applications/games/ksirk/"
@@ -14,10 +14,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev
knewstuff-dev kwallet-dev kwidgetsaddons-dev kxmlgui-dev
libkdegames-dev phonon-dev qca-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/ksirk-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/ksirk-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -28,18 +27,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="0ea7566e2de52424e568bba254e4380ce64b943fe212f7a877dc054ac871ff0daef8a9d592bd69fef140e2aacbc07c36244f83bde99b5da636452bf8ac3694c6 ksirk-19.08.2.tar.xz"
+sha512sums="1d11c1199c00a35221b5367881a8fcc06f6f8ee64ede47cdae3ada76d9ad9f55d9f42c81c9838cef17d4b6d8d9eaa31593a9409b892b75fd0b4491b3ddfc2337 ksirk-19.12.0.tar.xz"