From 93a4f75a27b0cea6fcb09be515436d4b8f8be26b Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 22 Aug 2021 20:10:18 +1200 Subject: libraries/sdformat: Fix DOWNLOAD. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- libraries/sdformat/sdformat.SlackBuild | 8 ++++---- libraries/sdformat/sdformat.info | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libraries/sdformat') diff --git a/libraries/sdformat/sdformat.SlackBuild b/libraries/sdformat/sdformat.SlackBuild index 22a75ae5a0e8..daf4f7834c7d 100644 --- a/libraries/sdformat/sdformat.SlackBuild +++ b/libraries/sdformat/sdformat.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sdformat -DIRNAME=osrf-sdformat-e5ac5aaa49f2 VERSION=${VERSION:-4.2.0} +SRCNAM="$PRGNAM"-sdformat4_"$VERSION" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $DIRNAME -tar xvf $CWD/${PRGNAM}4_$VERSION.tar.gz || tar xvf $CWD/$DIRNAME.tar.gz -cd $DIRNAME +rm -rf $SRCNAM +tar xvf $CWD/$SRCNAM.tar.gz +cd $SRCNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/libraries/sdformat/sdformat.info b/libraries/sdformat/sdformat.info index 51fd768eb8fe..6ca6187d2d02 100644 --- a/libraries/sdformat/sdformat.info +++ b/libraries/sdformat/sdformat.info @@ -1,8 +1,8 @@ PRGNAM="sdformat" VERSION="4.2.0" HOMEPAGE="http://sdformat.org/" -DOWNLOAD="https://bitbucket.org/osrf/sdformat/get/sdformat4_4.2.0.tar.gz" -MD5SUM="6e5e3470b2a92b9c02f5b438feba11be" +DOWNLOAD="https://github.com/ignitionrobotics/sdformat/archive/sdformat4_4.2.0/sdformat-sdformat4_4.2.0.tar.gz" +MD5SUM="d9319f5af5ec5494835335338b2a067b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ignition-math2 tinyxml" -- cgit v1.2.3