summaryrefslogtreecommitdiff
path: root/user/libkmahjongg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libkmahjongg/APKBUILD')
-rw-r--r--user/libkmahjongg/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/libkmahjongg/APKBUILD b/user/libkmahjongg/APKBUILD
index 9524cb848..4fad728af 100644
--- a/user/libkmahjongg/APKBUILD
+++ b/user/libkmahjongg/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libkmahjongg
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Library with Mah Jongg logic"
url="https://www.kde.org/"
@@ -12,10 +12,9 @@ depends_dev="qt5-qtbase-dev kconfig-dev kconfigwidgets-dev"
makedepends="$depends_dev cmake extra-cmake-modules qt5-qtsvg-dev ki18n-dev
kcompletion-dev kcoreaddons-dev kwidgetsaddons-dev"
subpackages="$pkgname-dev $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/libkmahjongg-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/libkmahjongg-$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="63f2479283756e3d51caf604547565da0fd2edab3737e77faf9148290ddeeb1f0517250988d20a936cee55716acd1e01a536e4b73332685f25f3df5cc235e4e1 libkmahjongg-19.08.2.tar.xz"
+sha512sums="5aa9f11fba830c42a4d6585000148ec06e62eb7e0c12ab08016db23e2c128289830401082894aabf01ffd04f92ccf0b6b0f49a13b0f251015660be075a56a988 libkmahjongg-19.12.0.tar.xz"