aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-chess/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-27 22:17:29 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-28 04:12:44 +0100
commitcad6e64e15de34d7b286e3cf22a3b0e67f61c6cb (patch)
treed6c3d702faeeb7ce591517fe76b50459a9f7112c /testing/gnome-chess/APKBUILD
parent433c35109b41ac348d2f757974058f31795ebfee (diff)
downloadaports-cad6e64e15de34d7b286e3cf22a3b0e67f61c6cb.tar.gz
aports-cad6e64e15de34d7b286e3cf22a3b0e67f61c6cb.tar.bz2
aports-cad6e64e15de34d7b286e3cf22a3b0e67f61c6cb.tar.xz
testing/gnome-chess: new aport
Diffstat (limited to 'testing/gnome-chess/APKBUILD')
-rw-r--r--testing/gnome-chess/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/gnome-chess/APKBUILD b/testing/gnome-chess/APKBUILD
new file mode 100644
index 0000000000..965e6087f7
--- /dev/null
+++ b/testing/gnome-chess/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-chess
+pkgver=3.34.0
+pkgrel=0
+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=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja install -C output
+}
+
+sha512sums="dcd4c2cfb0ebb5d3481bb6f722ac847cb8976e31352286a245457a62291445f50ad86ce26a37c222112801dc807bb567ed4d71d2d6ccb1628c2cab0767445012 gnome-chess-3.34.0.tar.xz"