pysolfc: update to 2.1.4.

Adopted; switch to python3.
This commit is contained in:
Leah Neukirchen 2018-04-05 15:38:52 +02:00
parent daa5f288c8
commit b1c052253b
1 changed files with 14 additions and 11 deletions

View File

@ -1,20 +1,23 @@
# Template file for 'pysolfc'
pkgname=pysolfc
version=2.1.2
revision=3
version=2.1.4
revision=1
noarch=yes
wrksrc="PySolFC-${version}"
build_style=python2-module
wrksrc="PySolFC-${pkgname}-${version}"
build_style=python3-module
pycompile_module=pysollib
hostmakedepends="python"
depends="python-tkinter python-pygame python-six python-random2 pysolfc-cardsets"
short_desc="A Python solitaire game collection"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-3"
hostmakedepends="python3-pygame python3-random2 python3-six python3-tkinter"
depends="pysolfc-cardsets ${hostmakedepends}"
short_desc="Python solitaire game collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0"
homepage="http://pysolfc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/PySolFC-${version}.tar.bz2"
checksum=3f88052647479c01431f320f2601eaa4b7b7ccd52502f4ffdb387d7bd73365c7
distfiles="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz"
checksum=560743602e8af31e205d1e20744bd1b893e75ddaf37482f575e1211833dcc9ae
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