# HG changeset patch # User Antoine Bodin # Date 1288091653 -7200 # Node ID df6af0a6d25603e4e0d6113d0a5011b8cff1baae # Parent 45e0a8f552a94e97b49e301fbce8e6484498bf04 singularity: patch and path change diff -r 45e0a8f552a9 -r df6af0a6d256 singularity/receipt --- a/singularity/receipt Tue Oct 26 12:57:37 2010 +0200 +++ b/singularity/receipt Tue Oct 26 13:14:13 2010 +0200 @@ -6,6 +6,7 @@ SHORT_DESC="Strategy game - simulation of true Al" MAINTAINER="slaxemulator@gmail.com" DEPENDS="python python-pygame libsdl-image libsdl-mixer python-numpy" +BUILD_DEPENDS="patch" TARBALL="$PACKAGE-$VERSION-src.tar.gz" WEB_SITE="http://emhsoft.com/singularity/index.html" WGET_URL="http://endgame-singularity.googlecode.com/files/$TARBALL" @@ -13,14 +14,15 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin $fs/usr/share/singularity - cp -a $src/singularity.py $fs/usr/share/singularity + patch -p0 < stuff/percents-$VERSION.patch + mkdir -p $fs/usr/bin $fs/usr/games/singularity + cp -a $src/singularity.py $fs/usr/games/singularity cat >> $fs/usr/bin/singularity <