aports/community/klines/APKBUILD
2025-04-24 20:45:31 +02:00

49 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=klines
pkgver=25.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/games/klines/"
pkgdesc="A simple but highly addictive one player game"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
ki18n-dev
kwidgetsaddons-dev
kxmlgui-dev
libkdegames-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/games/klines.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/klines-$pkgver.tar.xz"
# No tests
options="!check"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
dfe01bf2dc3c2c5c48225b06c5a0467232a9e64b157dc7357ea9baa9f290e2f597acb22c9b59871d745bada60c4a5e674e528ce5195ab6da35104a6e5ef73236 klines-25.04.0.tar.xz
"