network/uget: Updated for version 2.2.3_1.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-02-23 13:52:14 -05:00 committed by Willy Sudiarto Raharjo
parent fce362918c
commit cfe156c6b7
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 15 additions and 7 deletions

View file

@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20200223 bkw: update for 2.2.3_1
# 20191130 bkw: update for 2.2.2
# 20180612 bkw: update for 2.2.1
@ -35,10 +36,17 @@
# - don't install empty AUTHORS and ChangeLog
PRGNAM=uget
VERSION=${VERSION:-2.2.2}
VERSION=${VERSION:-2.2.3_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Tarball filename version number doesn't match top-level dir inside
# tarball, and neither matches VERSION 'cause we can't use hyphens.
# This stuff can safely be left in place: if VERSION contains no _
# character, TARVER == DIRVER == VERSION.
TARVER=${VERSION/_/-}
DIRVER="$( echo $VERSION | cut -d_ -f1 )"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@ -71,9 +79,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 $PRGNAM-$DIRVER
tar xvf $CWD/$PRGNAM-$TARVER.tar.gz
cd $PRGNAM-$DIRVER
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="uget"
VERSION="2.2.2"
VERSION="2.2.3_1"
HOMEPAGE="https://ugetdm.com"
DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.2/uget-2.2.2.tar.gz"
MD5SUM="aad80462003f9802abf7cee5f7abcf1c"
DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.3/uget-2.2.3-1.tar.gz"
MD5SUM="ac623b972ec13909a05bc5d098c5254a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""