summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2017-07-08 22:02:14 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-12 22:48:44 +0700
commit227c87d90b8c6a68879a584ba3a405425c0af395 (patch)
treed498d546a1763821e87921a845c86c36f861c1da /misc
parent488decda3c1a50bf8a1083a3a8a66910d5b6ff1a (diff)
downloadslackbuilds-227c87d90b8c6a68879a584ba3a405425c0af395.tar.gz
misc/torrentinfo: Updated for version 1.8.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
Diffstat (limited to 'misc')
-rw-r--r--misc/torrentinfo/torrentinfo.SlackBuild7
-rw-r--r--misc/torrentinfo/torrentinfo.info8
2 files changed, 7 insertions, 8 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
diff --git a/misc/torrentinfo/torrentinfo.info b/misc/torrentinfo/torrentinfo.info
index a36861a208..7efafa7b03 100644
--- a/misc/torrentinfo/torrentinfo.info
+++ b/misc/torrentinfo/torrentinfo.info
@@ -1,8 +1,8 @@
PRGNAM="torrentinfo"
-VERSION="1.0.2"
-HOMEPAGE="http://vrai.net/project.php?project=torrentinfo"
-DOWNLOAD="http://vrai.net/files/software_projects/torrentinfo/torrentinfo-1.0.2.tar.bz2"
-MD5SUM="023c9c3cf7586ef10310b645db2794a5"
+VERSION="1.8.6"
+HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo"
+DOWNLOAD="https://github.com/Fuuzetsu/torrentinfo/archive/v1.8.6.tar.gz"
+MD5SUM="fbc54b39cc091db1db77f7574a702b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""