summaryrefslogtreecommitdiffstats
path: root/misc/torrentinfo/torrentinfo.SlackBuild
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2017-07-08 22:02:14 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-12 22:48:44 +0700
commit227c87d90b8c6a68879a584ba3a405425c0af395 (patch)
treed498d546a1763821e87921a845c86c36f861c1da /misc/torrentinfo/torrentinfo.SlackBuild
parent488decda3c1a50bf8a1083a3a8a66910d5b6ff1a (diff)
downloadslackbuilds-227c87d90b8c6a68879a584ba3a405425c0af395.tar.gz
slackbuilds-227c87d90b8c6a68879a584ba3a405425c0af395.tar.xz
misc/torrentinfo: Updated for version 1.8.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
Diffstat (limited to 'misc/torrentinfo/torrentinfo.SlackBuild')
-rw-r--r--misc/torrentinfo/torrentinfo.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/torrentinfo/torrentinfo.SlackBuild b/misc/torrentinfo/torrentinfo.SlackBuild
index e3eda67510..6121c3f74e 100644
--- a/misc/torrentinfo/torrentinfo.SlackBuild
+++ b/misc/torrentinfo/torrentinfo.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for TorrentInfo
#
-# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2017 Erik W. Hanson, Minneapolis, MN, USA
# 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=torrentinfo
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.8.6}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,7 +39,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v${VERSION}.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,7 +51,6 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install