archrelease: copy trunk to staging-x86_64
[arch-packages.git] / knights / repos / extra-x86_64 / PKGBUILD
blob66824884ec9d890d19555b599ad35c9636a23ad8
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=knights
4 pkgver=23.04.0
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=('067f470c3e8168e1e0f78981b193e97dae45d7532bdd9b5c104087336a809825'
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