aports/community/kbounce/APKBUILD
2024-09-13 13:50:51 +00:00

55 lines
1.3 KiB
Plaintext

# Contributor: 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=kbounce
pkgver=24.08.1
pkgrel=0
pkgdesc="A single player arcade game with the elements of puzzle"
url="https://kde.org/applications/games/kbounce/"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
ki18n-dev
kio-dev
kwidgetsaddons-dev
kxmlgui-dev
libkdegames-dev
qt6-qtbase-dev
qt6-qtsvg-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/games/kbounce.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kbounce-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
875a0a3ec4e5b2746f49f989b441a6b91fd034ed0544a4e6c5a21ea2b69e3f857313f4da5d7a4b2b5ca0198a9a17a2d3f87a27c9955ae538efc984359481f281 kbounce-24.08.1.tar.xz
"