summaryrefslogtreecommitdiffstats
path: root/gis/pgsql-ogr-fdw
diff options
context:
space:
mode:
Diffstat (limited to 'gis/pgsql-ogr-fdw')
-rw-r--r--gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild20
-rw-r--r--gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info6
2 files changed, 18 insertions, 8 deletions
diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
index a48bac3bc4..303c30b121 100644
--- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
+++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for pgsql-ogr-fdw
-# Copyright 2015-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgsql-ogr-fdw
-VERSION=${VERSION:-1.0.12}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
index c55cff271e..4e350c79de 100644
--- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
+++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info
@@ -1,8 +1,8 @@
PRGNAM="pgsql-ogr-fdw"
-VERSION="1.0.12"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/pramsey/pgsql-ogr-fdw"
-DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.0.12/pgsql-ogr-fdw-1.0.12.tar.gz"
-MD5SUM="fd88ed3267ac84128b5603d7f8c32b43"
+DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.1.0/pgsql-ogr-fdw-1.1.0.tar.gz"
+MD5SUM="1a14ab7f6238e790ca139254f47e579b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgis"