mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
54 lines
1.3 KiB
Plaintext
54 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=kblocks
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
pkgdesc="The classic falling blocks game"
|
|
url="https://kde.org/applications/games/kblocks/"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="all !armhf"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kconfig5-dev
|
|
kconfigwidgets5-dev
|
|
kcoreaddons5-dev
|
|
kcrash5-dev
|
|
kdbusaddons5-dev
|
|
kdoctools5-dev
|
|
ki18n5-dev
|
|
kwidgetsaddons5-dev
|
|
kxmlgui5-dev
|
|
libkdegames-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtsvg-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/games/kblocks.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/kblocks-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
aa8d3e53ab4020c473bd87a68e83034dfd72cf98b4239dad15cc1f23de1a7fb2c296297f38af961df54cdf0afa8046f2cc8dbe8e35e44c8dd93358e8c5477b7f kblocks-23.08.3.tar.xz
|
|
"
|