summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Chess Griffin2010-06-09 03:38:52 +0200
committer Robby Workman2010-06-09 09:21:54 +0200
commit8c6d675f7d2362faee517c3c137dd8f64d97be54 (patch)
tree9576c3d3c7017ba51a95cc72b33a674763ee443c /games
parent5ae3f812cf3469bbfe6b15b91a33138988fc95f3 (diff)
downloadslackbuilds-8c6d675f7d2362faee517c3c137dd8f64d97be54.tar.gz
games/openttd: Updated for version 1.0.1.
Signed-off-by: Chess Griffin <chess@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/openttd/openttd.SlackBuild16
-rw-r--r--games/openttd/openttd.info10
2 files changed, 12 insertions, 14 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild
index 6239fd825f..ff9664f00f 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.0}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,8 +71,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2
if [ "$OPENDATA" == "YES" ]; then
- rm -rf opengfx-0.2.3 opensfx-0.2.3 openmsx-0.2.1
- unzip -o $CWD/opengfx-0.2.3-all.zip
+ rm -rf opengfx-0.2.4 opensfx-0.2.3 openmsx-0.2.1
+ unzip -o $CWD/opengfx-0.2.4-all.zip
unzip -o $CWD/opensfx-0.2.3-all.zip
unzip -o $CWD/openmsx-0.2.1-all.zip
fi
@@ -102,10 +102,8 @@ make install DEST_DIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -115,11 +113,11 @@ 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.3/*
+ rename .txt -opengfx.txt $TMP/opengfx-0.2.4/*
rename .txt -opensfx.txt $TMP/opensfx-0.2.3/*
rename .txt -openmsx.txt $TMP/openmsx-0.2.1/*
# Now copy the data files
- cp -a $TMP/opengfx-0.2.3/* $PKG/usr/share/games/openttd/data/
+ cp -a $TMP/opengfx-0.2.4/* $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/
# These perms are needed
diff --git a/games/openttd/openttd.info b/games/openttd/openttd.info
index aa655c255a..f5bbc35fc6 100644
--- a/games/openttd/openttd.info
+++ b/games/openttd/openttd.info
@@ -1,12 +1,12 @@
PRGNAM="openttd"
-VERSION="1.0.0"
+VERSION="1.0.1"
HOMEPAGE="http://www.openttd.org"
-DOWNLOAD="http://binaries.openttd.org/releases/1.0.0/openttd-1.0.0-source.tar.bz2 \
- http://binaries.openttd.org/extra/opengfx/0.2.3/opengfx-0.2.3-all.zip \
+DOWNLOAD="http://binaries.openttd.org/releases/1.0.1/openttd-1.0.1-source.tar.bz2 \
+ http://binaries.openttd.org/extra/opengfx/0.2.4/opengfx-0.2.4-all.zip \
http://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip \
http://binaries.openttd.org/extra/openmsx/0.2.1/openmsx-0.2.1-all.zip"
-MD5SUM="738c8eac581a4fbd219eae748e5a15ec \
- 7003b5d2c1a3a0a32568491a9127257b \
+MD5SUM="c79d21ea55141e1a2e75ac0430360898 \
+ 39c784dc6f7694b1bdaa771ff7f98658 \
3605b82f24153500c8a1804e4420168a \
6a5a466ed94a838db71ddd929c47c6a0"
DOWNLOAD_x86_64=""