diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2011-09-05 21:33:42 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-09-05 23:03:04 -0500 |
commit | 3d8f6476cb945e0959e7612b73c4e81e0cb31032 (patch) | |
tree | e579741c5d13e791e0bd230cb3e73c1172e9c6a2 /games/openttd/openttd.SlackBuild | |
parent | 505371f3f3ca12fecb5a048894d2f256e96ac094 (diff) |
games/openttd: Updated for version 1.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/openttd/openttd.SlackBuild')
-rw-r--r-- | games/openttd/openttd.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild index ff9664f00f19a..92fea8107652e 100644 --- a/games/openttd/openttd.SlackBuild +++ b/games/openttd/openttd.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openttd -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,12 +69,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz if [ "$OPENDATA" == "YES" ]; then - rm -rf opengfx-0.2.4 opensfx-0.2.3 openmsx-0.2.1 - unzip -o $CWD/opengfx-0.2.4-all.zip + rm -rf opengfx-0.3.5 opensfx-0.2.3 openmsx-0.3.1 + unzip -o $CWD/opengfx-0.3.5-all.zip unzip -o $CWD/opensfx-0.2.3-all.zip - unzip -o $CWD/openmsx-0.2.1-all.zip + unzip -o $CWD/openmsx-0.3.1-all.zip fi cd $PRGNAM-$VERSION chown -R root:root . @@ -113,13 +113,13 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Copy opengfx, opensfx, and openmsx files if OPENDATA=YES if [ "$OPENDATA" == "YES" ]; then # First rename some text files to avoid name collisions when copied - rename .txt -opengfx.txt $TMP/opengfx-0.2.4/* + rename .txt -opengfx.txt $TMP/opengfx-0.3.5/* rename .txt -opensfx.txt $TMP/opensfx-0.2.3/* - rename .txt -openmsx.txt $TMP/openmsx-0.2.1/* + rename .txt -openmsx.txt $TMP/openmsx-0.3.1/* # Now copy the data files - cp -a $TMP/opengfx-0.2.4/* $PKG/usr/share/games/openttd/data/ + cp -a $TMP/opengfx-0.3.5/* $PKG/usr/share/games/openttd/data/ cp -a $TMP/opensfx-0.2.3/* $PKG/usr/share/games/openttd/data/ - cp -a $TMP/openmsx-0.2.1/* $PKG/usr/share/games/openttd/gm/ + cp -a $TMP/openmsx-0.3.1/* $PKG/usr/share/games/openttd/gm/ # These perms are needed chmod 0644 $PKG/usr/share/games/openttd/data/* chmod 0644 $PKG/usr/share/games/openttd/gm/* |