From e8e1961e16f9e9d0b4aa81e5074cdd8c4e7d52b2 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 2 Jun 2016 12:52:59 +0100 Subject: [PATCH] gis/osm2pgrouting: Update DOWNLOAD. Signed-off-by: David Spencer --- gis/osm2pgrouting/osm2pgrouting.SlackBuild | 18 +++++++----------- gis/osm2pgrouting/osm2pgrouting.info | 4 ++-- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/gis/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild index 5abb5e0a6d..fd244c8b67 100644 --- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild +++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild @@ -58,20 +58,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; sed -i "s_/usr/share/bin_/usr/bin_" CMakeLists.txt mkdir -p build diff --git a/gis/osm2pgrouting/osm2pgrouting.info b/gis/osm2pgrouting/osm2pgrouting.info index 3bab742317..5cf1cfa33c 100644 --- a/gis/osm2pgrouting/osm2pgrouting.info +++ b/gis/osm2pgrouting/osm2pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="osm2pgrouting" VERSION="2.0.0" HOMEPAGE="http://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.0.0.tar.gz" -MD5SUM="ee7a9e5caa0a40511b8210f9581e9e9a" +DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/osm2pgrouting-2.0.0/osm2pgrouting-2.0.0.tar.gz" +MD5SUM="79fbfe4cc1e75169f10744f9ab158139" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pgrouting"