summaryrefslogtreecommitdiff
path: root/misc/sbo-templates/sbo-templates.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-12-23 21:43:13 +0100
committerRobby Workman <rworkman@slackbuilds.org>2017-12-27 18:09:16 -0600
commitddf4e3597c6fe2db1c2139d66fd188e3b41fbb11 (patch)
treec09eee2427edf42aeabc4bd380ce8cbfac9da7df /misc/sbo-templates/sbo-templates.SlackBuild
parent2b05b3d6cf518b679e379b587b94959392a657a0 (diff)
downloadslackbuilds-ddf4e3597c6fe2db1c2139d66fd188e3b41fbb11.tar.gz
misc/sbo-templates: Updated for version 1.0.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'misc/sbo-templates/sbo-templates.SlackBuild')
-rw-r--r--misc/sbo-templates/sbo-templates.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/sbo-templates/sbo-templates.SlackBuild b/misc/sbo-templates/sbo-templates.SlackBuild
index 7b4327b10e..0648ce7872 100644
--- a/misc/sbo-templates/sbo-templates.SlackBuild
+++ b/misc/sbo-templates/sbo-templates.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sbo-templates
-# Copyright 2015-216 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sbo-templates
-VERSION=${VERSION:-0.13.0}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,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/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,13 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst ChangeLog.txt LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install