25 lines
809 B
Bash
25 lines
809 B
Bash
# Template file for 'pysolfc'
|
|
pkgname=pysolfc
|
|
version=2.21.0
|
|
revision=2
|
|
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"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python solitaire game collection"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://pysolfc.sourceforge.io/"
|
|
distfiles="https://github.com/shlomif/PySolFC/archive/pysolfc-${version}.tar.gz"
|
|
checksum=c3e5b2b7ab955e1f0c1cb8d0ab6d92c4b9468ef022942bbecf6b8234664de7b2
|
|
|
|
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
|
|
}
|