misc/torrentinfo: Updated for version 1.8.6.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
This commit is contained in:
Erik Hanson 2017-07-08 22:02:14 -05:00 committed by Willy Sudiarto Raharjo
parent 488decda3c
commit 227c87d90b
2 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# #
# Slackware build script for TorrentInfo # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=torrentinfo PRGNAM=torrentinfo
VERSION=${VERSION:-1.0.2} VERSION=${VERSION:-1.8.6}
ARCH=noarch ARCH=noarch
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -39,7 +39,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION 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 cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -51,7 +51,6 @@ find -L . \
python setup.py install --root=$PKG python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="torrentinfo" PRGNAM="torrentinfo"
VERSION="1.0.2" VERSION="1.8.6"
HOMEPAGE="http://vrai.net/project.php?project=torrentinfo" HOMEPAGE="https://github.com/Fuuzetsu/torrentinfo"
DOWNLOAD="http://vrai.net/files/software_projects/torrentinfo/torrentinfo-1.0.2.tar.bz2" DOWNLOAD="https://github.com/Fuuzetsu/torrentinfo/archive/v1.8.6.tar.gz"
MD5SUM="023c9c3cf7586ef10310b645db2794a5" MD5SUM="fbc54b39cc091db1db77f7574a702b3"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""