From 27df30f75139bd1c63e70862672b1c1b9985ce7d Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Tue, 8 Mar 2022 13:18:34 +1300 Subject: network/ubertooth: Fix github tarball handling. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- network/ubertooth/ubertooth.SlackBuild | 7 ++++--- network/ubertooth/ubertooth.info | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'network') diff --git a/network/ubertooth/ubertooth.SlackBuild b/network/ubertooth/ubertooth.SlackBuild index 7a528d79c9..9dea75916b 100644 --- a/network/ubertooth/ubertooth.SlackBuild +++ b/network/ubertooth/ubertooth.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ubertooth VERSION=${VERSION:-2020.12.R1} +SRCVERSION=$(echo $VERSION |tr . -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +70,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-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/network/ubertooth/ubertooth.info b/network/ubertooth/ubertooth.info index 781e286c17..122a587f46 100644 --- a/network/ubertooth/ubertooth.info +++ b/network/ubertooth/ubertooth.info @@ -1,7 +1,7 @@ PRGNAM="ubertooth" VERSION="2020.12.R1" HOMEPAGE="https://github.com/greatscottgadgets/ubertooth" -DOWNLOAD="https://github.com/greatscottgadgets/ubertooth/archive/2020-12-R1/ubertooth-2020.12.R1.tar.gz" +DOWNLOAD="https://github.com/greatscottgadgets/ubertooth/archive/2020-12-R1/ubertooth-2020-12-R1.tar.gz" MD5SUM="4dd2d6539cfc694f3d63424c65b28394" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3