blob: c3c155f6137b009196a3d93b6afcd33ebbc9d19c (
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=40.0
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 gtk4.0-dev librsvg-dev"
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="e9ee288311578e5035506c49032b4dbbdc56270ab23293ed5a56d69baacb5f0e72b0a8dfafaabad4f7f9e351342fef0405bbe97110ac134c9ab4287c7f7fe7a6 gnome-chess-40.0.tar.xz"
|