102.11.0-1
[arch-packages.git] / knights / trunk / PKGBUILD
blob19193a6b6cf701b07c0e89b00aed2c49756eedc4
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=knights
4 pkgver=23.04.1
5 pkgrel=1
6 pkgdesc='Chess board by KDE with XBoard protocol support'
7 arch=(x86_64)
8 url='https://apps.kde.org/knights/'
9 license=(GPL LGPL FDL)
10 groups=(kde-applications kde-games)
11 depends=(libkdegames kplotting plasma-framework hicolor-icon-theme)
12 optdepends=('gnuchess: for playing against the computer')
13 makedepends=(extra-cmake-modules kdoctools)
14 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
15 sha256sums=('6f79e689dc545628f85e393a63d1d11bf56461ccbc2b37e5a58a9a37f22ecf7a'
16             'SKIP')
17 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
18               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
19               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
21 build() {
22   cmake -B build -S $pkgname-$pkgver \
23     -DBUILD_TESTING=OFF   
24   cmake --build build
27 package() {
28   DESTDIR="$pkgdir" cmake --install build