summaryrefslogtreecommitdiff
path: root/user/kgeography/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kgeography/APKBUILD')
-rw-r--r--user/kgeography/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kgeography/APKBUILD b/user/kgeography/APKBUILD
index 6af6620a6..88049b155 100644
--- a/user/kgeography/APKBUILD
+++ b/user/kgeography/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kgeography
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Geography learning tool and trainer"
url="https://www.kde.org/applications/education/kgeography/"
@@ -12,10 +12,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kcrash-dev
kwidgetsaddons-dev kcoreaddons-dev kconfigwidgets-dev ki18n-dev
kitemviews-dev kiconthemes-dev kdoctools-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kgeography-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kgeography-$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="7eba48bf95972a4733ece313f3553af8e76bb3ff2de29c0154ee98e75e1561191f2b1d0d5c53ce7c7cb8ed11f74cedb28fb1c68a6c25aaf96ac8324dec5c9ca0 kgeography-19.08.2.tar.xz"
+sha512sums="3cd4bfeba0ff82e14530848d3e48d89519efd72f8c332689bf5ccebde520048bee57df8f2f838eeeaa3d873e941850b7ca82a8d97aa4b77c8a747e5fee216261 kgeography-19.12.0.tar.xz"