diff options
Diffstat (limited to 'community/kgeography/APKBUILD')
-rw-r--r-- | community/kgeography/APKBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/community/kgeography/APKBUILD b/community/kgeography/APKBUILD index 0b9e0bec28a..1d9f82c3362 100644 --- a/community/kgeography/APKBUILD +++ b/community/kgeography/APKBUILD @@ -1,11 +1,13 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-applications pkgname=kgeography -pkgver=21.04.3 +pkgver=24.02.2 pkgrel=0 # armhf blocked by extra-cmake-modules -# s390x, mips64 and riscv64 blocked by polkit -> kxmlgui -arch="all !armhf !s390x !mips64 !riscv64" +arch="all !armhf" url="https://edu.kde.org/kgeography" pkgdesc="Geography Trainer" license="GPL-2.0-or-later" @@ -20,23 +22,23 @@ makedepends=" kitemviews-dev kwidgetsaddons-dev kxmlgui-dev - qt5-qtbase-dev + qt6-qtbase-dev + samurai " -source="https://download.kde.org/stable/release-service/$pkgver/src/kgeography-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests +_repo_url="https://invent.kde.org/education/kgeography.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kgeography-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + ctest --test-dir build --output-on-failure } package() { @@ -44,5 +46,5 @@ package() { } sha512sums=" -92be1d653d4b7019bff9018cc9bfe4550326ff4aebf1d63d5b5752cc6b0169d34a8613837ed7e8c27dca827cfa27ae1035de96a2dd1cf0346a3bd2aa4f0126f3 kgeography-21.04.3.tar.xz +6010f5883ca5866442e8aa13045e60f332d2fc81683fb85f7597f4e0c8fc83805236a494ef9d06b9f04101cfe31086ae950b22e3b263570e1b8ac5e079fc9a43 kgeography-24.02.2.tar.xz " |