aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-chess/APKBUILD
blob: 9d8602f5cf815700a42a486655c07fb826cde23a (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-chess
pkgver=3.37.3
pkgrel=0
arch="all !s390x !mips !mips64" # 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"
checkdepends="appstream-glib"
source="https://download.gnome.org/sources/gnome-chess/${pkgver%.*}/gnome-chess-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b18eca5172924000a96a8c5356e4be8a1366870ed0ad7eb2137f9180da6b8ab32be6d0850bbb8acb9af2e99ce7294cfe45798f1b0f3cfc55ff428272b162f75d  gnome-chess-3.37.3.tar.xz"