aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aisleriot/APKBUILD
blob: de683514ecf6b32aa35df1cd94c776c177188bcc (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
29
30
31
32
33
34
35
36
37
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
pkgname="aisleriot"
pkgver="3.22.10"
pkgrel=1
pkgdesc="Solitaire and other card games for GNOME"
url="https://wiki.gnome.org/Apps/Aisleriot"
arch="all !s390x"
license="GPL-3.0-or-later"
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=debugoptimized \
		-D theme_kde=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="c041fcf51949b5e0b6e0a1efb5665e0853537694e5fc35ac15f4f41d6133c56e078fcd92710da0cce957432883a7cea636698c3fc4e83e54262c25273c551eb3  aisleriot-3.22.10.tar.gz
9db40fb258e8d70de8d1763eaf08fc1c9b79291efff8018556f2a18d40dd66c0f73b37083199bee6e41130766b91b124e539afed2a8ccde8105e34a0bc8f1f43  fix-bash-shebang.patch"