wok-next view pysolfc/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 5ffe59e2de3a |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pysolfc"
4 VERSION="2.0"
5 CATEGORY="games"
6 SHORT_DESC="Extended version of PySol (a solitaire card game)"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/pysolfc/"
10 HOST_ARCH="any"
12 TARBALL="PySolFC-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/pysolfc/$TARBALL"
15 BUILD_DEPENDS="python tk"
17 compile_rules() {
18 find . -name '*.py' -exec \
19 sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' '{}' \;
21 python -B setup.py install --prefix=$install/usr || return 1
23 mv $install/usr/bin/pysol.py $install/usr/bin/pysol
24 sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' $install/usr/bin/pysol
26 # all the next card sets exist in the pysolfc-cardsets package
27 rm -r $install/usr/share/PySolFC/cardset-*
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="python tk pysolfc-cardsets"
33 }