summaryrefslogtreecommitdiff
path: root/user/ksquares/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ksquares/APKBUILD')
-rw-r--r--user/ksquares/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/ksquares/APKBUILD b/user/ksquares/APKBUILD
index 76fb0c525..f81053243 100644
--- a/user/ksquares/APKBUILD
+++ b/user/ksquares/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ksquares
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Fun and exciting game of Dots and Boxes"
url="https://games.kde.org/game.php?game=ksquares"
@@ -12,10 +12,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfigwidgets-dev
kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev
ki18n-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/ksquares-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/ksquares-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -26,18 +25,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="fcab0d15f48f0b72d005828ea014ede23c7ceb1949fada90580a9f83f7f6096a240612019080516c67496a99d1a831858c37a829eec864b90f42a5595bb9a711 ksquares-19.08.2.tar.xz"
+sha512sums="3b5a508c6c3f37129281faeb49eee8bd521012bc91529839bd49553dec580207820ba1383b339a7cab878e7d03de59b246d25b4b7821381c3c265234ad259f34 ksquares-19.12.0.tar.xz"