wok-next diff singularity/receipt @ rev 8731

Up: ruby-gtk2 to 0.90.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 05:59:24 2011 +0000 (2011-02-19)
parents bf83cc941560
children 41059339acd5
line diff
     1.1 --- a/singularity/receipt	Fri Oct 22 15:03:03 2010 +0000
     1.2 +++ b/singularity/receipt	Sat Feb 19 05:59:24 2011 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="Strategy game - simulation of true Al"
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy"
     1.7 +BUILD_DEPENDS="patch"
     1.8  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
     1.9  WEB_SITE="http://emhsoft.com/singularity/index.html"
    1.10  WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL"
    1.11 @@ -13,14 +14,15 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/bin $fs/usr/share/singularity
    1.16 -	cp -a $src/singularity.py $fs/usr/share/singularity
    1.17 +	patch -p0 < stuff/percents-$VERSION.patch
    1.18 +	mkdir -p $fs/usr/bin $fs/usr/games/singularity
    1.19 +	cp -a $src/singularity.py $fs/usr/games/singularity
    1.20  	cat >> $fs/usr/bin/singularity <<EOT
    1.21  #!/bin/sh
    1.22 -cd /usr/share/singularity
    1.23 +cd /usr/games/singularity
    1.24  exec python singularity.py "$@"
    1.25  EOT
    1.26  	chmod +x $fs/usr/bin/singularity
    1.27 -	cp -R $src/code $src/data $fs/usr/share/singularity
    1.28 +	cp -a $src/code $src/data $fs/usr/games/singularity
    1.29  }
    1.30