diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2018-02-20 19:04:47 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-02-21 19:54:36 +0000 |
commit | ce4b69c408e497a6f32d83502c83a4bbcf4f113f (patch) | |
tree | 59d55296e626e69fccbe86b214905977d0542a2b | |
parent | 63844ca97adf08d7dedf1f3a2c6e1425ed0bc171 (diff) | |
download | slackbuilds-ce4b69c408e497a6f32d83502c83a4bbcf4f113f.tar.gz |
games/exult: Updated for version 2018.02.01_c3d7afb.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | games/exult/exult.SlackBuild | 25 | ||||
-rw-r--r-- | games/exult/exult.info | 6 |
2 files changed, 18 insertions, 13 deletions
diff --git a/games/exult/exult.SlackBuild b/games/exult/exult.SlackBuild index 0d316d97de..f89cdc91a6 100644 --- a/games/exult/exult.SlackBuild +++ b/games/exult/exult.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for exult -# Copyright 2016 Hunter Sezen California, USA +# Copyright 2016, 2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=exult -VERSION=${VERSION:-1.5.0_svn} +VERSION=${VERSION:-2018.02.01_c3d7afb} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./autogen.sh +autoreconf -fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,12 +80,18 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION + if [ -f $CWD/${PRGNAM}_audio.zip ]; then unzip $CWD/${PRGNAM}_audio.zip -d $PKG/usr/share/$PRGNAM chown -R root:root $PKG/usr/share/$PRGNAM find $PKG/usr/share/$PRGNAM \ \( -type f -exec chmod 644 {} \; \) -o \ \( -type d -exec chmod 755 {} \; \) + + mv $PKG/usr/share/$PRGNAM/README_audiopack.txt \ + $PKG/usr/share/$PRGNAM/readme_*.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION fi find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -94,9 +100,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README* TODO.xml $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/share/$PRGNAM -type f -iname 'readme*.txt' -exec mv -t $PKG/usr/doc/$PRGNAM-$VERSION {} \+ +cp -a AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README* TODO.xml \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/exult/exult.info b/games/exult/exult.info index 658a6e1a73..0689784199 100644 --- a/games/exult/exult.info +++ b/games/exult/exult.info @@ -1,9 +1,9 @@ PRGNAM="exult" -VERSION="1.5.0_svn" +VERSION="2018.02.01_c3d7afb" HOMEPAGE="http://exult.sourceforge.net/" -DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/exult-1.5.0_svn.tar.xz \ +DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/exult-2018.02.01_c3d7afb.tar.xz \ http://downloads.sourceforge.net/project/exult/exult-data/exult_audio.zip" -MD5SUM="fcc6b6c7aa4ed2af7c9e1f9097b8fe28 \ +MD5SUM="0db3137ef430215344ac5a8bfa61567b \ 1905328f00bbbfee33812c1942bc7880" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |