diff options
Diffstat (limited to 'community/kapman')
-rw-r--r-- | community/kapman/APKBUILD | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/community/kapman/APKBUILD b/community/kapman/APKBUILD index 2153c030e50..07357c91869 100644 --- a/community/kapman/APKBUILD +++ b/community/kapman/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=kapman -pkgver=20.12.2 +pkgver=24.02.2 pkgrel=0 # armhf blocked by extra-cmake-modules -# s390x blocked by kconfigwidgets -arch="all !armhf !s390x !mips64" +arch="all !armhf" url="https://kde.org/applications/games/org.kde.kapman" pkgdesc="A clone of the well known game Pac-Man" license="GPL-2.0-or-later AND GFDL-1.2-only" @@ -21,28 +23,30 @@ makedepends=" ki18n-dev kxmlgui-dev libkdegames-dev - qt5-qtbase-dev - qt5-qtsvg-dev + qt6-qtbase-dev + qt6-qtsvg-dev + samurai " -source="https://download.kde.org/stable/release-service/$pkgver/src/kapman-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests +_repo_url="https://invent.kde.org/games/kapman.git" +source="https://download.kde.org/stable/release-service/$pkgver/src/kapman-$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() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="7dc86ca1c5c77289dcbdac784ba07e2597aa34fd938149a902fbdb8cfea998ff534cc5d3b2637eebecf358e160897b5175cec53a13fa0ff85d887d3853bb50a5 kapman-20.12.2.tar.xz" +sha512sums=" +a78f345a126cf9553fe1793189e04520e6eef749fb29549d7e9c9c40057c8e2e532151b9df11de152f1528ad6558463698f8e004c396626c52bd1806f5c391df kapman-24.02.2.tar.xz +" |