diff options
author | B. Watson <yalhcru@gmail.com> | 2020-02-23 13:52:14 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-29 07:45:14 +0700 |
commit | cfe156c6b71f993ccaff7ae167f3fdbe4f8df055 (patch) | |
tree | d5864f37e906c180114c2823f61378f01e69ca25 /network | |
parent | fce362918cfcc3bfac242f4e465e6eab7204b1bf (diff) |
network/uget: Updated for version 2.2.3_1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'network')
-rw-r--r-- | network/uget/uget.SlackBuild | 16 | ||||
-rw-r--r-- | network/uget/uget.info | 6 |
2 files changed, 15 insertions, 7 deletions
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild index b5d46070bf8f..5efd0c72e837 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 addad1d3f5c7..0d9e4c2c4d9e 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="" |