aboutsummaryrefslogtreecommitdiff
path: root/graphics/fim/fim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fim/fim.SlackBuild')
-rw-r--r--graphics/fim/fim.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/fim/fim.SlackBuild b/graphics/fim/fim.SlackBuild
index 575890fe29a6..4ca1a71bca9d 100644
--- a/graphics/fim/fim.SlackBuild
+++ b/graphics/fim/fim.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fim
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# Thanks B.Watson for valuable contributions
# All rights reserved.
#
@@ -24,7 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fim
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.5_rc1}
+SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION}-trunk
-tar xvf $CWD/$PRGNAM-${VERSION}-trunk.tar.gz
-cd $PRGNAM-${VERSION}-trunk
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -108,4 +109,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-