summaryrefslogtreecommitdiff
path: root/user/ksnakeduel
diff options
context:
space:
mode:
Diffstat (limited to 'user/ksnakeduel')
-rw-r--r--user/ksnakeduel/APKBUILD11
-rw-r--r--user/ksnakeduel/ridiculous-qt.patch11
2 files changed, 4 insertions, 18 deletions
diff --git a/user/ksnakeduel/APKBUILD b/user/ksnakeduel/APKBUILD
index 4c53a9c91..c8340b11f 100644
--- a/user/ksnakeduel/APKBUILD
+++ b/user/ksnakeduel/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ksnakeduel
-pkgver=19.08.2
+pkgver=19.12.3
pkgrel=0
pkgdesc="Tron-like game"
url="https://www.kde.org/applications/games/ksnakeduel/"
@@ -13,9 +13,7 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
kdbusaddons-dev kguiaddons-dev kwidgetsaddons-dev kxmlgui-dev
libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/ksnakeduel-$pkgver.tar.xz
- ridiculous-qt.patch
- "
+source="https://download.kde.org/stable/release-service/$pkgver/src/ksnakeduel-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -28,7 +26,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
@@ -40,5 +38,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="ed410956fd369e5e2a170ba1e9fabc952f7d50ff5d1053cf570d39ce14d356e3da946b975ff3761f54ec50f47de049c48b9fc990795ab92a0f6f32b98a6b0d6e ksnakeduel-19.08.2.tar.xz
-8f21639ca5b17f6b0bd5d76c65fb59e29c9e8b6cceb95d2c86795b9f20d6d282926c75e0eaba2b1878a0bd9698c1d7326b549e4a2f8c7802254a1d516672fcbb ridiculous-qt.patch"
+sha512sums="d3923b4614a9134595aeca0d831f473b39ea94651bd2a997b3cafc98feda141991dec273becc1dfaa9cf8651fc2a7bd13fea31b84529ca0d4966a6dd84d30da6 ksnakeduel-19.12.3.tar.xz"
diff --git a/user/ksnakeduel/ridiculous-qt.patch b/user/ksnakeduel/ridiculous-qt.patch
deleted file mode 100644
index 14cc95264..000000000
--- a/user/ksnakeduel/ridiculous-qt.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ksnakeduel-19.08.0/CMakeLists.txt.old 2019-08-09 00:30:10.000000000 +0000
-+++ ksnakeduel-19.08.0/CMakeLists.txt 2019-08-15 13:12:41.473994535 +0000
-@@ -1,7 +1,7 @@
- cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
- project(ksnakeduel)
-
--set (QT_MIN_VERSION "5.10.0")
-+set (QT_MIN_VERSION "5.9.0")
- set (KF5_MIN_VERSION "5.40.0")
-
- find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)