aboutsummaryrefslogtreecommitdiff
path: root/libraries/sdformat
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 20:10:18 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:38 +0700
commit93a4f75a27b0cea6fcb09be515436d4b8f8be26b (patch)
treee5a28e63d8e24d3612e9714f88b3ec48d84771d3 /libraries/sdformat
parent1a98d8dd9cfcda19e30c3617fb08dfa4e151f50c (diff)
libraries/sdformat: Fix DOWNLOAD.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/sdformat')
-rw-r--r--libraries/sdformat/sdformat.SlackBuild8
-rw-r--r--libraries/sdformat/sdformat.info4
2 files changed, 6 insertions, 6 deletions
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"