mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/openttd: Updated for version 1.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
505371f3f3
commit
3d8f6476cb
2 changed files with 19 additions and 19 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=openttd
|
PRGNAM=openttd
|
||||||
VERSION=${VERSION:-1.0.1}
|
VERSION=${VERSION:-1.1.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -69,12 +69,12 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2
|
tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz
|
||||||
if [ "$OPENDATA" == "YES" ]; then
|
if [ "$OPENDATA" == "YES" ]; then
|
||||||
rm -rf opengfx-0.2.4 opensfx-0.2.3 openmsx-0.2.1
|
rm -rf opengfx-0.3.5 opensfx-0.2.3 openmsx-0.3.1
|
||||||
unzip -o $CWD/opengfx-0.2.4-all.zip
|
unzip -o $CWD/opengfx-0.3.5-all.zip
|
||||||
unzip -o $CWD/opensfx-0.2.3-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
|
fi
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
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
|
# Copy opengfx, opensfx, and openmsx files if OPENDATA=YES
|
||||||
if [ "$OPENDATA" == "YES" ]; then
|
if [ "$OPENDATA" == "YES" ]; then
|
||||||
# First rename some text files to avoid name collisions when copied
|
# 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 -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
|
# 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/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
|
# These perms are needed
|
||||||
chmod 0644 $PKG/usr/share/games/openttd/data/*
|
chmod 0644 $PKG/usr/share/games/openttd/data/*
|
||||||
chmod 0644 $PKG/usr/share/games/openttd/gm/*
|
chmod 0644 $PKG/usr/share/games/openttd/gm/*
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
PRGNAM="openttd"
|
PRGNAM="openttd"
|
||||||
VERSION="1.0.1"
|
VERSION="1.1.2"
|
||||||
HOMEPAGE="http://www.openttd.org"
|
HOMEPAGE="http://www.openttd.org"
|
||||||
DOWNLOAD="http://binaries.openttd.org/releases/1.0.1/openttd-1.0.1-source.tar.bz2 \
|
DOWNLOAD="http://binaries.openttd.org/releases/1.1.2/openttd-1.1.2-source.tar.gz \
|
||||||
http://binaries.openttd.org/extra/opengfx/0.2.4/opengfx-0.2.4-all.zip \
|
http://binaries.openttd.org/extra/opengfx/0.3.5/opengfx-0.3.5-all.zip \
|
||||||
http://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-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"
|
http://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip"
|
||||||
MD5SUM="c79d21ea55141e1a2e75ac0430360898 \
|
MD5SUM="1bcce1ecbf2fba621a8128bbb470288f \
|
||||||
39c784dc6f7694b1bdaa771ff7f98658 \
|
080084f375b9662e5c4a91a2cec3cb73 \
|
||||||
3605b82f24153500c8a1804e4420168a \
|
3605b82f24153500c8a1804e4420168a \
|
||||||
6a5a466ed94a838db71ddd929c47c6a0"
|
858b79d44aea6de5e15d9d1439e86cc3"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Chess Griffin"
|
MAINTAINER="LEVAI Daniel"
|
||||||
EMAIL="chess@chessgriffin.com"
|
EMAIL="leva@ecentrum.hu"
|
||||||
APPROVED="Erik Hanson"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue