aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-chess/APKBUILD
blob: 6933dfe428b0adb624d72e6b8aececc78a12cc12 (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
31
32
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-chess
pkgver=3.34.0
pkgrel=1
arch="all !s390x" # Blocked by librsvg -> rust
url="https://wiki.gnome.org/Apps/Chess"
pkgdesc="Play the classic two-player boardgame of chess"
license="GPL-3.0-or-later"
makedepends="meson ninja itstool vala gtk+3.0-dev librsvg-dev"
source="https://download.gnome.org/sources/gnome-chess/${pkgver%.*}/gnome-chess-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=debugoptimized \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="dcd4c2cfb0ebb5d3481bb6f722ac847cb8976e31352286a245457a62291445f50ad86ce26a37c222112801dc807bb567ed4d71d2d6ccb1628c2cab0767445012  gnome-chess-3.34.0.tar.xz"