# Contributor: Antoine Fontaine # Maintainer: Antoine Fontaine 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"