summaryrefslogtreecommitdiff
path: root/user/knetwalk/APKBUILD
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/knetwalk/APKBUILD
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/knetwalk/APKBUILD')
-rw-r--r--user/knetwalk/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/knetwalk/APKBUILD b/user/knetwalk/APKBUILD
index d3bc4df61..f73e42360 100644
--- a/user/knetwalk/APKBUILD
+++ b/user/knetwalk/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=knetwalk
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Build up a computer network by placing the wires correctly"
url="https://www.kde.org/applications/games/knetwalk/"
@@ -13,10 +13,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
kdbusaddons-dev ki18n-dev ktextwidgets-dev kwidgetsaddons-dev
kxmlgui-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/knetwalk-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/knetwalk-$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="b19c846f0d2c909f0f84d0bc04c10306761ea202ab24f9f11ddc03daede7dd01f182f25e172043d7e65b43027235b255815f4fb0a6709d1d5aee28657c0047d9 knetwalk-19.08.2.tar.xz"
+sha512sums="1e2f636699571bbf02ee49f260c4e7d5d7dcf1da1861a87e2d2091cbf52ec7a1f60e954f449aeb5d45641c86a65752168d501478477a9ed426184d472ae26065 knetwalk-19.12.0.tar.xz"