# Template file for 'aisleriot'
pkgname=aisleriot
version=3.22.6
revision=1
_pysol_cardsets=PySolFC-Cardsets
_pysol_ver=2.0
build_style=gnu-configure
configure_args="--with-pysol-card-theme-path=${XBPS_BUILDDIR}/${_pysol_cardsets}-${_pysol_ver}"
hostmakedepends="desktop-file-utils glib-devel guile intltool itstool pkg-config"
makedepends="GConf-devel gc-devel guile-devel libcanberra-devel librsvg-devel"
depends="aisleriot-data guile"
short_desc="GNOME solitaire card game"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Aisleriot"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz
 http://distfiles.voidlinux.de/${_pysol_cardsets}-${_pysol_ver}/${_pysol_cardsets}-${_pysol_ver}.tar.bz2"
checksum="239a707175bbf78c081dafb71b8cd124e08190a5cd865360d9e0cc3c167e5aa0
 c388d6360191b3b7e463d84e5a64260c4e3ed36e791a85227d7e8923f3f47ca7"

aisleriot-data_package() {
	short_desc+=" - data"
	noarch=yes
	pkg_install() {
		vmove usr/share
	}
}
