summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-10-06 19:18:36 -0700
committerBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-10-06 19:18:36 -0700
commit3952ce1ef9a4d3d197bb43016dcd35af70fe74e7 (patch)
tree7badad11239d67d592c94f918357d5a11863ba46
parent0fdcf988bddb2bb6bb0ad49ae0addb1831601398 (diff)
downloadslackbuilds-3952ce1ef9a4d3d197bb43016dcd35af70fe74e7.tar.gz
gis/osm2pgsql: Updated for version 0.94.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/osm2pgsql/osm2pgsql.SlackBuild9
-rw-r--r--gis/osm2pgsql/osm2pgsql.info6
2 files changed, 7 insertions, 8 deletions
diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild
index 49d3ea9b44..12e49a9834 100644
--- a/gis/osm2pgsql/osm2pgsql.SlackBuild
+++ b/gis/osm2pgsql/osm2pgsql.SlackBuild
@@ -22,8 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osm2pgsql
-SRCVER=${SRCVER:-0.94.0-RC2}
-VERSION=`echo $SRCVER | tr "[A-Z]" "[a-z]" | tr -d "-"`
+VERSION=${VERSION:-0.94.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +58,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $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 \) \
diff --git a/gis/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info
index 06660b1af5..552eeacad2 100644
--- a/gis/osm2pgsql/osm2pgsql.info
+++ b/gis/osm2pgsql/osm2pgsql.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgsql"
-VERSION="0.94.0rc2"
+VERSION="0.94.0"
HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql"
-DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.94.0-RC2/osm2pgsql-0.94.0-RC2.tar.gz"
-MD5SUM="524ebb954d968834f23c2c3ad6809b61"
+DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.94.0/osm2pgsql-0.94.0.tar.gz"
+MD5SUM="dbfcad124965c2becd92b2adf62b8c7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua postgis"