aboutsummaryrefslogtreecommitdiff
path: root/games/vcmi/vcmi.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-05-03 14:24:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-03 14:24:59 +0700
commitba7c182b52790a02d5bf7f9e1e00cc2dad3d43e1 (patch)
treea92389a94081ff49432a19337acce30336217e40 /games/vcmi/vcmi.SlackBuild
parenta63443f62aa407779f8debb391c3435c977d18af (diff)
games/vcmi: Updated for version 0.98 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/vcmi/vcmi.SlackBuild')
-rw-r--r--games/vcmi/vcmi.SlackBuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild
index 47ff676777fcb..ff62cd752d2d2 100644
--- a/games/vcmi/vcmi.SlackBuild
+++ b/games/vcmi/vcmi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for vcmi
# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2015 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vcmi
-VERSION=${VERSION:-0.97}
+VERSION=${VERSION:-0.98}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -83,14 +84,6 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# remove static library
-rm $PKG/usr/lib/libfuzzylite-static.a
-
-# fix lib path
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib/ $PKG/usr/lib64
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild