summaryrefslogtreecommitdiff
path: root/graphics/Shellpic/Shellpic.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-12-09 19:07:33 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-12 07:18:46 +0700
commit2fdd9f6789f138b8cf615aef73c4412d1f4f3a65 (patch)
tree693334bc557928e3e83f5e8f11c127243f398e10 /graphics/Shellpic/Shellpic.SlackBuild
parent570148cdfd61affac19418e17bee3698481792b4 (diff)
downloadslackbuilds-2fdd9f6789f138b8cf615aef73c4412d1f4f3a65.tar.gz
graphics/Shellpic: Updated for version 1.6.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/Shellpic/Shellpic.SlackBuild')
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index 6de3ba2269..3f2a3adb75 100644
--- a/graphics/Shellpic/Shellpic.SlackBuild
+++ b/graphics/Shellpic/Shellpic.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Shellpic
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Shellpic
-VERSION=${VERSION:-1.6.1}
+SRCNAM=$(echo ${PRGNAM,})
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || $CWD/v$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.rst LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install