aboutsummaryrefslogtreecommitdiffstats
path: root/community/knights/APKBUILD
blob: d1e5d4951c9a43cc78af1dd421c26042f6ee2d49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=knights
pkgver=20.12.2
pkgrel=0
pkgdesc="Chess board by KDE with XBoard protocol support"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
url="https://www.kde.org/applications/games/knights/"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kdbusaddons-dev kconfigwidgets-dev kcrash-dev ktextwidgets-dev kxmlgui-dev kio-dev kplotting-dev kdoctools-dev kwallet-dev plasma-framework-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/knights-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="6e96403c3e7e5697e4f1993a32c686897c4fbe9a81c4c94f7999bdabaa7febc71b8c4abd5bc62d3a149154bc5417e109f95a7ddcd28b44141ac508420ba3906f  knights-20.12.2.tar.xz"