summaryrefslogtreecommitdiff
path: root/user/kmahjongg
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-31 18:51:55 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-31 18:51:55 +0000
commit26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce (patch)
treecf354b8455ac23203e1af2f92855d1dfd75fab30 /user/kmahjongg
parented5c897462a687dc046b4cdcda69f8d108e1b28c (diff)
downloadpackages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.gz
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.bz2
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.tar.xz
packages-26f7c605a6e0d82dd20111c6da9a6f3270e9b0ce.zip
user/[KDE Games]: Bump to 19.12.0
Excludes user/kpat, which requires a bunch of Perl packages.
Diffstat (limited to 'user/kmahjongg')
-rw-r--r--user/kmahjongg/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kmahjongg/APKBUILD b/user/kmahjongg/APKBUILD
index 06779b2f7..efcd21fa4 100644
--- a/user/kmahjongg/APKBUILD
+++ b/user/kmahjongg/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kmahjongg
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Mah Jongg desktop game"
url="https://games.kde.org/game.php?game=kmahjongg"
@@ -12,10 +12,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
kcoreaddons-dev kcrash-dev kdbusaddons-dev kdeclarative-dev kxmlgui-dev
kdoctools-dev knewstuff-dev libkdegames-dev libkmahjongg-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kmahjongg-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kmahjongg-$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="be220ff401ea1de3ffd18a9db4e3a40ab1d8cf43e016c8c3891f31dc68ed8bfff0df7c5e5fe580afd0818ad23b1248c971d8fc0f2fa2dd044711a2d73cdb06e6 kmahjongg-19.08.2.tar.xz"
+sha512sums="8340e711c27048a5d308079e2c0a70d048c88aa5d7af660d8c24a5ee47252557babc4f1321f15f72c6c3cee17675887468c239aee936ad4f583cc91e92182896 kmahjongg-19.12.0.tar.xz"