summaryrefslogtreecommitdiff
path: root/user/kblocks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kblocks/APKBUILD')
-rw-r--r--user/kblocks/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kblocks/APKBUILD b/user/kblocks/APKBUILD
index 49da3c3ba..1e0d2a57f 100644
--- a/user/kblocks/APKBUILD
+++ b/user/kblocks/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kblocks
-pkgver=19.08.2
+pkgver=19.12.1
pkgrel=0
pkgdesc="Falling blocks game"
url="https://www.kde.org/applications/games/kblocks/"
@@ -12,10 +12,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev
kdbusaddons-dev kwidgetsaddons-dev kxmlgui-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kblocks-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kblocks-$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="369d447665908bbdf47e7363d47312cd916bfcd89cb0354be6c15e9a749632d229bce3d8084a2b497cc7dcdd49e4b35cc313a3c8dabd82d93a994e43612e4cf2 kblocks-19.08.2.tar.xz"
+sha512sums="cab155ee1268e2103dac1c9c8cdd51183ffa32fb70781ed157a0a09720aeeaf136cdaea856e7f89a34261d2925bd4d804d00e53227a482817f4f00ccd73e4e77 kblocks-19.12.1.tar.xz"