summaryrefslogtreecommitdiff
path: root/community/gnome-chess/APKBUILD
blob: 405bf6dd1d32fe27d707091e3955f7ba2065f967 (plain)
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
34
35
36
37
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-chess
pkgver=42.1
pkgrel=0
arch="all !s390x !riscv64" # limited 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="
	gtk4.0-dev
	itstool
	libadwaita-dev
	librsvg-dev
	meson
	vala
	"
checkdepends="desktop-file-utils"
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="
ab84744910fbf65d50cadb7f63b9e5a5fd4af103adbacd349680c65ae70374ce9766e715656891ae8987ba3c6a694dd632b9154233a417b86a1eeacad875a61d  gnome-chess-42.1.tar.xz
"