aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bovo/APKBUILD
blob: 45161096c5dd757a2cc16637fe45fb782a092a55 (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
28
29
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=bovo
pkgver=19.12.2
pkgrel=0
arch="all !armhf"
url="https://kde.org/applications/games/org.kde.bovo"
pkgdesc="A Gomoku like game for two players"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kxmlgui-dev libkdegames-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="288d6f28aba818745e0bdc7577774c76e942ddcc90dd5b20b1f919544bbba66c1447306a881952442a364cea14d08fb2f30d6f1f6cca28d6270ea5f772f6048f  bovo-19.12.2.tar.xz"