From cfe156c6b71f993ccaff7ae167f3fdbe4f8df055 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Sun, 23 Feb 2020 13:52:14 -0500 Subject: network/uget: Updated for version 2.2.3_1. Signed-off-by: B. Watson --- network/uget/uget.SlackBuild | 16 ++++++++++++---- network/uget/uget.info | 6 +++--- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'network/uget') diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild index b5d46070bf..5efd0c72e8 100644 --- a/network/uget/uget.SlackBuild +++ b/network/uget/uget.SlackBuild @@ -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 {} \+ diff --git a/network/uget/uget.info b/network/uget/uget.info index addad1d3f5..0d9e4c2c4d 100644 --- a/network/uget/uget.info +++ b/network/uget/uget.info @@ -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="" -- cgit v1.2.3