summaryrefslogtreecommitdiff
path: root/user/libkdegames/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libkdegames/APKBUILD')
-rw-r--r--user/libkdegames/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/libkdegames/APKBUILD b/user/libkdegames/APKBUILD
index a4c0db71a..d527985e5 100644
--- a/user/libkdegames/APKBUILD
+++ b/user/libkdegames/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libkdegames
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Library for common routines shared between KDE games"
url="https://www.kde.org/applications/games/"
@@ -18,10 +18,9 @@ makedepends="$depends_dev cmake extra-cmake-modules qt5-qtsvg-dev
kitemviews-dev kjobwidgets-dev knewstuff-dev kservice-dev kxmlgui-dev
ktextwidgets-dev kwidgetsaddons-dev"
subpackages="$pkgname-dev $pkgname-lang $pkgname-carddecks::noarch"
-source="https://download.kde.org/stable/applications/$pkgver/src/libkdegames-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/libkdegames-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -32,17 +31,15 @@ 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
# causes crashes in KPat:
@@ -63,4 +60,4 @@ carddecks() {
mv "$pkgdir"/usr/share/carddecks "$subpkgdir"/usr/share/
}
-sha512sums="68ffcd6696b903c0d701996ead9f05ea2d35d72871840cb11ed05d9034bd2cc89017e5ef8fb8508452446075ed157dc6cbcda32762ed5d79ff35bf9e070c7b67 libkdegames-19.08.2.tar.xz"
+sha512sums="7e3fdc24fb7f7e906b1f25ec8ca4181406389af81712f7b3d0881c354ebaf49e8c6234ec227036aa47843d5175a24b7c1a651e3f11ea83872453e0e3feb9d2e7 libkdegames-19.12.0.tar.xz"