aboutsummaryrefslogtreecommitdiff
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
parent570148cdfd61affac19418e17bee3698481792b4 (diff)
graphics/Shellpic: Updated for version 1.6.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-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 6de3ba226965..3f2a3adb75fc 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 90b9185c7c70..66bcab77a62f 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=""