25 lines
771 B
Bash
25 lines
771 B
Bash
# Template file for 'pysolfc'
|
|
pkgname=pysolfc
|
|
version=2.4.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="PySolFC-${pkgname}-${version}"
|
|
build_style=python3-module
|
|
pycompile_module=pysollib
|
|
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="https://github.com/shlomif/PySolFC/archive/${pkgname}-${version}.tar.gz"
|
|
checksum=b93a61eca8d4196b3d8101a4bf63ba56a1ad2a8c839c071f016dd1c961b599e6
|
|
|
|
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
|
|
}
|