diff options
Diffstat (limited to 'gis')
71 files changed, 142 insertions, 71 deletions
diff --git a/gis/CreateCloudMap/CreateCloudMap.SlackBuild b/gis/CreateCloudMap/CreateCloudMap.SlackBuild index 586d83376db2..afb0dadb8b10 100644 --- a/gis/CreateCloudMap/CreateCloudMap.SlackBuild +++ b/gis/CreateCloudMap/CreateCloudMap.SlackBuild @@ -22,6 +22,8 @@ # 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=CreateCloudMap VERSION=${VERSION:-0.9.13} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/Fiona/Fiona.SlackBuild b/gis/Fiona/Fiona.SlackBuild index 6c1a388469eb..c9065f4a02ef 100644 --- a/gis/Fiona/Fiona.SlackBuild +++ b/gis/Fiona/Fiona.SlackBuild @@ -22,6 +22,8 @@ # 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=Fiona VERSION=${VERSION:-1.8.20} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/GMT/GMT.SlackBuild b/gis/GMT/GMT.SlackBuild index 9f01761891f6..ff156e188ce1 100644 --- a/gis/GMT/GMT.SlackBuild +++ b/gis/GMT/GMT.SlackBuild @@ -22,6 +22,8 @@ # 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=GMT SRCNAM=gmt VERSION=${VERSION:-6.1.1} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/Geohash/Geohash.SlackBuild b/gis/Geohash/Geohash.SlackBuild index 039848bfa653..e511fbf7e023 100644 --- a/gis/Geohash/Geohash.SlackBuild +++ b/gis/Geohash/Geohash.SlackBuild @@ -22,6 +22,8 @@ # 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=Geohash VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index 7a34c0bf2a5f..bb2624ac6f0d 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -24,6 +24,8 @@ # (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=OTB VERSION=${VERSION:-7.3.0} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild index eb15116089a6..15f8347e071a 100644 --- a/gis/OWSLib/OWSLib.SlackBuild +++ b/gis/OWSLib/OWSLib.SlackBuild @@ -22,6 +22,8 @@ # 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=OWSLib VERSION=${VERSION:-0.24.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/SFCGAL/SFCGAL.SlackBuild b/gis/SFCGAL/SFCGAL.SlackBuild index 55c7eeefc597..cd2cc073c44a 100644 --- a/gis/SFCGAL/SFCGAL.SlackBuild +++ b/gis/SFCGAL/SFCGAL.SlackBuild @@ -24,6 +24,8 @@ # (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=SFCGAL VERSION=${VERSION:-1.3.9} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/Shapely/Shapely.SlackBuild index 70d08f63538f..737cc0fcbf1f 100644 --- a/gis/Shapely/Shapely.SlackBuild +++ b/gis/Shapely/Shapely.SlackBuild @@ -22,6 +22,8 @@ # 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=Shapely VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-3} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/TauDEM/TauDEM.SlackBuild b/gis/TauDEM/TauDEM.SlackBuild index fcafdca6ce1f..18b61de869ca 100644 --- a/gis/TauDEM/TauDEM.SlackBuild +++ b/gis/TauDEM/TauDEM.SlackBuild @@ -22,6 +22,8 @@ # 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=TauDEM PACKAGENAME=TauDEM-5MF.0.0 VERSION=${VERSION:-5.2.0} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/cartopy/cartopy.SlackBuild b/gis/cartopy/cartopy.SlackBuild index 17bfaef36eb1..f12aea6bbcaf 100644 --- a/gis/cartopy/cartopy.SlackBuild +++ b/gis/cartopy/cartopy.SlackBuild @@ -22,6 +22,8 @@ # 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=cartopy SRCNAM=Cartopy VERSION=${VERSION:-0.19.0.post1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/cligj/cligj.SlackBuild b/gis/cligj/cligj.SlackBuild index b9282a6b4505..97a2d6a5db7a 100644 --- a/gis/cligj/cligj.SlackBuild +++ b/gis/cligj/cligj.SlackBuild @@ -24,6 +24,8 @@ # (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=cligj VERSION=${VERSION:-0.7.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/foxtrotgps/foxtrotgps.SlackBuild b/gis/foxtrotgps/foxtrotgps.SlackBuild index a224fcccc520..43ebc3d501f6 100644 --- a/gis/foxtrotgps/foxtrotgps.SlackBuild +++ b/gis/foxtrotgps/foxtrotgps.SlackBuild @@ -24,6 +24,8 @@ # Modified by Mario Preksavec <mario at slackware dot hr> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=foxtrotgps VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-2} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 0937fdf5633e..c8922bd870d8 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -25,6 +25,8 @@ # # Maintained by David Spencer <baildon.research@googlemail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gdal VERSION=${VERSION:-3.3.0} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/geographiclib-python/geographiclib-python.SlackBuild b/gis/geographiclib-python/geographiclib-python.SlackBuild index 8dffe8474ab6..f02d40bae481 100644 --- a/gis/geographiclib-python/geographiclib-python.SlackBuild +++ b/gis/geographiclib-python/geographiclib-python.SlackBuild @@ -21,6 +21,8 @@ # 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=geographiclib-python VERSION=${VERSION:-1.50} BUILD=${BUILD:-3} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild index 6fd6880ba6d1..f42b0bef93a7 100644 --- a/gis/geojson/geojson.SlackBuild +++ b/gis/geojson/geojson.SlackBuild @@ -22,6 +22,8 @@ # 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=geojson VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/geopandas/geopandas.SlackBuild b/gis/geopandas/geopandas.SlackBuild index 502ad127ac51..e106918010fb 100644 --- a/gis/geopandas/geopandas.SlackBuild +++ b/gis/geopandas/geopandas.SlackBuild @@ -22,6 +22,8 @@ # 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=geopandas VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/geopy/geopy.SlackBuild b/gis/geopy/geopy.SlackBuild index 34dd3e0d55a4..b8695a1508f3 100644 --- a/gis/geopy/geopy.SlackBuild +++ b/gis/geopy/geopy.SlackBuild @@ -24,6 +24,8 @@ # 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=geopy VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/geos/geos.SlackBuild b/gis/geos/geos.SlackBuild index 70834e37ecf3..0c657b1fa121 100644 --- a/gis/geos/geos.SlackBuild +++ b/gis/geos/geos.SlackBuild @@ -22,6 +22,8 @@ # 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=geos VERSION=${VERSION:-3.9.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gj2ascii/gj2ascii.SlackBuild b/gis/gj2ascii/gj2ascii.SlackBuild index 9d08a55c4950..28ba323162b7 100644 --- a/gis/gj2ascii/gj2ascii.SlackBuild +++ b/gis/gj2ascii/gj2ascii.SlackBuild @@ -22,6 +22,8 @@ # 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=gj2ascii VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gmapcatcher/gmapcatcher.SlackBuild b/gis/gmapcatcher/gmapcatcher.SlackBuild index 820aa0e878a7..9ed4533686e4 100644 --- a/gis/gmapcatcher/gmapcatcher.SlackBuild +++ b/gis/gmapcatcher/gmapcatcher.SlackBuild @@ -4,6 +4,8 @@ # Written by Pablo Santamaria (pablosantamaria) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gmapcatcher VERSION=${VERSION:-0.8.0.4} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild index 18a20c5a5280..e5917402a65c 100644 --- a/gis/google-earth/google-earth.SlackBuild +++ b/gis/google-earth/google-earth.SlackBuild @@ -30,6 +30,8 @@ # Thanks to rworkman for the additional code and script cleanups # and to Daniel de Kok and Alan_Hicks for their comments. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=google-earth VERSION=${VERSION:-7.3.0.3832} BUILD=${BUILD:-1} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild index ecabb843262c..f906b65540ec 100644 --- a/gis/gpsbabel/gpsbabel.SlackBuild +++ b/gis/gpsbabel/gpsbabel.SlackBuild @@ -22,6 +22,8 @@ # 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=gpsbabel VERSION=${VERSION:-1.7.0} SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _) @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild index 183a057029e1..0eda2b97bde1 100644 --- a/gis/gpsd/gpsd.SlackBuild +++ b/gis/gpsd/gpsd.SlackBuild @@ -22,6 +22,8 @@ # 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=gpsd VERSION=${VERSION:-3.18.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild index b0e4e8768775..310960adc4ee 100644 --- a/gis/gpxsee/gpxsee.SlackBuild +++ b/gis/gpxsee/gpxsee.SlackBuild @@ -22,6 +22,8 @@ # 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=gpxsee VERSION=${VERSION:-7.28} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/grass/grass.SlackBuild b/gis/grass/grass.SlackBuild index 0ed559742aff..1bf6a1685ad9 100644 --- a/gis/grass/grass.SlackBuild +++ b/gis/grass/grass.SlackBuild @@ -22,6 +22,8 @@ # 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=grass VERSION=${VERSION:-7.8.0} SHRTVER=`echo $VERSION | sed "s/\([0-9]*\).\([0-9]*\)..*/\1\2/"` @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/josm/josm.SlackBuild b/gis/josm/josm.SlackBuild index eae93361b409..ddf8fe4bdda7 100644 --- a/gis/josm/josm.SlackBuild +++ b/gis/josm/josm.SlackBuild @@ -7,6 +7,8 @@ # http://josm.openstreetmap.de/download/josm-tested.jar # execute the script with VERSION=tested +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=josm VERSION=${VERSION:-12450} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/laszip/laszip.SlackBuild b/gis/laszip/laszip.SlackBuild index a1328a8feaf6..c1e598db1a35 100644 --- a/gis/laszip/laszip.SlackBuild +++ b/gis/laszip/laszip.SlackBuild @@ -22,6 +22,8 @@ # 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=laszip VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/libLAS/libLAS.SlackBuild b/gis/libLAS/libLAS.SlackBuild index 1be653fd6f53..bf45230de9ab 100644 --- a/gis/libLAS/libLAS.SlackBuild +++ b/gis/libLAS/libLAS.SlackBuild @@ -22,6 +22,8 @@ # 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=libLAS VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild index e80d94ad7f79..f0f705b0053f 100644 --- a/gis/libgeotiff/libgeotiff.SlackBuild +++ b/gis/libgeotiff/libgeotiff.SlackBuild @@ -24,6 +24,8 @@ # Maintained by David Spencer <baildon.research@googlemail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=libgeotiff VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/librasterlite/librasterlite.SlackBuild b/gis/librasterlite/librasterlite.SlackBuild index 7eb21b006fea..62a1042e9b2e 100644 --- a/gis/librasterlite/librasterlite.SlackBuild +++ b/gis/librasterlite/librasterlite.SlackBuild @@ -22,6 +22,8 @@ # 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=librasterlite VERSION=${VERSION:-1.1g} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/libspatialindex/libspatialindex.SlackBuild b/gis/libspatialindex/libspatialindex.SlackBuild index 2cdcb1619174..95731ae07c7c 100644 --- a/gis/libspatialindex/libspatialindex.SlackBuild +++ b/gis/libspatialindex/libspatialindex.SlackBuild @@ -21,6 +21,8 @@ # 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=libspatialindex TARBALLNAME=spatialindex VERSION=${VERSION:-1.7.1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/libspatialite/libspatialite.SlackBuild b/gis/libspatialite/libspatialite.SlackBuild index 58057aafd7ea..51f4c74f4c86 100644 --- a/gis/libspatialite/libspatialite.SlackBuild +++ b/gis/libspatialite/libspatialite.SlackBuild @@ -21,6 +21,8 @@ # 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=libspatialite VERSION=${VERSION:-4.3.0} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index d89edf75b81b..dc9d57c1662e 100644 --- a/gis/mapnik/mapnik.SlackBuild +++ b/gis/mapnik/mapnik.SlackBuild @@ -22,6 +22,8 @@ # 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=mapnik VERSION=${VERSION:-3.1.0} VARIANT=1.2.0 @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/merkaartor/merkaartor.SlackBuild b/gis/merkaartor/merkaartor.SlackBuild index 95b065dab589..ac796c92e51d 100644 --- a/gis/merkaartor/merkaartor.SlackBuild +++ b/gis/merkaartor/merkaartor.SlackBuild @@ -23,6 +23,8 @@ # 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=merkaartor VERSION=${VERSION:-0.18.4} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/navit/navit.SlackBuild b/gis/navit/navit.SlackBuild index 16a79d6a9836..d6a22c7dd559 100644 --- a/gis/navit/navit.SlackBuild +++ b/gis/navit/navit.SlackBuild @@ -22,6 +22,8 @@ # 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=navit VERSION=${VERSION:-0.5.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild index 0ae7a648bac7..fa5f16cfb73e 100644 --- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild +++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild @@ -22,6 +22,8 @@ # 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=opencpn-plugin-oesenc VERSION=${VERSION:-4.0.10} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/opencpn/opencpn.SlackBuild b/gis/opencpn/opencpn.SlackBuild index 1145a1335bb2..8f6f0dc131ad 100644 --- a/gis/opencpn/opencpn.SlackBuild +++ b/gis/opencpn/opencpn.SlackBuild @@ -22,6 +22,8 @@ # 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=opencpn VERSION=${VERSION:-5.0.0} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/opengrads/opengrads.SlackBuild b/gis/opengrads/opengrads.SlackBuild index 40d597efb9bd..57e5a4bed59b 100644 --- a/gis/opengrads/opengrads.SlackBuild +++ b/gis/opengrads/opengrads.SlackBuild @@ -24,13 +24,14 @@ # Written by Oda - edu.oda@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=opengrads VERSION=${VERSION:-2.0.1.oga.1} ARCH=${ARCH:-i686} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild index 5a14c15485f2..5682fa37584d 100644 --- a/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild +++ b/gis/openorienteering-mapper/openorienteering-mapper.SlackBuild @@ -22,6 +22,8 @@ # 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=openorienteering-mapper VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild index 17d063842de5..6ef3dc88070f 100644 --- a/gis/osgEarth/osgEarth.SlackBuild +++ b/gis/osgEarth/osgEarth.SlackBuild @@ -23,6 +23,8 @@ # 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=osgEarth SRCNAM=osgearth VERSION=${VERSION:-3.1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/osm-gps-map/osm-gps-map.SlackBuild b/gis/osm-gps-map/osm-gps-map.SlackBuild index c152f66a4e62..2d0dfe301950 100644 --- a/gis/osm-gps-map/osm-gps-map.SlackBuild +++ b/gis/osm-gps-map/osm-gps-map.SlackBuild @@ -22,6 +22,8 @@ # 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=osm-gps-map VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild index cee812511fdb..f01f903821ae 100644 --- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild +++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild @@ -22,6 +22,8 @@ # 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=osm2pgrouting VERSION=${VERSION:-2.3.7} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild index 4cec755acad4..ee50043d87bf 100644 --- a/gis/osm2pgsql/osm2pgsql.SlackBuild +++ b/gis/osm2pgsql/osm2pgsql.SlackBuild @@ -21,6 +21,8 @@ # 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=osm2pgsql VERSION=${VERSION:-1.4.2} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/ossim/ossim.SlackBuild b/gis/ossim/ossim.SlackBuild index 8a2c9cb40ee1..fc30b4a11b83 100644 --- a/gis/ossim/ossim.SlackBuild +++ b/gis/ossim/ossim.SlackBuild @@ -24,6 +24,8 @@ # (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=ossim VERSION=${VERSION:-2.12.0} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild index 5cc4d4d02393..d33065de9454 100644 --- a/gis/pdal/pdal.SlackBuild +++ b/gis/pdal/pdal.SlackBuild @@ -22,6 +22,8 @@ # 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=pdal SRCNAM=PDAL VERSION=${VERSION:-2.2.0} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index 9be3e68e9611..2c3213a74498 100644 --- a/gis/pgrouting/pgrouting.SlackBuild +++ b/gis/pgrouting/pgrouting.SlackBuild @@ -24,6 +24,8 @@ # (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=pgrouting VERSION=${VERSION:-3.1.3} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild index b4d66a0cb626..54451e0a217c 100644 --- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild +++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild @@ -24,6 +24,8 @@ # (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.1.0} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pktools/pktools.SlackBuild b/gis/pktools/pktools.SlackBuild index 8939df037b17..dc80070b9794 100644 --- a/gis/pktools/pktools.SlackBuild +++ b/gis/pktools/pktools.SlackBuild @@ -24,6 +24,8 @@ # (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=pktools SRCNAM=$(echo $PRGNAM | tr "[a-z]" "[A-Z]") VERSION=${VERSION:-2.6.7.6} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pointcloud/pointcloud.SlackBuild b/gis/pointcloud/pointcloud.SlackBuild index de31e20665d2..1c57352e6ea5 100644 --- a/gis/pointcloud/pointcloud.SlackBuild +++ b/gis/pointcloud/pointcloud.SlackBuild @@ -22,6 +22,8 @@ # 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=pointcloud VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/polyline/polyline.SlackBuild b/gis/polyline/polyline.SlackBuild index fcdf8b5750ce..39d6283a6e78 100644 --- a/gis/polyline/polyline.SlackBuild +++ b/gis/polyline/polyline.SlackBuild @@ -22,6 +22,8 @@ # 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=polyline VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index 99f8870635da..fa18ac3b06d3 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -23,6 +23,8 @@ # 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=postgis VERSION=${VERSION:-3.1.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/proj-data/proj-data.SlackBuild b/gis/proj-data/proj-data.SlackBuild index 7aba05093422..41eeedafeecf 100644 --- a/gis/proj-data/proj-data.SlackBuild +++ b/gis/proj-data/proj-data.SlackBuild @@ -20,13 +20,14 @@ # 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=proj-data VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/proj/proj.SlackBuild b/gis/proj/proj.SlackBuild index 9253be83894d..67760b74b271 100644 --- a/gis/proj/proj.SlackBuild +++ b/gis/proj/proj.SlackBuild @@ -21,6 +21,8 @@ # 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=proj VERSION=${VERSION:-7.2.1} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pyproj/pyproj.SlackBuild b/gis/pyproj/pyproj.SlackBuild index d7d76ef987b0..bc7cd96f4907 100644 --- a/gis/pyproj/pyproj.SlackBuild +++ b/gis/pyproj/pyproj.SlackBuild @@ -22,6 +22,8 @@ # 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=pyproj VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pyshp/pyshp.SlackBuild b/gis/pyshp/pyshp.SlackBuild index 963d02e4e04b..3ef5ab930a9d 100644 --- a/gis/pyshp/pyshp.SlackBuild +++ b/gis/pyshp/pyshp.SlackBuild @@ -22,6 +22,8 @@ # 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=pyshp VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/python-mapnik/python-mapnik.SlackBuild b/gis/python-mapnik/python-mapnik.SlackBuild index 5137d74369a9..5cd290fc0117 100644 --- a/gis/python-mapnik/python-mapnik.SlackBuild +++ b/gis/python-mapnik/python-mapnik.SlackBuild @@ -21,6 +21,8 @@ # 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=python-mapnik VERSION=${VERSION:-3.0.16} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/python-pygeos/python-pygeos.SlackBuild b/gis/python-pygeos/python-pygeos.SlackBuild index 9d577d11823c..4adf2693722f 100644 --- a/gis/python-pygeos/python-pygeos.SlackBuild +++ b/gis/python-pygeos/python-pygeos.SlackBuild @@ -22,6 +22,8 @@ # 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=python-pygeos VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/python3-basemap/python3-basemap.SlackBuild b/gis/python3-basemap/python3-basemap.SlackBuild index c54106e0ca01..a0597c888f95 100644 --- a/gis/python3-basemap/python3-basemap.SlackBuild +++ b/gis/python3-basemap/python3-basemap.SlackBuild @@ -22,6 +22,8 @@ # 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=python3-basemap SRCNAM=basemap VERSION=${VERSION:-1.2.2} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/pytrainer/pytrainer.SlackBuild b/gis/pytrainer/pytrainer.SlackBuild index 6774814edb08..c77e54d31979 100644 --- a/gis/pytrainer/pytrainer.SlackBuild +++ b/gis/pytrainer/pytrainer.SlackBuild @@ -22,6 +22,8 @@ # 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=pytrainer VERSION=${VERSION:-2.0.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index 476a038a5902..a5db80dfef8d 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -23,6 +23,8 @@ # 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=qgis VERSION=${VERSION:-3.20.0} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild index 91042f6b3b3a..ecef9d04ee32 100644 --- a/gis/qmapshack/qmapshack.SlackBuild +++ b/gis/qmapshack/qmapshack.SlackBuild @@ -9,6 +9,8 @@ # To Public License, Version 2, as published by Sam Hocevar. See # http://sam.zoy.org/wtfpl/COPYING for more details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qmapshack VERSION=${VERSION:-1.15.2} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild index ab503b572e9e..ef3173a94eba 100644 --- a/gis/rasterio/rasterio.SlackBuild +++ b/gis/rasterio/rasterio.SlackBuild @@ -24,6 +24,8 @@ # (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=rasterio VERSION=${VERSION:-1.2.6} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/readosm/readosm.SlackBuild b/gis/readosm/readosm.SlackBuild index 7a1828a60449..0597edf5e36d 100644 --- a/gis/readosm/readosm.SlackBuild +++ b/gis/readosm/readosm.SlackBuild @@ -21,6 +21,8 @@ # 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=readosm VERSION=${VERSION:-1.0.0d} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/routino/routino.SlackBuild b/gis/routino/routino.SlackBuild index 08c0cd12ebae..b55fc36b6cc4 100644 --- a/gis/routino/routino.SlackBuild +++ b/gis/routino/routino.SlackBuild @@ -24,6 +24,8 @@ # 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=routino VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild index a09ca1cc4b49..a214661d56f1 100644 --- a/gis/saga-gis/saga-gis.SlackBuild +++ b/gis/saga-gis/saga-gis.SlackBuild @@ -22,6 +22,8 @@ # 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=saga-gis VERSION=${VERSION:-7.9.0} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$SRCNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/spatialite-tools/spatialite-tools.SlackBuild b/gis/spatialite-tools/spatialite-tools.SlackBuild index 4c9b3c7573cd..a5db9caaa713 100644 --- a/gis/spatialite-tools/spatialite-tools.SlackBuild +++ b/gis/spatialite-tools/spatialite-tools.SlackBuild @@ -21,6 +21,8 @@ # 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=spatialite-tools VERSION=${VERSION:-4.2.0} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/spatialite_gui/spatialite_gui.SlackBuild b/gis/spatialite_gui/spatialite_gui.SlackBuild index f745781a8af3..c6893c640662 100644 --- a/gis/spatialite_gui/spatialite_gui.SlackBuild +++ b/gis/spatialite_gui/spatialite_gui.SlackBuild @@ -21,6 +21,8 @@ # 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=spatialite_gui VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/tangogps/tangogps.SlackBuild b/gis/tangogps/tangogps.SlackBuild index 6e007d116142..6dfb189a9210 100644 --- a/gis/tangogps/tangogps.SlackBuild +++ b/gis/tangogps/tangogps.SlackBuild @@ -3,6 +3,8 @@ # Written by <pedro@gepasi.org> # This script is hereby put in the public domain +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tangogps VERSION=${VERSION:-0.99.4} BUILD=${BUILD:-2} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/viking/viking.SlackBuild b/gis/viking/viking.SlackBuild index d3d33223e0c2..41cb5f23fe81 100644 --- a/gis/viking/viking.SlackBuild +++ b/gis/viking/viking.SlackBuild @@ -24,6 +24,8 @@ # # Maintained by David Spencer <baildon.research@googlemail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=viking VERSION=${VERSION:-1.6.2} BUILD=${BUILD:-2} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/whitebox-tools/whitebox-tools.SlackBuild b/gis/whitebox-tools/whitebox-tools.SlackBuild index 5ef6926b34a6..da41a7b9595c 100644 --- a/gis/whitebox-tools/whitebox-tools.SlackBuild +++ b/gis/whitebox-tools/whitebox-tools.SlackBuild @@ -22,6 +22,8 @@ # 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=whitebox-tools BINNAM=`echo $PRGNAM | tr - _` VERSION=${VERSION:-1.5.0} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then fi fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/gis/xplanet/xplanet.SlackBuild b/gis/xplanet/xplanet.SlackBuild index 1de0526cd462..6073faceb6bd 100644 --- a/gis/xplanet/xplanet.SlackBuild +++ b/gis/xplanet/xplanet.SlackBuild @@ -2,12 +2,13 @@ # Written by Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Based on http://slackbuilds.org/template.SlackBuild +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xplanet VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |