aboutsummaryrefslogtreecommitdiffstats
path: root/community/kigo/APKBUILD
blob: fe9c789d1ef1ab48dd9a509f30a15d040803bf18 (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=kigo
pkgver=20.12.2
pkgrel=0
pkgdesc="An open-source implementation of the popular Go game"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules, s390x by so:libKF5ConfigWidgets.so.5
url="https://kde.org/applications/games/kigo/"
license="LicenseRef-KDE-Accepted-GPL AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kconfig-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kconfigwidgets-dev ktextwidgets-dev kxmlgui-dev kio-dev knewstuff-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kigo-$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="90d55c9b90791371713748397509d8784c38d34fbb60bba2a9d60936c990a50a9a79534cfbac86433e6e402e938034bc02346d55f4a58e6017ae86048c865d6b  kigo-20.12.2.tar.xz"