void-packages/srcpkgs/pysolfc/template
2019-04-09 17:16:29 +02:00

24 lines
774 B
Bash

# Template file for 'pysolfc'
pkgname=pysolfc
version=2.6.3
revision=1
arch="noarch"
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=64929188f8fc2ed13670627f55b0d85e36db5b97c4d876b0ca217cff45c4eeff
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
}