diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2016-11-27 16:50:20 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-03 07:17:45 +0700 |
commit | b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8 (patch) | |
tree | 6f7e1c8ffab7d9dbfe920da86bea09cbdbdf43b0 /games/vcmi/vcmi.SlackBuild | |
parent | 551941e398b66addefc54988f0c309e0dbf98327 (diff) | |
download | slackbuilds-b9d3a3ba7eba15efa9df6d7fcaa447c14fe200f8.tar.gz |
games/vcmi: Updated for version 0.99.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/vcmi/vcmi.SlackBuild')
-rw-r--r-- | games/vcmi/vcmi.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild index 9915cd178f..46cde39a3c 100644 --- a/games/vcmi/vcmi.SlackBuild +++ b/games/vcmi/vcmi.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vcmi -VERSION=${VERSION:-0.98} +VERSION=${VERSION:-0.99} 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 @@ -41,8 +41,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" @@ -61,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -70,10 +70,6 @@ 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 {} \; -# Fix building with boost-1.58 -# Thanks to rohit-n on github https://github.com/vcmi/vcmi/pull/102 -zcat $CWD/github-aa00fdbd0e9.patch.gz | patch -p1 - mkdir -p build cd build cmake \ |