aboutsummaryrefslogtreecommitdiffstats
path: root/community/aisleriot/APKBUILD
blob: 5f8d47b72a7c7537689506e781efa5a45edaccb9 (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
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
pkgname=aisleriot
pkgver=3.22.11
pkgrel=0
pkgdesc="Solitaire and other card games for GNOME"
url="https://wiki.gnome.org/Apps/Aisleriot"
arch="all !s390x !mips !mips64" # librsvg
license="GPL-3.0-or-later"
depends="guile"
makedepends="meson bash librsvg-dev guile-dev libxml2 libxml2-dev libxml2-utils
	itstool gtk+3.0-dev libcanberra-dev gmp-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/$pkgver/aisleriot-$pkgver.tar.gz
	fix-bash-shebang.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-D theme_kde=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="234f57cb6a37267f46af6fc069f00dc517dee3d24155edff5df2bd0d65e43878fb31685862e3bf1ccb508b71e3627a723ec304474faa0156b9dc08cfbe758cd3  aisleriot-3.22.11.tar.gz
9db40fb258e8d70de8d1763eaf08fc1c9b79291efff8018556f2a18d40dd66c0f73b37083199bee6e41130766b91b124e539afed2a8ccde8105e34a0bc8f1f43  fix-bash-shebang.patch"