pysolfc: update to 2.20.0.

This commit is contained in:
Leah Neukirchen 2023-03-08 21:13:38 +01:00
parent a168f78d25
commit 4f26223f2d
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'pysolfc'
pkgname=pysolfc
version=2.18.0
version=2.20.0
revision=1
build_style=python3-module
hostmakedepends="gettext python3-pygame python3-random2 python3-six
@ -11,11 +11,16 @@ 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=ec8015529cbe6a839c28472197432e920a3be4a56bf859360ef094c3f5e0a156
checksum=530c7b4f6350293c7fa8efbadc80d4a8643a3d66fe513693396308640abbe14d
post_build() {
make mo rules
}
do_check() {
python -m unittest -v
}
post_install() {
mv ${DESTDIR}/usr/bin/pysol{.py,}
sed -i "s|pysol.py|pysol|g" ${DESTDIR}/usr/share/applications/pysol.desktop