From 8e8df7f150ed45e3cc784377d40004262fa39d7d Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 3 Oct 2017 21:01:06 -0700 Subject: gis/osm2pgsql: Updated for version 0.94.0rc2. --- gis/osm2pgsql/osm2pgsql.SlackBuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gis/osm2pgsql/osm2pgsql.SlackBuild') diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild index cf60b41fe3..49d3ea9b44 100644 --- a/gis/osm2pgsql/osm2pgsql.SlackBuild +++ b/gis/osm2pgsql/osm2pgsql.SlackBuild @@ -22,7 +22,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=osm2pgsql -VERSION=${VERSION:-0.94.0_RC1} +SRCVER=${SRCVER:-0.94.0-RC2} +VERSION=`echo $SRCVER | tr "[A-Z]" "[a-z]" | tr -d "-"` BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$(echo $VERSION | tr '_' '-').tar.gz -cd $PRGNAM-$(echo $VERSION | tr '_' '-') +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -- cgit v1.2.3