void-packages/srcpkgs/pysolfc/template
2020-10-10 10:21:15 -04:00

23 lines
820 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.10.1
revision=2
wrksrc="PySolFC-${pkgname}-${version}"
build_style=python3-module
hostmakedepends="gettext python3-pygame python3-random2 python3-six
python3-tkinter python3-Pillow python3-attrs python3-pysol_cards"
depends="pysolfc-cardsets ${hostmakedepends} python3-configobj"
short_desc="Python solitaire game collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://pysolfc.sourceforge.net/"
distfiles="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz"
checksum=50f5f84c0621ddc1e2495fdc73524a42c0f686f946a95c64c6a3a093ef0ffe4a
post_build() {
make mo rules
}
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop
}