aboutsummaryrefslogtreecommitdiff
path: root/graphics/Shellpic
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/Shellpic')
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild13
-rw-r--r--graphics/Shellpic/Shellpic.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index 6de3ba226965f..3f2a3adb75fcf 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
diff --git a/graphics/Shellpic/Shellpic.info b/graphics/Shellpic/Shellpic.info
index 90b9185c7c702..66bcab77a62f1 100644
--- a/graphics/Shellpic/Shellpic.info
+++ b/graphics/Shellpic/Shellpic.info
@@ -1,8 +1,8 @@
PRGNAM="Shellpic"
-VERSION="1.6.1"
+VERSION="1.6.2"
HOMEPAGE="https://github.com/larsjsol/shellpic"
-DOWNLOAD="https://pypi.python.org/packages/source/S/Shellpic/Shellpic-1.6.1.tar.gz"
-MD5SUM="5c22d7af906c024fd884faeb4213d000"
+DOWNLOAD="https://github.com/larsjsol/shellpic/archive/v1.6.2.tar.gz"
+MD5SUM="ab2cfb28d63e05fd8d750832476fcf0b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""