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

50 lines
1.3 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=knights
pkgver=25.04.0
pkgrel=0
pkgdesc="Chess board by KDE with XBoard protocol support"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://www.kde.org/applications/games/knights/"
license="GPL-2.0-or-later"
makedepends="
extra-cmake-modules
kconfigwidgets-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
kio-dev
kplotting-dev
ktextwidgets-dev
kwallet-dev
kxmlgui-dev
libkdegames-dev
libplasma-dev
qt6-qtbase-dev
qt6-qtsvg-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/games/knights.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/knights-$pkgver.tar.xz"
options="!check" # No tests
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="
e3ce4b84f599534b030852a69dd1162294c7495df8655935abd834107a345a5f1ad03aca5eed3fba96532084c6a7c3084c20097e0554920d03de88d66b4f925a knights-25.04.0.tar.xz
"