summaryrefslogtreecommitdiff
path: root/games/vcmi/vcmi.SlackBuild
diff options
context:
space:
mode:
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 47ff676777..ff62cd752d 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