summaryrefslogtreecommitdiff
path: root/user/kreversi
diff options
context:
space:
mode:
Diffstat (limited to 'user/kreversi')
-rw-r--r--user/kreversi/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kreversi/APKBUILD b/user/kreversi/APKBUILD
index 422e37922..ab645ee91 100644
--- a/user/kreversi/APKBUILD
+++ b/user/kreversi/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kreversi
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Reversi game"
url="https://games.kde.org/game.php?game=kreversi"
@@ -13,10 +13,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
kdbusaddons-dev kdeclarative-dev ki18n-dev kiconthemes-dev kio-dev
kxmlgui-dev kwidgetsaddons-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kreversi-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kreversi-$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="c32bc80bc05133cbf10c59cba7d661ecdf25d5119857219ff72f3f0e583e1c96995e42256aa784fbe26bb34f060c1782edc8d8071451e9a827ea71cdf19512a5 kreversi-19.08.2.tar.xz"
+sha512sums="552022e5c844f0929febe51ca6770e843badba9692eb225e5c44c2cd5ba6fd19b6c70583ad570fd0c902b9b182759ea7ef21af89c70708aa3cb250411048a912 kreversi-19.12.0.tar.xz"