summaryrefslogtreecommitdiff
path: root/community/aisleriot/APKBUILD
blob: d170d01f3e55619b6e78048f79a700b8c18cc449 (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
38
39
40
41
42
43
44
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer:
pkgname=aisleriot
pkgver=3.22.29
pkgrel=1
pkgdesc="Solitaire and other card games for GNOME"
url="https://wiki.gnome.org/Apps/Aisleriot"
arch="all"
license="GPL-3.0-or-later"
options="!strip" # guille libraries cannot be stripped
depends="guile"
depends_doc="yelp"
makedepends="
	bash
	gmp-dev
	gtk+3.0-dev
	guile-dev
	itstool
	libcanberra-dev
	librsvg-dev
	libxml2-dev
	meson
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/$pkgver/aisleriot-$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dtheme_kde=false \
		. output
	meson compile -C output
}

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

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

sha512sums="
4a01685d332d20f27a0d0c9e623f4d684be999f6c57e2884d35822e2a5b919eefb263f062b041e9f30a0c4cd73bd6d2a0df312b3f5da6d6c73004c00ca0e9dcf  aisleriot-3.22.29.tar.gz
"