aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Alchemy/Alchemy.SlackBuild3
-rw-r--r--graphics/Blender/Blender.SlackBuild3
-rw-r--r--graphics/CairoSVG/CairoSVG.SlackBuild3
-rw-r--r--graphics/FSPViewer/FSPViewer.SlackBuild3
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild3
-rw-r--r--graphics/GPS/GPS.SlackBuild3
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild3
-rw-r--r--graphics/HotShots/HotShots.SlackBuild3
-rw-r--r--graphics/LDView/LDView.SlackBuild3
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild3
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild3
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild3
-rw-r--r--graphics/Pixie/Pixie.SlackBuild3
-rw-r--r--graphics/PureRef/PureRef.SlackBuild3
-rw-r--r--graphics/PyMOL/PyMOL.SlackBuild3
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild3
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild3
-rw-r--r--graphics/VariCAD/VariCAD.SlackBuild3
-rw-r--r--graphics/XnViewMP/XnViewMP.SlackBuild3
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild3
-rw-r--r--graphics/abcm2ps/abcm2ps.SlackBuild3
-rw-r--r--graphics/advancecomp/advancecomp.SlackBuild3
-rw-r--r--graphics/aewan/aewan.SlackBuild3
-rw-r--r--graphics/apitrace/apitrace.SlackBuild3
-rw-r--r--graphics/asciiquarium/asciiquarium.SlackBuild3
-rw-r--r--graphics/autotrace/autotrace.SlackBuild3
-rw-r--r--graphics/azpainter/azpainter.SlackBuild3
-rw-r--r--graphics/baires/baires.SlackBuild3
-rw-r--r--graphics/barcode/barcode.SlackBuild3
-rw-r--r--graphics/bdfedit/bdfedit.SlackBuild3
-rw-r--r--graphics/blender/blender.SlackBuild3
-rw-r--r--graphics/brlcad/brlcad.SlackBuild3
-rw-r--r--graphics/converseen/converseen.SlackBuild3
-rw-r--r--graphics/darktable/darktable.SlackBuild3
-rw-r--r--graphics/dblatex/dblatex.SlackBuild3
-rw-r--r--graphics/dcraw/dcraw.SlackBuild3
-rw-r--r--graphics/deskew/deskew.SlackBuild3
-rw-r--r--graphics/dia/dia.SlackBuild3
-rw-r--r--graphics/djview4/djview4.SlackBuild3
-rw-r--r--graphics/draw.io/draw.io.SlackBuild3
-rw-r--r--graphics/dvisvgm/dvisvgm.SlackBuild3
-rw-r--r--graphics/dxftoqet/dxftoqet.SlackBuild3
-rw-r--r--graphics/embree/embree.SlackBuild3
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild3
-rw-r--r--graphics/entangle/entangle.SlackBuild3
-rw-r--r--graphics/evolus-pencil/evolus-pencil.SlackBuild3
-rw-r--r--graphics/exact-image/exact-image.SlackBuild3
-rw-r--r--graphics/exif/exif.SlackBuild3
-rw-r--r--graphics/exiftags/exiftags.SlackBuild3
-rw-r--r--graphics/fbgrab/fbgrab.SlackBuild3
-rw-r--r--graphics/fbida/fbida.SlackBuild3
-rw-r--r--graphics/fbpic/fbpic.SlackBuild3
-rw-r--r--graphics/fbv/fbv.SlackBuild3
-rw-r--r--graphics/feh/feh.SlackBuild3
-rw-r--r--graphics/fig2sxd/fig2sxd.SlackBuild3
-rw-r--r--graphics/fim/fim.SlackBuild3
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild3
-rw-r--r--graphics/flameshot/flameshot.SlackBuild3
-rw-r--r--graphics/flpsed/flpsed.SlackBuild3
-rw-r--r--graphics/fontforge/fontforge.SlackBuild3
-rw-r--r--graphics/fotowall/fotowall.SlackBuild3
-rw-r--r--graphics/freewrl/freewrl.SlackBuild3
-rw-r--r--graphics/frescobaldi/frescobaldi.SlackBuild3
-rw-r--r--graphics/fritzing/fritzing.SlackBuild3
-rw-r--r--graphics/fyre/fyre.SlackBuild3
-rw-r--r--graphics/g3dviewer/g3dviewer.SlackBuild3
-rw-r--r--graphics/gallery/gallery.SlackBuild3
-rw-r--r--graphics/gbdfed/gbdfed.SlackBuild3
-rw-r--r--graphics/gcolor2/gcolor2.SlackBuild3
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild3
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild3
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild3
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild3
-rw-r--r--graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild3
-rw-r--r--graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild3
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild3
-rw-r--r--graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild3
-rw-r--r--graphics/gliv/gliv.SlackBuild3
-rw-r--r--graphics/gmic/gmic.SlackBuild3
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild3
-rw-r--r--graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild3
-rw-r--r--graphics/gnome-web-photo/gnome-web-photo.SlackBuild3
-rw-r--r--graphics/goocanvas/goocanvas.SlackBuild3
-rw-r--r--graphics/goocanvas2/goocanvas2.SlackBuild3
-rw-r--r--graphics/gource/gource.SlackBuild3
-rw-r--r--graphics/gpaint/gpaint.SlackBuild3
-rw-r--r--graphics/gpicview/gpicview.SlackBuild3
-rw-r--r--graphics/gpscorrelate/gpscorrelate.SlackBuild3
-rw-r--r--graphics/grafx2/grafx2.SlackBuild3
-rw-r--r--graphics/graph-easy/graph-easy.SlackBuild3
-rw-r--r--graphics/graphviz/graphviz.SlackBuild3
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild3
-rw-r--r--graphics/gthumb/gthumb.SlackBuild3
-rw-r--r--graphics/gtkam/gtkam.SlackBuild3
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild3
-rw-r--r--graphics/hp2xx/hp2xx.SlackBuild3
-rw-r--r--graphics/hugin/hugin.SlackBuild3
-rw-r--r--graphics/icc_profiles/icc_profiles.SlackBuild3
-rw-r--r--graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild3
-rw-r--r--graphics/img2pdf/img2pdf.SlackBuild3
-rw-r--r--graphics/imgmin/imgmin.SlackBuild3
-rw-r--r--graphics/imgp/imgp.SlackBuild3
-rw-r--r--graphics/imv/imv.SlackBuild3
-rw-r--r--graphics/inkscape/inkscape.SlackBuild3
-rw-r--r--graphics/ipe/ipe.SlackBuild3
-rw-r--r--graphics/jUploadr/jUploadr.SlackBuild3
-rw-r--r--graphics/jhead/jhead.SlackBuild3
-rw-r--r--graphics/jp2a/jp2a.SlackBuild3
-rw-r--r--graphics/jpeg2ps/jpeg2ps.SlackBuild3
-rw-r--r--graphics/jpegoptim/jpegoptim.SlackBuild3
-rw-r--r--graphics/k3d/k3d.SlackBuild3
-rw-r--r--graphics/kamerka/kamerka.SlackBuild3
-rw-r--r--graphics/kim4/kim4.SlackBuild3
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild3
-rw-r--r--graphics/kuickshow/kuickshow.SlackBuild3
-rw-r--r--graphics/lcdtest/lcdtest.SlackBuild3
-rw-r--r--graphics/lddot/lddot.SlackBuild3
-rw-r--r--graphics/ldglite/ldglite.SlackBuild3
-rw-r--r--graphics/leocad/leocad.SlackBuild3
-rw-r--r--graphics/leocad_pieces/leocad_pieces.SlackBuild3
-rw-r--r--graphics/libfpx/libfpx.SlackBuild3
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild3
-rw-r--r--graphics/librecad/librecad.SlackBuild3
-rw-r--r--graphics/lilypond/lilypond.SlackBuild3
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild3
-rw-r--r--graphics/luxrender/luxrender.SlackBuild3
-rw-r--r--graphics/maim/maim.SlackBuild3
-rw-r--r--graphics/makehuman/makehuman.SlackBuild3
-rw-r--r--graphics/mapcrafter/mapcrafter.SlackBuild3
-rw-r--r--graphics/meh/meh.SlackBuild3
-rw-r--r--graphics/meshlab/meshlab.SlackBuild3
-rw-r--r--graphics/metapixel/metapixel.SlackBuild3
-rw-r--r--graphics/mftrace/mftrace.SlackBuild3
-rw-r--r--graphics/mirage/mirage.SlackBuild3
-rw-r--r--graphics/mitsuba-blender/mitsuba-blender.SlackBuild3
-rw-r--r--graphics/mitsuba/mitsuba.SlackBuild3
-rw-r--r--graphics/mlbrot/mlbrot.SlackBuild3
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild3
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild3
-rw-r--r--graphics/mypaint/mypaint.SlackBuild3
-rw-r--r--graphics/nomacs/nomacs.SlackBuild3
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild3
-rw-r--r--graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild3
-rw-r--r--graphics/openclipart/openclipart.SlackBuild3
-rw-r--r--graphics/opencollada/opencollada.SlackBuild3
-rw-r--r--graphics/opencolorio/opencolorio.SlackBuild3
-rw-r--r--graphics/openimageio/openimageio.SlackBuild3
-rw-r--r--graphics/openscad-mcad/openscad-mcad.SlackBuild3
-rw-r--r--graphics/openscad/openscad.SlackBuild3
-rw-r--r--graphics/optipng/optipng.SlackBuild3
-rw-r--r--graphics/oyranos/oyranos.SlackBuild3
-rw-r--r--graphics/paraview/paraview.SlackBuild3
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild3
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild3
-rw-r--r--graphics/pdf2svg/pdf2svg.SlackBuild3
-rw-r--r--graphics/pencil2d/pencil2d.SlackBuild3
-rw-r--r--graphics/pencil3/pencil3.SlackBuild3
-rw-r--r--graphics/phatch/phatch.SlackBuild3
-rw-r--r--graphics/pho/pho.SlackBuild3
-rw-r--r--graphics/photivo/photivo.SlackBuild3
-rw-r--r--graphics/photoqt/photoqt.SlackBuild3
-rw-r--r--graphics/phototonic/phototonic.SlackBuild3
-rw-r--r--graphics/plotutils/plotutils.SlackBuild3
-rw-r--r--graphics/png2ico/png2ico.SlackBuild3
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild3
-rw-r--r--graphics/pngquant/pngquant.SlackBuild3
-rw-r--r--graphics/potrace/potrace.SlackBuild3
-rw-r--r--graphics/povray/povray.SlackBuild3
-rw-r--r--graphics/pqiv/pqiv.SlackBuild3
-rw-r--r--graphics/pr0ntools/pr0ntools.SlackBuild3
-rw-r--r--graphics/psftools/psftools.SlackBuild3
-rw-r--r--graphics/pyformex/pyformex.SlackBuild3
-rw-r--r--graphics/pygifme/pygifme.SlackBuild3
-rw-r--r--graphics/pygraphviz/pygraphviz.SlackBuild3
-rw-r--r--graphics/qcad/qcad.SlackBuild3
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild3
-rw-r--r--graphics/qelectrotech/qelectrotech.SlackBuild3
-rw-r--r--graphics/qiv/qiv.SlackBuild3
-rw-r--r--graphics/ralcgm/ralcgm.SlackBuild3
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild3
-rw-r--r--graphics/rawstudio/rawstudio.SlackBuild3
-rw-r--r--graphics/rawtherapee/rawtherapee.SlackBuild3
-rw-r--r--graphics/renderdoc/renderdoc.SlackBuild3
-rw-r--r--graphics/resynthesizer/resynthesizer.SlackBuild3
-rw-r--r--graphics/ristretto/ristretto.SlackBuild3
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild3
-rw-r--r--graphics/scour/scour.SlackBuild3
-rw-r--r--graphics/screencloud/screencloud.SlackBuild3
-rw-r--r--graphics/screengrab/screengrab.SlackBuild3
-rw-r--r--graphics/scrot/scrot.SlackBuild3
-rw-r--r--graphics/separate+/separate+.SlackBuild3
-rw-r--r--graphics/shalbum/shalbum.SlackBuild3
-rw-r--r--graphics/shotwell/shotwell.SlackBuild3
-rw-r--r--graphics/shutter/shutter.SlackBuild3
-rw-r--r--graphics/simple-scan/simple-scan.SlackBuild3
-rw-r--r--graphics/sng/sng.SlackBuild3
-rw-r--r--graphics/svp/svp.SlackBuild3
-rw-r--r--graphics/sxiv/sxiv.SlackBuild3
-rw-r--r--graphics/tclblt/tclblt.SlackBuild3
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild3
-rw-r--r--graphics/teighaviewer/teighaviewer.SlackBuild3
-rw-r--r--graphics/tesseract/tesseract.SlackBuild3
-rw-r--r--graphics/textext/textext.SlackBuild3
-rw-r--r--graphics/tgif-QPL/tgif-QPL.SlackBuild3
-rw-r--r--graphics/tintii/tintii.SlackBuild3
-rw-r--r--graphics/tkpng/tkpng.SlackBuild3
-rw-r--r--graphics/triangulizor/triangulizor.SlackBuild3
-rw-r--r--graphics/trimage/trimage.SlackBuild3
-rw-r--r--graphics/ttyload/ttyload.SlackBuild3
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild3
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild3
-rw-r--r--graphics/ueberzug/ueberzug.SlackBuild3
-rw-r--r--graphics/ufraw/ufraw.SlackBuild3
-rw-r--r--graphics/uniconvertor/uniconvertor.SlackBuild3
-rw-r--r--graphics/unpaper/unpaper.SlackBuild3
-rw-r--r--graphics/urbanlightscape/urbanlightscape.SlackBuild3
-rw-r--r--graphics/veles/veles.SlackBuild3
-rw-r--r--graphics/viewnior/viewnior.SlackBuild3
-rw-r--r--graphics/vips/vips.SlackBuild3
-rw-r--r--graphics/vsxu/vsxu.SlackBuild3
-rw-r--r--graphics/vuescan/vuescan.SlackBuild3
-rw-r--r--graphics/wavelet-denoise/wavelet-denoise.SlackBuild3
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild3
-rw-r--r--graphics/white_dune/white_dune.SlackBuild3
-rw-r--r--graphics/whyteboard/whyteboard.SlackBuild3
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild3
-rw-r--r--graphics/xbmbrowser/xbmbrowser.SlackBuild3
-rw-r--r--graphics/xcalib/xcalib.SlackBuild3
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild3
-rw-r--r--graphics/xcur2png/xcur2png.SlackBuild3
-rw-r--r--graphics/xdaliclock/xdaliclock.SlackBuild3
-rw-r--r--graphics/xdot/xdot.SlackBuild3
-rw-r--r--graphics/xfishtank/xfishtank.SlackBuild3
-rw-r--r--graphics/xli/xli.SlackBuild3
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild3
-rw-r--r--graphics/xpe/xpe.SlackBuild3
-rw-r--r--graphics/xzgv/xzgv.SlackBuild3
-rw-r--r--graphics/yacreader/yacreader.SlackBuild3
-rw-r--r--graphics/yafaray-blender/yafaray-blender.SlackBuild3
-rw-r--r--graphics/yafaray/yafaray.SlackBuild3
-rw-r--r--graphics/yagf/yagf.SlackBuild3
-rw-r--r--graphics/yed/yed.SlackBuild3
-rw-r--r--graphics/yesplz/yesplz.SlackBuild3
-rw-r--r--graphics/zbar/zbar.SlackBuild3
-rw-r--r--graphics/zgv/zgv.SlackBuild3
245 files changed, 490 insertions, 245 deletions
diff --git a/graphics/Alchemy/Alchemy.SlackBuild b/graphics/Alchemy/Alchemy.SlackBuild
index 7bff8993a3bea..90af534bd9e05 100644
--- a/graphics/Alchemy/Alchemy.SlackBuild
+++ b/graphics/Alchemy/Alchemy.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=Alchemy
VERSION=${VERSION:-008}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 8fdbeddee6c1e..04974f162ce0e 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.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=Blender
VERSION=${VERSION:-2.93.1}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$SRCNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/CairoSVG/CairoSVG.SlackBuild b/graphics/CairoSVG/CairoSVG.SlackBuild
index 81462c5cc6aa3..c768fe52f6e6a 100644
--- a/graphics/CairoSVG/CairoSVG.SlackBuild
+++ b/graphics/CairoSVG/CairoSVG.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=CairoSVG
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/graphics/FSPViewer/FSPViewer.SlackBuild b/graphics/FSPViewer/FSPViewer.SlackBuild
index fc74338cde7ca..3357093bb3330 100644
--- a/graphics/FSPViewer/FSPViewer.SlackBuild
+++ b/graphics/FSPViewer/FSPViewer.SlackBuild
@@ -20,6 +20,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=FSPViewer
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ else
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index 17e3b3ab1be83..5874644d319e9 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -24,6 +24,8 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeCAD
VERSION=${VERSION:-0.19.2}
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/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild
index 7585578d21779..fac78e6d5a4ab 100644
--- a/graphics/GPS/GPS.SlackBuild
+++ b/graphics/GPS/GPS.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=GPS
VERSION=${VERSION:-2_0}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 5072cbbc47445..73b636ab4d549 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -41,6 +41,8 @@
# - build Tcl bindings (TclMagick)
# - document optional deps in README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GraphicsMagick
VERSION=${VERSION:-1.3.35}
BUILD=${BUILD:-1}
@@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/HotShots/HotShots.SlackBuild b/graphics/HotShots/HotShots.SlackBuild
index 190797de76e4e..579d682394442 100644
--- a/graphics/HotShots/HotShots.SlackBuild
+++ b/graphics/HotShots/HotShots.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=HotShots
VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-2}
@@ -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/graphics/LDView/LDView.SlackBuild b/graphics/LDView/LDView.SlackBuild
index b4ecd50db12aa..03c0735d1cb27 100644
--- a/graphics/LDView/LDView.SlackBuild
+++ b/graphics/LDView/LDView.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=LDView
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index b2b33f142bb68..38d1ae6f65d39 100644
--- a/graphics/LDraw_data/LDraw_data.SlackBuild
+++ b/graphics/LDraw_data/LDraw_data.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=LDraw_data
VERSION=${VERSION:-201601}
ARCH=noarch
@@ -33,7 +35,6 @@ TAG=${TAG:-_SBo}
PRGSRC=complete.zip
PRGUNZIPPED=ldraw
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index dc4ba79dcddf4..dadc07bc8dda1 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -24,6 +24,8 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenCASCADE
VERSION=${VERSION:-7.3.0}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
index 23995180d116b..629099f4bf228 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
+++ b/graphics/OpenSubdiv/OpenSubdiv.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=OpenSubdiv
SRCNAM=OpenSubDiv
VERSION=${VERSION:-3.4.4}
@@ -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/graphics/Pixie/Pixie.SlackBuild b/graphics/Pixie/Pixie.SlackBuild
index 0cc6717e03d2b..fa0ebfd385607 100644
--- a/graphics/Pixie/Pixie.SlackBuild
+++ b/graphics/Pixie/Pixie.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=Pixie
VERSION=${VERSION:-2.2.6}
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/graphics/PureRef/PureRef.SlackBuild b/graphics/PureRef/PureRef.SlackBuild
index df457c156d7fb..10a0e1516602b 100644
--- a/graphics/PureRef/PureRef.SlackBuild
+++ b/graphics/PureRef/PureRef.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=PureRef
VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ fi
set -e
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/PyMOL/PyMOL.SlackBuild b/graphics/PyMOL/PyMOL.SlackBuild
index e55d2f28a4722..7aa9c10bf3178 100644
--- a/graphics/PyMOL/PyMOL.SlackBuild
+++ b/graphics/PyMOL/PyMOL.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=PyMOL
SRCNAM=$(echo ${PRGNAM,,}-open-source)
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/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index bdb788907f31a..bb96f318c4e7c 100644
--- a/graphics/Shellpic/Shellpic.SlackBuild
+++ b/graphics/Shellpic/Shellpic.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=Shellpic
SRCNAM=$(echo ${PRGNAM,})
VERSION=${VERSION:-1.6.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/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index d508a95de60ef..a676a77d3c496 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -36,6 +36,8 @@
# 2.3 24-Jun-2019 version update
# 2.4 23-APR-2020 version update, switch to .jar for openjdk compatibility
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SweetHome3D
VERSION=${VERSION:-6.3}
BUILD=${BUILD:-1}
@@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild
index 1b922ddde3b27..95c3a16500ad8 100644
--- a/graphics/VariCAD/VariCAD.SlackBuild
+++ b/graphics/VariCAD/VariCAD.SlackBuild
@@ -26,6 +26,8 @@
# Written with inspiration from the OpenOffice.org SlackBuild, so thanks to Robby Workman :)
# Revision date: 2013/03/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=VariCAD
VERSION=${VERSION:-2013_2.01}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/XnViewMP/XnViewMP.SlackBuild b/graphics/XnViewMP/XnViewMP.SlackBuild
index a51776afc0e5a..49cf377bc5545 100644
--- a/graphics/XnViewMP/XnViewMP.SlackBuild
+++ b/graphics/XnViewMP/XnViewMP.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=XnViewMP
VERSION=${VERSION:-0.94.1}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ else
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index a017b9ff6ecfc..a108f49a5c813 100644
--- a/graphics/aaphoto/aaphoto.SlackBuild
+++ b/graphics/aaphoto/aaphoto.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=aaphoto
VERSION=${VERSION:-0.45}
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/graphics/abcm2ps/abcm2ps.SlackBuild b/graphics/abcm2ps/abcm2ps.SlackBuild
index b3262fdabcb36..e56178b98e7c1 100644
--- a/graphics/abcm2ps/abcm2ps.SlackBuild
+++ b/graphics/abcm2ps/abcm2ps.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=abcm2ps
VERSION=${VERSION:-8.14.2}
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/graphics/advancecomp/advancecomp.SlackBuild b/graphics/advancecomp/advancecomp.SlackBuild
index 6e2a168afd20d..2ba56d4436c62 100644
--- a/graphics/advancecomp/advancecomp.SlackBuild
+++ b/graphics/advancecomp/advancecomp.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=advancecomp
VERSION=${VERSION:-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/graphics/aewan/aewan.SlackBuild b/graphics/aewan/aewan.SlackBuild
index a995c0ce00221..40f893556ec99 100644
--- a/graphics/aewan/aewan.SlackBuild
+++ b/graphics/aewan/aewan.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=aewan
VERSION=${VERSION:-1.0.01}
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/graphics/apitrace/apitrace.SlackBuild b/graphics/apitrace/apitrace.SlackBuild
index 6f36357c668dd..57ff8922669e2 100644
--- a/graphics/apitrace/apitrace.SlackBuild
+++ b/graphics/apitrace/apitrace.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=apitrace
VERSION=${VERSION:-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/graphics/asciiquarium/asciiquarium.SlackBuild b/graphics/asciiquarium/asciiquarium.SlackBuild
index 6982e415daa2e..d5816b911aa2b 100644
--- a/graphics/asciiquarium/asciiquarium.SlackBuild
+++ b/graphics/asciiquarium/asciiquarium.SlackBuild
@@ -4,13 +4,14 @@
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asciiquarium
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
ARCH=noarch
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/autotrace/autotrace.SlackBuild b/graphics/autotrace/autotrace.SlackBuild
index 0712a2f9d563a..3757a72d8685a 100644
--- a/graphics/autotrace/autotrace.SlackBuild
+++ b/graphics/autotrace/autotrace.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=autotrace
VERSION=${VERSION:-0.31.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/graphics/azpainter/azpainter.SlackBuild b/graphics/azpainter/azpainter.SlackBuild
index caac6b36bd1cc..8b966a4a7a9b1 100644
--- a/graphics/azpainter/azpainter.SlackBuild
+++ b/graphics/azpainter/azpainter.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=azpainter
VERSION=${VERSION:-2.1.5}
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/graphics/baires/baires.SlackBuild b/graphics/baires/baires.SlackBuild
index d1c0b071e8f8b..66e89a0a30f43 100644
--- a/graphics/baires/baires.SlackBuild
+++ b/graphics/baires/baires.SlackBuild
@@ -30,6 +30,8 @@
# - make .desktop file validate
# - minor script cleanups
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=baires
VERSION=${VERSION:-1.2r1}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/barcode/barcode.SlackBuild b/graphics/barcode/barcode.SlackBuild
index 3ef6fe6bfbf97..fb4dbfd7822a4 100644
--- a/graphics/barcode/barcode.SlackBuild
+++ b/graphics/barcode/barcode.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=barcode
VERSION=${VERSION:-0.99}
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/graphics/bdfedit/bdfedit.SlackBuild b/graphics/bdfedit/bdfedit.SlackBuild
index da696d0bda734..7b47e70432224 100644
--- a/graphics/bdfedit/bdfedit.SlackBuild
+++ b/graphics/bdfedit/bdfedit.SlackBuild
@@ -16,6 +16,8 @@
# Yes, this is old software that hasn't been maintained in 12+ years,
# but it works fine.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bdfedit
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
# no CFLAGS or LIBDIRSUFFIX needed here
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/blender/blender.SlackBuild b/graphics/blender/blender.SlackBuild
index d5fb038a2d19f..622dc694e2f4d 100644
--- a/graphics/blender/blender.SlackBuild
+++ b/graphics/blender/blender.SlackBuild
@@ -26,6 +26,8 @@
# Thanks to Giorgio Peron <giorgio.peron@gmail.com> for some build tips
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=blender
VERSION=${VERSION:-2.90.1}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 31580d21d4871..0f4fc4d2cd5db 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -15,6 +15,8 @@
# Modified by John Vogel <jvogel4@stny.rr.com> for build with cmake
# ... and again to fix tcl/tk breakage
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=brlcad
VERSION=${VERSION:-7.30.10}
BUILD=${BUILD:-1}
@@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/converseen/converseen.SlackBuild b/graphics/converseen/converseen.SlackBuild
index 6bdaee2fd9ff0..b408262374106 100644
--- a/graphics/converseen/converseen.SlackBuild
+++ b/graphics/converseen/converseen.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=converseen
VERSION=${VERSION:-0.9.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/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index 9e7f4c146b7d5..3fece5b4d4805 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.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=darktable
VERSION=${VERSION:-3.4.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/graphics/dblatex/dblatex.SlackBuild b/graphics/dblatex/dblatex.SlackBuild
index a9ed09ccc782c..62b79aa16d387 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -4,6 +4,8 @@
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dblatex
VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-2}
@@ -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/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild
index b482bda81f2f9..5436ede1f4eaa 100644
--- a/graphics/dcraw/dcraw.SlackBuild
+++ b/graphics/dcraw/dcraw.SlackBuild
@@ -29,6 +29,8 @@
# If you want to build the rawphoto gimp plug-in, invoke the script as:
# RAWPHOTO=yes ./dcraw.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="dcraw"
VERSION=${VERSION:-9.28.0}
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/graphics/deskew/deskew.SlackBuild b/graphics/deskew/deskew.SlackBuild
index 5dbeba39d168b..a1dd3b1d84d66 100644
--- a/graphics/deskew/deskew.SlackBuild
+++ b/graphics/deskew/deskew.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=deskew
VERSION=${VERSION:-1.30}
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/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index 27caaa85a1b58..2f23499c7c3da 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -15,6 +15,8 @@
# 19.09.2015:
# * reviewed and updated for dia 0.97.3.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dia
VERSION=${VERSION:-0.97.3}
BUILD=${BUILD:-2}
@@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index fedd6c3b3d4da..3701fb43ce99f 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -26,6 +26,8 @@
# Thanks Jean-Pierre Moreau.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=djview4
VERSION=${VERSION:-4.10.6}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/draw.io/draw.io.SlackBuild b/graphics/draw.io/draw.io.SlackBuild
index f736c66719065..f85830e13574c 100644
--- a/graphics/draw.io/draw.io.SlackBuild
+++ b/graphics/draw.io/draw.io.SlackBuild
@@ -27,12 +27,13 @@
# 2019/09/08 - Updated to upstream V11.2.5
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=draw.io
VERSION=${VERSION:-12.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/dvisvgm/dvisvgm.SlackBuild b/graphics/dvisvgm/dvisvgm.SlackBuild
index d68a1eb3ec119..137202e1490da 100644
--- a/graphics/dvisvgm/dvisvgm.SlackBuild
+++ b/graphics/dvisvgm/dvisvgm.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=dvisvgm
VERSION=${VERSION:-1.12}
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/graphics/dxftoqet/dxftoqet.SlackBuild b/graphics/dxftoqet/dxftoqet.SlackBuild
index 4ccf8edb554d8..b91a64bd98f42 100644
--- a/graphics/dxftoqet/dxftoqet.SlackBuild
+++ b/graphics/dxftoqet/dxftoqet.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=dxftoqet
VERSION=${VERSION:-160326}
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/graphics/embree/embree.SlackBuild b/graphics/embree/embree.SlackBuild
index 13e631eb5f2e3..749ad1d87f316 100644
--- a/graphics/embree/embree.SlackBuild
+++ b/graphics/embree/embree.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=embree
VERSION=${VERSION:-3.12.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/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
index 71b4fa88c886f..31f928b5caa55 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
+++ b/graphics/enblend-enfuse/enblend-enfuse.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=enblend-enfuse
VERSION=${VERSION:-4.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/graphics/entangle/entangle.SlackBuild b/graphics/entangle/entangle.SlackBuild
index 2b0f8c969ee54..961de863b706e 100644
--- a/graphics/entangle/entangle.SlackBuild
+++ b/graphics/entangle/entangle.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=entangle
VERSION=${VERSION:-0.7.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/graphics/evolus-pencil/evolus-pencil.SlackBuild b/graphics/evolus-pencil/evolus-pencil.SlackBuild
index ea73559c6fb6b..590f7d3b6129f 100644
--- a/graphics/evolus-pencil/evolus-pencil.SlackBuild
+++ b/graphics/evolus-pencil/evolus-pencil.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=evolus-pencil
SRCNAM=pencil
VERSION=${VERSION:-2.0.5}
@@ -32,7 +34,6 @@ APPBUILD=${APPBUILD:-1.fc19}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index 36d56027a4e89..79b8b66d9c8e7 100644
--- a/graphics/exact-image/exact-image.SlackBuild
+++ b/graphics/exact-image/exact-image.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=exact-image
VERSION=${VERSION:-1.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
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/exif/exif.SlackBuild b/graphics/exif/exif.SlackBuild
index 3d00b8e6452b9..90a007d273936 100644
--- a/graphics/exif/exif.SlackBuild
+++ b/graphics/exif/exif.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=exif
VERSION=${VERSION:-0.6.22}
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/graphics/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild
index 08402b4606941..57b0fbaeae946 100644
--- a/graphics/exiftags/exiftags.SlackBuild
+++ b/graphics/exiftags/exiftags.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exiftags
VERSION=${VERSION:-1.01}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fbgrab/fbgrab.SlackBuild b/graphics/fbgrab/fbgrab.SlackBuild
index 7da4400be0f67..0e6eee07b2b01 100644
--- a/graphics/fbgrab/fbgrab.SlackBuild
+++ b/graphics/fbgrab/fbgrab.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=fbgrab
VERSION=${VERSION:-1.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/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild
index 3f2b4224d41ac..f131d6eeb013d 100644
--- a/graphics/fbida/fbida.SlackBuild
+++ b/graphics/fbida/fbida.SlackBuild
@@ -50,6 +50,8 @@
# 20140915 bkw: take over maintenance, minor script cleanup
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbida
VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1}
@@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fbpic/fbpic.SlackBuild b/graphics/fbpic/fbpic.SlackBuild
index 1ea83e08c5e3c..7450123483b4b 100644
--- a/graphics/fbpic/fbpic.SlackBuild
+++ b/graphics/fbpic/fbpic.SlackBuild
@@ -8,6 +8,8 @@
# for years and nobody complained. Made it build, and use standard
# SLKCFLAGS.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbpic
VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-2}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fbv/fbv.SlackBuild b/graphics/fbv/fbv.SlackBuild
index 47b1e68f344a8..689db573ec437 100644
--- a/graphics/fbv/fbv.SlackBuild
+++ b/graphics/fbv/fbv.SlackBuild
@@ -10,6 +10,8 @@
# but it seems to be intermittently broken, so the .info file has a mirrored
# copy.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbv
VERSION=${VERSION:-1.0b}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index 8a79479b51d54..ebeb1336ee776 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -23,6 +23,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=feh
VERSION=${VERSION:-3.6.1}
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/graphics/fig2sxd/fig2sxd.SlackBuild b/graphics/fig2sxd/fig2sxd.SlackBuild
index af028b9d19721..2be14909a1c6a 100644
--- a/graphics/fig2sxd/fig2sxd.SlackBuild
+++ b/graphics/fig2sxd/fig2sxd.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fig2sxd
VERSION=${VERSION:-0.22.1}
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/graphics/fim/fim.SlackBuild b/graphics/fim/fim.SlackBuild
index 11deece20e9b5..8a3d42320ad9e 100644
--- a/graphics/fim/fim.SlackBuild
+++ b/graphics/fim/fim.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=fim
VERSION=${VERSION:-0.6_trunk}
SRCVER=$(echo $VERSION | tr _ -)
@@ -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/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild
index 2af95f36a8639..659c38a6abca3 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=findimagedupes
VERSION=${VERSION:-2.19}
BUILD=${BUILD:-2}
@@ -13,7 +15,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild
index c011a146db650..a3c742c3ac0ba 100644
--- a/graphics/flameshot/flameshot.SlackBuild
+++ b/graphics/flameshot/flameshot.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=flameshot
VERSION=${VERSION:-0.8.5}
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/graphics/flpsed/flpsed.SlackBuild b/graphics/flpsed/flpsed.SlackBuild
index 01ae588472596..42c4f16b19e04 100644
--- a/graphics/flpsed/flpsed.SlackBuild
+++ b/graphics/flpsed/flpsed.SlackBuild
@@ -11,6 +11,8 @@
# - Get rid of INSTALL in doc dir
# - Homepage went away, use Fedora download and archive.org homepage.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flpsed
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 51cc8b44ca290..252d9b976805f 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -28,6 +28,8 @@
# Update to Version ff 20190801, gnulib 20200505~0747bf0
# Added --without-libuninameslist
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fontforge
VERSION=${VERSION:-20190801}
BUILD=${BUILD:-1}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 45a3c1326eea4..34485342c1092 100644
--- a/graphics/fotowall/fotowall.SlackBuild
+++ b/graphics/fotowall/fotowall.SlackBuild
@@ -6,6 +6,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fotowall
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/freewrl/freewrl.SlackBuild b/graphics/freewrl/freewrl.SlackBuild
index f4a3d9e18e532..58787c5354821 100644
--- a/graphics/freewrl/freewrl.SlackBuild
+++ b/graphics/freewrl/freewrl.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=freewrl
VERSION=${VERSION:-3.0.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/graphics/frescobaldi/frescobaldi.SlackBuild b/graphics/frescobaldi/frescobaldi.SlackBuild
index 6b9dae429f495..fa33d6e7d433a 100644
--- a/graphics/frescobaldi/frescobaldi.SlackBuild
+++ b/graphics/frescobaldi/frescobaldi.SlackBuild
@@ -3,6 +3,8 @@
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frescobaldi
VERSION=${VERSION:-3.1.3}
BUILD=${BUILD:-1}
@@ -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/graphics/fritzing/fritzing.SlackBuild b/graphics/fritzing/fritzing.SlackBuild
index f3516d40ddff3..848b6099bd0a7 100644
--- a/graphics/fritzing/fritzing.SlackBuild
+++ b/graphics/fritzing/fritzing.SlackBuild
@@ -27,6 +27,8 @@
# Revision date 2019/06/04
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fritzing
VERSION=${VERSION:-0.9.3b}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/fyre/fyre.SlackBuild b/graphics/fyre/fyre.SlackBuild
index af0ae8a2ace78..5d9aa4cb1c59e 100644
--- a/graphics/fyre/fyre.SlackBuild
+++ b/graphics/fyre/fyre.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=fyre
VERSION=${VERSION:-1.0.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/graphics/g3dviewer/g3dviewer.SlackBuild b/graphics/g3dviewer/g3dviewer.SlackBuild
index 42d4e9fd97f37..cfae43677d2a0 100644
--- a/graphics/g3dviewer/g3dviewer.SlackBuild
+++ b/graphics/g3dviewer/g3dviewer.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=g3dviewer
VERSION=${VERSION:-0.2.99.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/graphics/gallery/gallery.SlackBuild b/graphics/gallery/gallery.SlackBuild
index 2a9109c38da74..b328e35219760 100644
--- a/graphics/gallery/gallery.SlackBuild
+++ b/graphics/gallery/gallery.SlackBuild
@@ -25,6 +25,8 @@
# 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="gallery"
VERSION=${VERSION:-3.0.9}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch # hardcode ARCH
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gbdfed/gbdfed.SlackBuild b/graphics/gbdfed/gbdfed.SlackBuild
index a57fa2b067cfd..e7bc19cbf8315 100644
--- a/graphics/gbdfed/gbdfed.SlackBuild
+++ b/graphics/gbdfed/gbdfed.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gbdfed
# Written by Kyle Guinn <elyk03@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gbdfed
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gcolor2/gcolor2.SlackBuild b/graphics/gcolor2/gcolor2.SlackBuild
index 2a4832a3a4fa7..d5ad634bc8352 100644
--- a/graphics/gcolor2/gcolor2.SlackBuild
+++ b/graphics/gcolor2/gcolor2.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=gcolor2
VERSION=${VERSION:-0.4}
BUILD=${BUILD:-4}
@@ -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/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
index 14ca3b0c73051..ef4ab1b71eea5 100644
--- a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gdk-pixbuf-psd
VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild
index 9f835325e8a12..5518195a06d1c 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gifsicle
VERSION=${VERSION:-1.92}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 1d9c303dd2349..30c7688981ef9 100644
--- a/graphics/gimagereader/gimagereader.SlackBuild
+++ b/graphics/gimagereader/gimagereader.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=gimagereader
VERSION=${VERSION:-20201201_2d32618}
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/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
index 0c4b9fcb131bf..5f062612f813d 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
@@ -4,6 +4,8 @@
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-feca_hdr-plugin
VERSION=${VERSION:-2010.04.26}
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/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild b/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
index 5c16aef7733f5..22c9209b2b8f6 100644
--- a/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
+++ b/graphics/gimp-lqr-plugin/gimp-lqr-plugin.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=gimp-lqr-plugin
VERSION=${VERSION:-0.7.2}
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/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
index 3861db588201d..ce5ea95b8eedd 100644
--- a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
+++ b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
@@ -26,6 +26,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=gimp-plugin-bimp
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
index 4f8606342285d..be59afc523a80 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.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=gimp-plugin-export-layers
VERSION=${VERSION:-3.3.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/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
index ac67d5680e545..6fea68f2be001 100644
--- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
+++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <wideangle>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-wideangle-plugin
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-2}
@@ -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/graphics/gliv/gliv.SlackBuild b/graphics/gliv/gliv.SlackBuild
index ad0a62dee058a..30aeea3dad5af 100644
--- a/graphics/gliv/gliv.SlackBuild
+++ b/graphics/gliv/gliv.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gliv
# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gliv
VERSION=${VERSION:-1.9.7}
BUILD=${BUILD:-1}
@@ -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/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index 844f9d3e8e8e2..afb016f99205f 100644
--- a/graphics/gmic/gmic.SlackBuild
+++ b/graphics/gmic/gmic.SlackBuild
@@ -20,6 +20,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=gmic
VERSION=${VERSION:-2.9.4}
COMMUNITYVERSION=${COMMUNITYVERSION:-6e9a20ef40e1db99c9b761853ad493ee7439e1b7}
@@ -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/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild
index 3ef504bdfa6c5..4c17d83735b0e 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.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=gnofract4d
VERSION=${VERSION:-3.14.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/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild b/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
index 9dda8f6be0e9b..708d314804682 100644
--- a/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
+++ b/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gnome-themes-extras
# Written by Arvydas Sidorenko (asido4@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-themes-extras
VERSION=${VERSION:-2.22.0}
BUILD=${BUILD:-1}
@@ -10,7 +12,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/gnome-web-photo/gnome-web-photo.SlackBuild b/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
index 521298a65ad17..b132167fb3dd0 100644
--- a/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
+++ b/graphics/gnome-web-photo/gnome-web-photo.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=gnome-web-photo
VERSION=${VERSION:-0.10.6}
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/graphics/goocanvas/goocanvas.SlackBuild b/graphics/goocanvas/goocanvas.SlackBuild
index fa2457991ba1e..aa7b076be1894 100644
--- a/graphics/goocanvas/goocanvas.SlackBuild
+++ b/graphics/goocanvas/goocanvas.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=goocanvas
VERSION=${VERSION:-0.15}
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/graphics/goocanvas2/goocanvas2.SlackBuild b/graphics/goocanvas2/goocanvas2.SlackBuild
index 056e786f0ac3d..c752d75c7a390 100644
--- a/graphics/goocanvas2/goocanvas2.SlackBuild
+++ b/graphics/goocanvas2/goocanvas2.SlackBuild
@@ -20,6 +20,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=goocanvas2
SRCNAM=goocanvas
VERSION=${VERSION:-2.0.4}
@@ -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/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild
index 099d0f6ecf31f..774493bf9143f 100644
--- a/graphics/gource/gource.SlackBuild
+++ b/graphics/gource/gource.SlackBuild
@@ -24,6 +24,8 @@
# generated by grissiom's sbo-dev-helper
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gource
VERSION=${VERSION:-0.51}
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/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild
index 27123cfb96bbd..41bc7e5ba2d2e 100644
--- a/graphics/gpaint/gpaint.SlackBuild
+++ b/graphics/gpaint/gpaint.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=gpaint
VERSION=${VERSION:-0.3.3}
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/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index 13409fad1b78c..071f63d479f3f 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -3,6 +3,8 @@
# slackware build script for gpicview
# Written Evandro Alves Rodrigues evandrofisico@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpicview
VERSION=${VERSION:-0.2.5}
BUILD=${BUILD:-1}
@@ -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/graphics/gpscorrelate/gpscorrelate.SlackBuild b/graphics/gpscorrelate/gpscorrelate.SlackBuild
index 8772de1c9c34d..14fae9e21405a 100644
--- a/graphics/gpscorrelate/gpscorrelate.SlackBuild
+++ b/graphics/gpscorrelate/gpscorrelate.SlackBuild
@@ -24,6 +24,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpscorrelate
VERSION=${VERSION:-1.6.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/graphics/grafx2/grafx2.SlackBuild b/graphics/grafx2/grafx2.SlackBuild
index 444e9704e7381..cf6151127eb28 100644
--- a/graphics/grafx2/grafx2.SlackBuild
+++ b/graphics/grafx2/grafx2.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=grafx2
VERSION=${VERSION:-2.5.1960}
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/graphics/graph-easy/graph-easy.SlackBuild b/graphics/graph-easy/graph-easy.SlackBuild
index c11b46d89f8b4..df6dbf101e0d2 100644
--- a/graphics/graph-easy/graph-easy.SlackBuild
+++ b/graphics/graph-easy/graph-easy.SlackBuild
@@ -16,6 +16,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=graph-easy
SRCNAM=Graph-Easy
VERSION=${VERSION:-0.76}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 19f258b6259a8..626e0a24b92ee 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.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=graphviz
VERSION=${VERSION:-2.40.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/graphics/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
index 886a383251659..53c72424efebf 100644
--- a/graphics/gscan2pdf/gscan2pdf.SlackBuild
+++ b/graphics/gscan2pdf/gscan2pdf.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=gscan2pdf
VERSION=${VERSION:-2.11.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/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild
index 60c37ce073a8a..07f847916b564 100644
--- a/graphics/gthumb/gthumb.SlackBuild
+++ b/graphics/gthumb/gthumb.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=gthumb
VERSION=${VERSION:-3.10.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/graphics/gtkam/gtkam.SlackBuild b/graphics/gtkam/gtkam.SlackBuild
index 9eb711908d417..3dad9247ea3c3 100644
--- a/graphics/gtkam/gtkam.SlackBuild
+++ b/graphics/gtkam/gtkam.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=gtkam
VERSION=${VERSION:-0.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/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
index ee5108a98c380..42479314acaab 100644
--- a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.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=heif-gimp-plugin
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/graphics/hp2xx/hp2xx.SlackBuild b/graphics/hp2xx/hp2xx.SlackBuild
index cc95f66ee9066..469d449f74b7e 100644
--- a/graphics/hp2xx/hp2xx.SlackBuild
+++ b/graphics/hp2xx/hp2xx.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hp2xx
VERSION=${VERSION:-3.4.4}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 4475d22c1cc0d..b16ca8b68625b 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.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=hugin
VERSION=${VERSION:-2018.0.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/graphics/icc_profiles/icc_profiles.SlackBuild b/graphics/icc_profiles/icc_profiles.SlackBuild
index ae85d46243135..c375fa1066ede 100644
--- a/graphics/icc_profiles/icc_profiles.SlackBuild
+++ b/graphics/icc_profiles/icc_profiles.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icc_profiles
SRCNAM="ICC Profiles - hbrendel.com"
UNION=ITU
@@ -18,7 +20,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
index de40032566b76..8c8c52aaaba08 100644
--- a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
+++ b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icc_profiles_from_eci
VERSION=${VERSION:-"2017_08_27"}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ ECINAM=eciRGB_v2_profile
CMYKNAM=ecicmyk
DEVICELINK=ecicmyk_devicelinkprofiles_$(echo $VERSION | tr _ -)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/img2pdf/img2pdf.SlackBuild b/graphics/img2pdf/img2pdf.SlackBuild
index 6f34a3d191952..06fa1d388a43a 100644
--- a/graphics/img2pdf/img2pdf.SlackBuild
+++ b/graphics/img2pdf/img2pdf.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=img2pdf
VERSION=${VERSION:-0.4.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/graphics/imgmin/imgmin.SlackBuild b/graphics/imgmin/imgmin.SlackBuild
index 8ba96be512858..85e5f0c7c406d 100644
--- a/graphics/imgmin/imgmin.SlackBuild
+++ b/graphics/imgmin/imgmin.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=imgmin
VERSION=${VERSION:-1.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/graphics/imgp/imgp.SlackBuild b/graphics/imgp/imgp.SlackBuild
index 38ab402de1a7e..383c27d24244a 100644
--- a/graphics/imgp/imgp.SlackBuild
+++ b/graphics/imgp/imgp.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=imgp
VERSION=${VERSION:-2.6}
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/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
index f3a577d5172ff..bc33c94147a79 100644
--- a/graphics/imv/imv.SlackBuild
+++ b/graphics/imv/imv.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imv
VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 747e9a186bdb0..3408faeb9e9b1 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.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=inkscape
VERSION=${VERSION:-1.0.2}
EXTRAVER=${EXTRAVER:-2021-01-15_e86c870879}
@@ -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/graphics/ipe/ipe.SlackBuild b/graphics/ipe/ipe.SlackBuild
index 0991741eb727f..6e212845c19b1 100644
--- a/graphics/ipe/ipe.SlackBuild
+++ b/graphics/ipe/ipe.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=ipe
VERSION=${VERSION:-7.2.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/graphics/jUploadr/jUploadr.SlackBuild b/graphics/jUploadr/jUploadr.SlackBuild
index be5a7f6b98d93..e381532398358 100644
--- a/graphics/jUploadr/jUploadr.SlackBuild
+++ b/graphics/jUploadr/jUploadr.SlackBuild
@@ -4,6 +4,8 @@
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jUploadr
VERSION=${VERSION:-1.1.2}
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/graphics/jhead/jhead.SlackBuild b/graphics/jhead/jhead.SlackBuild
index c8b43a7ff7da0..9e55b123b77b1 100644
--- a/graphics/jhead/jhead.SlackBuild
+++ b/graphics/jhead/jhead.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=jhead
VERSION=${VERSION:-3.00}
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/graphics/jp2a/jp2a.SlackBuild b/graphics/jp2a/jp2a.SlackBuild
index 1b3ec7cc7f78b..5c15ef25bc501 100644
--- a/graphics/jp2a/jp2a.SlackBuild
+++ b/graphics/jp2a/jp2a.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=jp2a
VERSION=${VERSION:-1.0.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/graphics/jpeg2ps/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild
index cef08282eb302..38f965b41ccbd 100644
--- a/graphics/jpeg2ps/jpeg2ps.SlackBuild
+++ b/graphics/jpeg2ps/jpeg2ps.SlackBuild
@@ -12,6 +12,8 @@
# particular purpose. This software is provided as is, and you assume all risks
# when using it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpeg2ps
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/jpegoptim/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild
index feb8fac6dd20d..f77c11eb04bd6 100644
--- a/graphics/jpegoptim/jpegoptim.SlackBuild
+++ b/graphics/jpegoptim/jpegoptim.SlackBuild
@@ -32,6 +32,8 @@
# - use long-form github URL
# - update configure to match template (actually use SLKCFLAGS).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpegoptim
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/k3d/k3d.SlackBuild b/graphics/k3d/k3d.SlackBuild
index 95ef5a6891b8d..1ef554456ebdc 100644
--- a/graphics/k3d/k3d.SlackBuild
+++ b/graphics/k3d/k3d.SlackBuild
@@ -26,6 +26,8 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=k3d
VERSION=${VERSION:-0.8.0.6}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/kamerka/kamerka.SlackBuild b/graphics/kamerka/kamerka.SlackBuild
index 76dcadc1ce4e1..470c746f7be29 100644
--- a/graphics/kamerka/kamerka.SlackBuild
+++ b/graphics/kamerka/kamerka.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=kamerka
VERSION=${VERSION:-0.8.5}
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/graphics/kim4/kim4.SlackBuild b/graphics/kim4/kim4.SlackBuild
index 0fa085f2af64b..da96c188b09b8 100644
--- a/graphics/kim4/kim4.SlackBuild
+++ b/graphics/kim4/kim4.SlackBuild
@@ -24,6 +24,8 @@
#
# Modified by the slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kim4
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index fe788b052cad0..6c71bff33780e 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for kphotoalbum
# By default the demo pictures and movie are packaged.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kphotoalbum
VERSION=${VERSION:-5.7.0}
BUILD=${BUILD:-1}
@@ -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/graphics/kuickshow/kuickshow.SlackBuild b/graphics/kuickshow/kuickshow.SlackBuild
index 32864f500859a..9978b09a61403 100644
--- a/graphics/kuickshow/kuickshow.SlackBuild
+++ b/graphics/kuickshow/kuickshow.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=kuickshow
VERSION=${VERSION:-0.10.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/graphics/lcdtest/lcdtest.SlackBuild b/graphics/lcdtest/lcdtest.SlackBuild
index 2ac5f232ec4af..7b118a532f144 100644
--- a/graphics/lcdtest/lcdtest.SlackBuild
+++ b/graphics/lcdtest/lcdtest.SlackBuild
@@ -4,6 +4,8 @@
# Written by Taxis taxis@gmx.us
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lcdtest
VERSION=${VERSION:-1.18}
BUILD=${BUILD:-2}
@@ -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/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild
index 04fcadcda9639..2cbd911f9c041 100644
--- a/graphics/lddot/lddot.SlackBuild
+++ b/graphics/lddot/lddot.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lddot
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -13,7 +15,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/ldglite/ldglite.SlackBuild b/graphics/ldglite/ldglite.SlackBuild
index c043dcd900b36..0ad706881bf03 100644
--- a/graphics/ldglite/ldglite.SlackBuild
+++ b/graphics/ldglite/ldglite.SlackBuild
@@ -25,6 +25,8 @@
# revision date 2012/09/13
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ldglite
VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
index 3f96bbcbbb9ad..799a7f9eb9097 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.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=leocad
VERSION=${VERSION:-17.07}
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/graphics/leocad_pieces/leocad_pieces.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild
index 518882c500f44..187b95bda45fb 100644
--- a/graphics/leocad_pieces/leocad_pieces.SlackBuild
+++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild
@@ -24,13 +24,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=leocad_pieces
VERSION=${VERSION:-9781}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/libfpx/libfpx.SlackBuild b/graphics/libfpx/libfpx.SlackBuild
index db95ea41c6e30..3115d3e0a0033 100644
--- a/graphics/libfpx/libfpx.SlackBuild
+++ b/graphics/libfpx/libfpx.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libfpx
VERSION=${VERSION:-1.3.1_10}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild
index 2e057a5537cdb..b661372b7f185 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.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=libplacebo
VERSION=${VERSION:-3.120.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/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index ac65c7d928450..6f086724dd8ff 100644
--- a/graphics/librecad/librecad.SlackBuild
+++ b/graphics/librecad/librecad.SlackBuild
@@ -25,6 +25,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=librecad
ORIGNAME=LibreCAD
VERSION=${VERSION:-9f2c32d}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index f816be1169798..945da61c58047 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.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=lilypond
VERSION=${VERSION:-2.22.1}
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/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild
index 29fba97f5b338..e311c16386172 100644
--- a/graphics/luminance-hdr/luminance-hdr.SlackBuild
+++ b/graphics/luminance-hdr/luminance-hdr.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=luminance-hdr
VERSION=${VERSION:-2.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/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild
index fe32e61121f25..0d68c47cca38a 100644
--- a/graphics/luxrender/luxrender.SlackBuild
+++ b/graphics/luxrender/luxrender.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=luxrender
SHORT=lux
VERSION=${VERSION:-1.4}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild
index 4fc2980d14fa6..fc7f557db2411 100644
--- a/graphics/maim/maim.SlackBuild
+++ b/graphics/maim/maim.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=maim
VERSION=${VERSION:-5.5.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/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild
index fc2e1f68f4ae0..db19faeec0a07 100644
--- a/graphics/makehuman/makehuman.SlackBuild
+++ b/graphics/makehuman/makehuman.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=makehuman
VERSION=${VERSION:-1.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
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/mapcrafter/mapcrafter.SlackBuild b/graphics/mapcrafter/mapcrafter.SlackBuild
index b5f77eaf782c8..ee8ae3d824c83 100644
--- a/graphics/mapcrafter/mapcrafter.SlackBuild
+++ b/graphics/mapcrafter/mapcrafter.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=mapcrafter
VERSION=${VERSION:-2.3.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/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild
index c9d5f9b2a7ca7..18f90ee4897ec 100644
--- a/graphics/meh/meh.SlackBuild
+++ b/graphics/meh/meh.SlackBuild
@@ -27,6 +27,8 @@
# - Add man page, BUILD=2
# - Script simplifications.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meh
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/meshlab/meshlab.SlackBuild b/graphics/meshlab/meshlab.SlackBuild
index 04abc52ef6d7a..cb2613c87deac 100644
--- a/graphics/meshlab/meshlab.SlackBuild
+++ b/graphics/meshlab/meshlab.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=meshlab
VERSION=${VERSION:-2016.12}
VCGLIBVER=${VCGLIBVER:-1.0.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/graphics/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild
index fe2f44b4bf418..60719d42c244a 100644
--- a/graphics/metapixel/metapixel.SlackBuild
+++ b/graphics/metapixel/metapixel.SlackBuild
@@ -4,6 +4,8 @@
# Written by otzy_007 oz@oprod.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=metapixel
VERSION=${VERSION:-1.0.2}
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/graphics/mftrace/mftrace.SlackBuild b/graphics/mftrace/mftrace.SlackBuild
index 39ac3bf0679af..58b3546577f53 100644
--- a/graphics/mftrace/mftrace.SlackBuild
+++ b/graphics/mftrace/mftrace.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=mftrace
VERSION=${VERSION:-1.2.20}
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/graphics/mirage/mirage.SlackBuild b/graphics/mirage/mirage.SlackBuild
index 866dea8149971..f64f7b3590712 100644
--- a/graphics/mirage/mirage.SlackBuild
+++ b/graphics/mirage/mirage.SlackBuild
@@ -27,6 +27,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=mirage
VERSION=${VERSION:-1.0_pre2}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
index 06eb17b996728..24e339f5a890f 100644
--- a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
+++ b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
@@ -9,6 +9,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mitsuba-blender
PKGNAM=exporters_${PRGNAM}
VERSION=${VERSION:-22f799f46623}
@@ -17,7 +19,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/mitsuba/mitsuba.SlackBuild b/graphics/mitsuba/mitsuba.SlackBuild
index 6b0f52342350d..62995fb45f045 100644
--- a/graphics/mitsuba/mitsuba.SlackBuild
+++ b/graphics/mitsuba/mitsuba.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mitsuba
VERSION=${VERSION:-b85118cd30d2}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild
index 3d995e80685af..9fd8bbfe17fc5 100644
--- a/graphics/mlbrot/mlbrot.SlackBuild
+++ b/graphics/mlbrot/mlbrot.SlackBuild
@@ -4,6 +4,8 @@
# Written by adaptr (jeroen@adaptr.nl)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mlbrot
VERSION=${VERSION:-1.01}
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/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index 18e4067b76aab..fcb7301d99ad4 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -56,6 +56,8 @@
# - add API=7 and API=8 options
# - BUILD=2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mozjpeg
VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
@@ -69,7 +71,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index fcd28995c2076..4c00e6e5f4aa8 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.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=mtpaint
VERSION=${VERSION:-3.50}
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/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild
index 6c1a3420c384e..f49b6ef6ea477 100644
--- a/graphics/mypaint/mypaint.SlackBuild
+++ b/graphics/mypaint/mypaint.SlackBuild
@@ -11,6 +11,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mypaint
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 208fe1babe94d..08e059b6fb310 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.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=nomacs
VERSION=${VERSION:-3.17.2206}
PVERSION=${PVERSION:-3.16}
@@ -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/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index 76254d7a2ba29..522099abc4c62 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.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=nvidia-cg-toolkit
VERSION=${VERSION:-3.1_April2012}
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/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild b/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
index 2debf479e0882..09954d11f8e2d 100644
--- a/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
+++ b/graphics/nvidia-texture-tools/nvidia-texture-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=nvidia-texture-tools
VERSION=${VERSION:-2.1.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/graphics/openclipart/openclipart.SlackBuild b/graphics/openclipart/openclipart.SlackBuild
index fb99c016cae13..c40a044a76eec 100644
--- a/graphics/openclipart/openclipart.SlackBuild
+++ b/graphics/openclipart/openclipart.SlackBuild
@@ -27,13 +27,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openclipart
VERSION=${VERSION:-0.19}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/opencollada/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild
index c8ed9be5eb49d..bb431637ae715 100644
--- a/graphics/opencollada/opencollada.SlackBuild
+++ b/graphics/opencollada/opencollada.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=opencollada
SRCNAM=OpenCOLLADA
VERSION=${VERSION:-1.6.68}
@@ -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/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild
index a67c713f398e7..221a66ffc0b78 100644
--- a/graphics/opencolorio/opencolorio.SlackBuild
+++ b/graphics/opencolorio/opencolorio.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=opencolorio
SRCNAM=OpenColorIO
VERSION=${VERSION:-2.0.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/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index b305f952ff03d..df3fcb7ee5d99 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.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=openimageio
SRCNAM=oiio-Release
VERSION=${VERSION:-2.2.15.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/graphics/openscad-mcad/openscad-mcad.SlackBuild b/graphics/openscad-mcad/openscad-mcad.SlackBuild
index c4af1be328feb..9f6dd3b087e7a 100644
--- a/graphics/openscad-mcad/openscad-mcad.SlackBuild
+++ b/graphics/openscad-mcad/openscad-mcad.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=openscad-mcad
COMVER=1ea402208c3127ffb443931e9bb1681c191dacca
VERSION=${VERSION:-2020.10.09.$( printf %s $COMVER | cut -c1-7 )}
@@ -29,7 +31,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/openscad/openscad.SlackBuild b/graphics/openscad/openscad.SlackBuild
index 1ae08ac188107..56b7939101760 100644
--- a/graphics/openscad/openscad.SlackBuild
+++ b/graphics/openscad/openscad.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=openscad
VERSION=${VERSION:-2021.01}
#SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/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/graphics/optipng/optipng.SlackBuild b/graphics/optipng/optipng.SlackBuild
index 2a2581948ed3b..fccf37cf7bee8 100644
--- a/graphics/optipng/optipng.SlackBuild
+++ b/graphics/optipng/optipng.SlackBuild
@@ -4,6 +4,8 @@
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=optipng
VERSION=${VERSION:-0.7.7}
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/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index ad63982003de9..3dd2d034d183a 100644
--- a/graphics/oyranos/oyranos.SlackBuild
+++ b/graphics/oyranos/oyranos.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=oyranos
VERSION=${VERSION:-0.9.6}
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/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index 0f16ce769e7af..bea766a22ceab 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.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=paraview
SRCNAM=ParaView
VERSION=${VERSION:-5.9.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/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
index e31f0c9df6d42..b454bc0b883d6 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcx-pixbuf-loader
VERSION=${VERSION:-20140824.6211fd8}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 53cbb62837df3..c2d5f61d43c4b 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -22,12 +22,13 @@
# 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=pdf2png
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/pdf2svg/pdf2svg.SlackBuild b/graphics/pdf2svg/pdf2svg.SlackBuild
index 6be71510080d8..d6bea8f764088 100644
--- a/graphics/pdf2svg/pdf2svg.SlackBuild
+++ b/graphics/pdf2svg/pdf2svg.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=pdf2svg
VERSION=${VERSION:-0.2.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/graphics/pencil2d/pencil2d.SlackBuild b/graphics/pencil2d/pencil2d.SlackBuild
index 470bfd042f7ea..24ab1acea36ba 100644
--- a/graphics/pencil2d/pencil2d.SlackBuild
+++ b/graphics/pencil2d/pencil2d.SlackBuild
@@ -3,6 +3,8 @@
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2020>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pencil2d
SRCNAM=pencil
VERSION=${VERSION:-0.6.5}
@@ -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/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 3948e3501d87d..50a70db1abb4d 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.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=pencil3
PKGNAM=pencil
VERSION=${VERSION:-3.0.4}
@@ -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/graphics/phatch/phatch.SlackBuild b/graphics/phatch/phatch.SlackBuild
index 8accdb01befea..48a74ea55da5d 100644
--- a/graphics/phatch/phatch.SlackBuild
+++ b/graphics/phatch/phatch.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=phatch
VERSION=${VERSION:-0.2.7.1}
SRCVER=$(echo $VERSION | cut -c1-5)
@@ -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/graphics/pho/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index d2ca12fd2ca4b..4230c11460a1c 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -4,6 +4,8 @@
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pho
VERSION=${VERSION:-0.9.8}
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/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild
index 3efdb4a437fdf..5201f306b4057 100644
--- a/graphics/photivo/photivo.SlackBuild
+++ b/graphics/photivo/photivo.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=photivo
VERSION=${VERSION:-20160525}
SRC_VERSION="5d7d1cc4ef4d"
@@ -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/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index bf4dc72b391d7..85c002738c26a 100644
--- a/graphics/photoqt/photoqt.SlackBuild
+++ b/graphics/photoqt/photoqt.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=photoqt
VERSION=${VERSION:-2.1.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/graphics/phototonic/phototonic.SlackBuild b/graphics/phototonic/phototonic.SlackBuild
index 9afa4823814bb..282bf6e7be5b2 100644
--- a/graphics/phototonic/phototonic.SlackBuild
+++ b/graphics/phototonic/phototonic.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=phototonic
VERSION=${VERSION:-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/graphics/plotutils/plotutils.SlackBuild b/graphics/plotutils/plotutils.SlackBuild
index f1b5ae5904682..e2b2f7e5a28c1 100644
--- a/graphics/plotutils/plotutils.SlackBuild
+++ b/graphics/plotutils/plotutils.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=plotutils
VERSION=${VERSION:-2.6}
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/graphics/png2ico/png2ico.SlackBuild b/graphics/png2ico/png2ico.SlackBuild
index fdffbfd1a992c..8c0a70055bab0 100644
--- a/graphics/png2ico/png2ico.SlackBuild
+++ b/graphics/png2ico/png2ico.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=png2ico
VERSION=${VERSION:-20021208}
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/graphics/pngcrush/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index 909adad51ab10..c9e29cb698c1d 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -25,6 +25,8 @@
# Modified by Eugene M., <damagedone at gmx dot com>
# Modified by B. Watson <yalhcru@gmail.com>, fix x86 build error
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pngcrush
VERSION=${VERSION:-1.8.13}
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/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index ce281b10d1baf..abcd86156553d 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -25,6 +25,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=pngquant
VERSION=${VERSION:-2.9.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/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index 304f8957063bd..4d592d9fcee28 100644
--- a/graphics/potrace/potrace.SlackBuild
+++ b/graphics/potrace/potrace.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=potrace
VERSION=${VERSION:-1.16}
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/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index c788f82c720aa..c8d36828db7db 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -25,6 +25,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=povray
VERSION=${VERSION:-3.7.0.8}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/pqiv/pqiv.SlackBuild b/graphics/pqiv/pqiv.SlackBuild
index 5b173750286fa..7dd72ba30b177 100644
--- a/graphics/pqiv/pqiv.SlackBuild
+++ b/graphics/pqiv/pqiv.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=pqiv
VERSION=${VERSION:-2.11}
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/graphics/pr0ntools/pr0ntools.SlackBuild b/graphics/pr0ntools/pr0ntools.SlackBuild
index dd9efedef6cb3..0017d9d8ca500 100644
--- a/graphics/pr0ntools/pr0ntools.SlackBuild
+++ b/graphics/pr0ntools/pr0ntools.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=pr0ntools
VERSION=${VERSION:-20170617}
COMVER=3ce25e7e39cc195f3681a4d8d84633a2885b74da
@@ -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/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild
index 6069cb19fdb09..2efd6bcc9c3d9 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -18,6 +18,8 @@
# - updated for v1.0.10
# - expand the README since it was a bit too terse
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psftools
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/pyformex/pyformex.SlackBuild b/graphics/pyformex/pyformex.SlackBuild
index 89c15e84921e6..17a2539b0d28c 100644
--- a/graphics/pyformex/pyformex.SlackBuild
+++ b/graphics/pyformex/pyformex.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=pyformex
VERSION=${VERSION:-1.0.5}
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/graphics/pygifme/pygifme.SlackBuild b/graphics/pygifme/pygifme.SlackBuild
index 055bd4393a10a..2dd0aa06d4e82 100644
--- a/graphics/pygifme/pygifme.SlackBuild
+++ b/graphics/pygifme/pygifme.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=pygifme
VERSION=${VERSION:-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/graphics/pygraphviz/pygraphviz.SlackBuild b/graphics/pygraphviz/pygraphviz.SlackBuild
index aae35c715ae95..aaca10b8c56c3 100644
--- a/graphics/pygraphviz/pygraphviz.SlackBuild
+++ b/graphics/pygraphviz/pygraphviz.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=pygraphviz
VERSION=${VERSION:-1.5}
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/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index 25cebea19ae26..2ac37b67e9d5d 100644
--- a/graphics/qcad/qcad.SlackBuild
+++ b/graphics/qcad/qcad.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=qcad
VERSION=${VERSION:-3.26.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/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index 124497102ae5d..97ebb48b7e363 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -27,6 +27,8 @@
# revision date 2012/07/23
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qcomicbook
SRCNAM=QComicBook
VERSION=${VERSION:-0.9.1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/qelectrotech/qelectrotech.SlackBuild b/graphics/qelectrotech/qelectrotech.SlackBuild
index 206680a19f1f6..b7a633189374e 100644
--- a/graphics/qelectrotech/qelectrotech.SlackBuild
+++ b/graphics/qelectrotech/qelectrotech.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=qelectrotech
SRCNAM=qet
VERSION=${VERSION:-0.8.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/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild
index 1480ca41a17ac..a5bf93a9b2fae 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -29,6 +29,8 @@
# of man pages (upstream's 'make install' already does it)
# - Don't install README.INSTALL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qiv
VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-2}
@@ -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/graphics/ralcgm/ralcgm.SlackBuild b/graphics/ralcgm/ralcgm.SlackBuild
index dae89526ab623..432c73eeffa74 100644
--- a/graphics/ralcgm/ralcgm.SlackBuild
+++ b/graphics/ralcgm/ralcgm.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ralcgm
VERSION=${VERSION:-3.50}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index a3c91a41a7723..4f75bb1baabf3 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
@@ -38,6 +38,8 @@
# Note to self: there's a bunch of sample images in various camera formats
# here: https://www.rawsamples.ch/index.php/en/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=raw-thumbnailer
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild
index 4ce728464d859..b3177677b0145 100644
--- a/graphics/rawstudio/rawstudio.SlackBuild
+++ b/graphics/rawstudio/rawstudio.SlackBuild
@@ -28,6 +28,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms :-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="rawstudio"
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-3}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/rawtherapee/rawtherapee.SlackBuild b/graphics/rawtherapee/rawtherapee.SlackBuild
index 10926c76ad802..22d4b31df9877 100644
--- a/graphics/rawtherapee/rawtherapee.SlackBuild
+++ b/graphics/rawtherapee/rawtherapee.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=rawtherapee
VERSION=${VERSION:-5.8}
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/graphics/renderdoc/renderdoc.SlackBuild b/graphics/renderdoc/renderdoc.SlackBuild
index 04b20f60073ab..d501adbd59332 100644
--- a/graphics/renderdoc/renderdoc.SlackBuild
+++ b/graphics/renderdoc/renderdoc.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=renderdoc
VERSION=${VERSION:-1.11}
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/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild
index 7a73b6525d3d9..a4fccea33f841 100644
--- a/graphics/resynthesizer/resynthesizer.SlackBuild
+++ b/graphics/resynthesizer/resynthesizer.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=resynthesizer
VERSION=${VERSION:-2.0.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/graphics/ristretto/ristretto.SlackBuild b/graphics/ristretto/ristretto.SlackBuild
index 9dcc0d7a26cfa..4a4a77e55053b 100644
--- a/graphics/ristretto/ristretto.SlackBuild
+++ b/graphics/ristretto/ristretto.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=ristretto
VERSION=${VERSION:-0.10.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/graphics/scantailor-advanced/scantailor-advanced.SlackBuild b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
index c042841c8def9..a6e8cdfdb2e1f 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.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=scantailor-advanced
VERSION=${VERSION:-20200531_3d1e74e}
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/graphics/scour/scour.SlackBuild b/graphics/scour/scour.SlackBuild
index e3d752eb0f26b..057bee89006f6 100644
--- a/graphics/scour/scour.SlackBuild
+++ b/graphics/scour/scour.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=scour
VERSION=${VERSION:-0.35}
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/graphics/screencloud/screencloud.SlackBuild b/graphics/screencloud/screencloud.SlackBuild
index 9df95c6dce501..1fffef43fd86c 100644
--- a/graphics/screencloud/screencloud.SlackBuild
+++ b/graphics/screencloud/screencloud.SlackBuild
@@ -22,12 +22,13 @@
# 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=screencloud
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/screengrab/screengrab.SlackBuild b/graphics/screengrab/screengrab.SlackBuild
index 97b9900f598c6..5f5a72c88e0d3 100644
--- a/graphics/screengrab/screengrab.SlackBuild
+++ b/graphics/screengrab/screengrab.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=screengrab
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-2}
@@ -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/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index d8219bb597438..443d88c7eb52a 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -26,6 +26,8 @@
set -e
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scrot
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-4}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/separate+/separate+.SlackBuild b/graphics/separate+/separate+.SlackBuild
index ebc48dd0a7c98..509a6723096e6 100644
--- a/graphics/separate+/separate+.SlackBuild
+++ b/graphics/separate+/separate+.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for separate+
# Written by klaatu at klaatu at hackerpublicradio.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=separate+
VERSION=${VERSION:-0.5.8}
BUILD=${BUILD:-2}
@@ -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/graphics/shalbum/shalbum.SlackBuild b/graphics/shalbum/shalbum.SlackBuild
index 683faa8c65c0f..63d9a9f2256ff 100644
--- a/graphics/shalbum/shalbum.SlackBuild
+++ b/graphics/shalbum/shalbum.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=shalbum
VERSION=${VERSION:-1.22}
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/graphics/shotwell/shotwell.SlackBuild b/graphics/shotwell/shotwell.SlackBuild
index 35c641afb3869..19308a88e9dcd 100644
--- a/graphics/shotwell/shotwell.SlackBuild
+++ b/graphics/shotwell/shotwell.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=shotwell
VERSION=${VERSION:-0.24.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/graphics/shutter/shutter.SlackBuild b/graphics/shutter/shutter.SlackBuild
index f683da14dde8c..1a84f9cb416f9 100644
--- a/graphics/shutter/shutter.SlackBuild
+++ b/graphics/shutter/shutter.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shutter
VERSION=${VERSION:-0.94.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/graphics/simple-scan/simple-scan.SlackBuild b/graphics/simple-scan/simple-scan.SlackBuild
index 6390278865ceb..ed013b7e04b9b 100644
--- a/graphics/simple-scan/simple-scan.SlackBuild
+++ b/graphics/simple-scan/simple-scan.SlackBuild
@@ -25,6 +25,8 @@
# 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="simple-scan"
VERSION=${VERSION:-3.34.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/graphics/sng/sng.SlackBuild b/graphics/sng/sng.SlackBuild
index 824ba369b36cd..df5e2b68dd2be 100644
--- a/graphics/sng/sng.SlackBuild
+++ b/graphics/sng/sng.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=sng
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/graphics/svp/svp.SlackBuild b/graphics/svp/svp.SlackBuild
index 631946e4e064c..8efa0fe4fafad 100644
--- a/graphics/svp/svp.SlackBuild
+++ b/graphics/svp/svp.SlackBuild
@@ -4,6 +4,8 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=svp
VERSION=${VERSION:-0.3}
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/graphics/sxiv/sxiv.SlackBuild b/graphics/sxiv/sxiv.SlackBuild
index 1f23445089b85..c82451353e29b 100644
--- a/graphics/sxiv/sxiv.SlackBuild
+++ b/graphics/sxiv/sxiv.SlackBuild
@@ -24,6 +24,8 @@
# Modified by Eugene M., <damagedone at gmx dot com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sxiv
VERSION=${VERSION:-26}
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/graphics/tclblt/tclblt.SlackBuild b/graphics/tclblt/tclblt.SlackBuild
index 78710b2b8c072..6fb5c63f46310 100644
--- a/graphics/tclblt/tclblt.SlackBuild
+++ b/graphics/tclblt/tclblt.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=tclblt
VERSION=${VERSION:-2.5.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/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild
index e8f150bfcd23b..39932652fbcc9 100644
--- a/graphics/teighafileconverter/teighafileconverter.SlackBuild
+++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild
@@ -33,6 +33,8 @@
# - Name the x86 package according to ARCH (i586 or i686). No effect on
# the package contents, just the filename.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teighafileconverter
VERSION=${VERSION:-19.5.0.0}
BUILD=${BUILD:-1}
@@ -48,7 +50,6 @@ fi
ORIGNAM=TeighaFileConverter
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/teighaviewer/teighaviewer.SlackBuild b/graphics/teighaviewer/teighaviewer.SlackBuild
index a0a0ddafb8092..db26a250e7771 100644
--- a/graphics/teighaviewer/teighaviewer.SlackBuild
+++ b/graphics/teighaviewer/teighaviewer.SlackBuild
@@ -32,6 +32,8 @@
# several other versions newer than 4.00.0, utter failure. See
# README_maintainer.txt for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teighaviewer
VERSION=${VERSION:-4.00.0}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ ARCH=i586
ORIG_PRGNAM=TeighaViewer
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index fce86da051b86..eea85a1226bab 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -32,6 +32,8 @@
# Thanks to S+*n_Pe*rm*n for a bug report from OCRopus.
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tesseract
VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/textext/textext.SlackBuild b/graphics/textext/textext.SlackBuild
index 119d445eccd0c..67dd6f7f95ebf 100644
--- a/graphics/textext/textext.SlackBuild
+++ b/graphics/textext/textext.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=textext
VERSION=${VERSION:-0.4.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/graphics/tgif-QPL/tgif-QPL.SlackBuild b/graphics/tgif-QPL/tgif-QPL.SlackBuild
index e911cb1d561ff..890ad225280e5 100644
--- a/graphics/tgif-QPL/tgif-QPL.SlackBuild
+++ b/graphics/tgif-QPL/tgif-QPL.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tgif-QPL
VERSION=${VERSION:-4.2.5}
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/graphics/tintii/tintii.SlackBuild b/graphics/tintii/tintii.SlackBuild
index 0ec2842e5dcde..010acc6239949 100644
--- a/graphics/tintii/tintii.SlackBuild
+++ b/graphics/tintii/tintii.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=tintii
VERSION=${VERSION:-2.10.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/graphics/tkpng/tkpng.SlackBuild b/graphics/tkpng/tkpng.SlackBuild
index 821576904d5a1..c38c350fc42e9 100644
--- a/graphics/tkpng/tkpng.SlackBuild
+++ b/graphics/tkpng/tkpng.SlackBuild
@@ -7,6 +7,8 @@
# Released into the public domain
# V1 - Slackware 13.37 - November 12, 2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkpng
VERSION=${VERSION:-0.9}
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/graphics/triangulizor/triangulizor.SlackBuild b/graphics/triangulizor/triangulizor.SlackBuild
index 2cfd33793da32..9e6b74a1c56e9 100644
--- a/graphics/triangulizor/triangulizor.SlackBuild
+++ b/graphics/triangulizor/triangulizor.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=triangulizor
VERSION=${VERSION:-1.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
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/trimage/trimage.SlackBuild b/graphics/trimage/trimage.SlackBuild
index 4eb85893e6f9e..a85aa127694aa 100644
--- a/graphics/trimage/trimage.SlackBuild
+++ b/graphics/trimage/trimage.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=trimage
SRCNAM=Trimage
VERSION=${VERSION:-1.0.6}
@@ -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/graphics/ttyload/ttyload.SlackBuild b/graphics/ttyload/ttyload.SlackBuild
index c04f5ad87304f..924c713e3cae8 100644
--- a/graphics/ttyload/ttyload.SlackBuild
+++ b/graphics/ttyload/ttyload.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=ttyload
VERSION=${VERSION:-0.5.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/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
index 190a46c6773d3..77e9a95e9b35a 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
@@ -5,13 +5,14 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# updated by Tim Dickson (dickson.tim@googlemail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxpaint-stamps
VERSION=${VERSION:-2020.12.27}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index b8e6262fd2e6e..d9b2353394e21 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -7,6 +7,8 @@
# Taken over maintenance (and some updates) by Tim Dickson (dickson.tim@googlemail.com)
# added tuxpaint-config 2019-02-11
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxpaint
VERSION=${VERSION:-0.9.25}
CONFVER=${CONFVER:-0.0.16}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/ueberzug/ueberzug.SlackBuild b/graphics/ueberzug/ueberzug.SlackBuild
index 7a26c622f8b67..46e526089eb57 100644
--- a/graphics/ueberzug/ueberzug.SlackBuild
+++ b/graphics/ueberzug/ueberzug.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=ueberzug
VERSION=${VERSION:-18.1.8}
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/graphics/ufraw/ufraw.SlackBuild b/graphics/ufraw/ufraw.SlackBuild
index 11b227a16e64d..12fca8eef549e 100644
--- a/graphics/ufraw/ufraw.SlackBuild
+++ b/graphics/ufraw/ufraw.SlackBuild
@@ -25,6 +25,8 @@
# 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="ufraw"
VERSION=${VERSION:-0.22}
BUILD=${BUILD:-2}
@@ -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/graphics/uniconvertor/uniconvertor.SlackBuild b/graphics/uniconvertor/uniconvertor.SlackBuild
index 0c490addbbc5e..fe3810edbd901 100644
--- a/graphics/uniconvertor/uniconvertor.SlackBuild
+++ b/graphics/uniconvertor/uniconvertor.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=uniconvertor
VERSION=${VERSION:-1.1.5}
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/graphics/unpaper/unpaper.SlackBuild b/graphics/unpaper/unpaper.SlackBuild
index 0773fa67cd511..94f06ae159137 100644
--- a/graphics/unpaper/unpaper.SlackBuild
+++ b/graphics/unpaper/unpaper.SlackBuild
@@ -36,6 +36,8 @@
# - The ffmpeg dep can be removed once 15.0 ships, as it will be
# shipped wth the distro.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unpaper
VERSION=${VERSION:-6.1}
BUILD=${BUILD:-1}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/urbanlightscape/urbanlightscape.SlackBuild b/graphics/urbanlightscape/urbanlightscape.SlackBuild
index 6d193590c7e5f..ae9a6df0d3b1b 100644
--- a/graphics/urbanlightscape/urbanlightscape.SlackBuild
+++ b/graphics/urbanlightscape/urbanlightscape.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=urbanlightscape
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/graphics/veles/veles.SlackBuild b/graphics/veles/veles.SlackBuild
index 84d14b792a11c..e1946d131c146 100644
--- a/graphics/veles/veles.SlackBuild
+++ b/graphics/veles/veles.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=veles
VERSION=${VERSION:-2018.05.0.TIF}
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/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild
index 7739cb66d19f2..d3a1293f44fd1 100644
--- a/graphics/viewnior/viewnior.SlackBuild
+++ b/graphics/viewnior/viewnior.SlackBuild
@@ -31,6 +31,8 @@
# - fix permissions (svg icon in package was +x)
# - tighten up script a bit
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=viewnior
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-2}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/vips/vips.SlackBuild b/graphics/vips/vips.SlackBuild
index e2e1ad373cf9f..d68cf3bf871b3 100644
--- a/graphics/vips/vips.SlackBuild
+++ b/graphics/vips/vips.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="vips"
VERSION=${VERSION:-8.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/graphics/vsxu/vsxu.SlackBuild b/graphics/vsxu/vsxu.SlackBuild
index 5ad1ae217155c..4c89ddd0070fb 100644
--- a/graphics/vsxu/vsxu.SlackBuild
+++ b/graphics/vsxu/vsxu.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=vsxu
VERSION=${VERSION:-0.6.3.0}
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/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index 2768721c08dae..98ad16afaf91b 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.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=vuescan
VERSION=${VERSION:-9.7.58}
SRCVER=${SRCVER:-$(echo "$VERSION" | cut -d. -f-2 | sed 's/\.//g')}
@@ -48,7 +50,6 @@ case $ARCH in
echo "ARCH $ARCH is unsupported."; exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
index 21f89239a3ccb..d691ebf870108 100644
--- a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
+++ b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
@@ -4,6 +4,8 @@
# Originally written by klaatu for separate+
# Adapted to wavelet-denoise by Stefano Guidoni
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wavelet-denoise
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
index ad53d8c4a4958..171cd8536f46a 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=webp-pixbuf-loader
VERSION=${VERSION:-20191003.fb04954}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/white_dune/white_dune.SlackBuild b/graphics/white_dune/white_dune.SlackBuild
index ded067fd860bb..a0ef82951160f 100644
--- a/graphics/white_dune/white_dune.SlackBuild
+++ b/graphics/white_dune/white_dune.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=white_dune
SRCNAM=wdune
VERSION=${VERSION:-1.876}
@@ -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/graphics/whyteboard/whyteboard.SlackBuild b/graphics/whyteboard/whyteboard.SlackBuild
index 107984cd3b0b8..7249c48be45be 100644
--- a/graphics/whyteboard/whyteboard.SlackBuild
+++ b/graphics/whyteboard/whyteboard.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=whyteboard
VERSION=${VERSION:-0.41.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/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
index a836fb089b3fb..0fe50abdc1db2 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.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=wine-nine-standalone
VERSION=${VERSION:-0.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/graphics/xbmbrowser/xbmbrowser.SlackBuild b/graphics/xbmbrowser/xbmbrowser.SlackBuild
index 88b10801aebe7..ada7c1f19c2df 100644
--- a/graphics/xbmbrowser/xbmbrowser.SlackBuild
+++ b/graphics/xbmbrowser/xbmbrowser.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=xbmbrowser
VERSION=${VERSION:-5.1b}
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/graphics/xcalib/xcalib.SlackBuild b/graphics/xcalib/xcalib.SlackBuild
index 00204f6153861..f96389d8d8fe1 100644
--- a/graphics/xcalib/xcalib.SlackBuild
+++ b/graphics/xcalib/xcalib.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcalib
VERSION=${VERSION:-0.8}
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/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
index c65928c6a66b4..6918e84e82955 100644
--- a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcf-pixbuf-loader
VERSION=${VERSION:-20180108.eb42b85}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xcur2png/xcur2png.SlackBuild b/graphics/xcur2png/xcur2png.SlackBuild
index 954742488b8ef..b5998517ff49b 100644
--- a/graphics/xcur2png/xcur2png.SlackBuild
+++ b/graphics/xcur2png/xcur2png.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcur2png
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xdaliclock/xdaliclock.SlackBuild b/graphics/xdaliclock/xdaliclock.SlackBuild
index 386d4a2c7b565..d26433574948b 100644
--- a/graphics/xdaliclock/xdaliclock.SlackBuild
+++ b/graphics/xdaliclock/xdaliclock.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=xdaliclock
VERSION=${VERSION:-2.44}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 4314dd46386b7..6e4da73c4f039 100644
--- a/graphics/xdot/xdot.SlackBuild
+++ b/graphics/xdot/xdot.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=xdot
SRCNAM=xdot.py
VERSION=${VERSION:-1.2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xfishtank/xfishtank.SlackBuild b/graphics/xfishtank/xfishtank.SlackBuild
index 8791e9bcd77e9..017fcfae6079d 100644
--- a/graphics/xfishtank/xfishtank.SlackBuild
+++ b/graphics/xfishtank/xfishtank.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=xfishtank
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xli/xli.SlackBuild b/graphics/xli/xli.SlackBuild
index e2aef70449ff7..b03cabd14285d 100644
--- a/graphics/xli/xli.SlackBuild
+++ b/graphics/xli/xli.SlackBuild
@@ -38,6 +38,8 @@
# window border is always white, no matter what color you give to
# -border. I only moderately care about this, TBH.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xli
VERSION=${VERSION:-1.17}
SRCVER=${SRCVER:-2005-02-27}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild
index 661a577c1ddca..e24ebc3913539 100644
--- a/graphics/xmedcon/xmedcon.SlackBuild
+++ b/graphics/xmedcon/xmedcon.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=xmedcon
VERSION=${VERSION:-0.17.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/graphics/xpe/xpe.SlackBuild b/graphics/xpe/xpe.SlackBuild
index b0f1759337b85..eec1eed03debd 100644
--- a/graphics/xpe/xpe.SlackBuild
+++ b/graphics/xpe/xpe.SlackBuild
@@ -6,6 +6,8 @@
# Written by Niels Horn - niels.horn@gmail.com
# revision date 2009/10/07
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xpe
VERSION=${VERSION:-0.9.5b}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/xzgv/xzgv.SlackBuild b/graphics/xzgv/xzgv.SlackBuild
index 8b04e3e02b472..1f517c0c027c9 100644
--- a/graphics/xzgv/xzgv.SlackBuild
+++ b/graphics/xzgv/xzgv.SlackBuild
@@ -25,6 +25,8 @@
#
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xzgv
VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/yacreader/yacreader.SlackBuild b/graphics/yacreader/yacreader.SlackBuild
index ca9b302389a60..a3e037542ef5c 100644
--- a/graphics/yacreader/yacreader.SlackBuild
+++ b/graphics/yacreader/yacreader.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=yacreader
VERSION=${VERSION:-9.8.2.2106195}
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/graphics/yafaray-blender/yafaray-blender.SlackBuild b/graphics/yafaray-blender/yafaray-blender.SlackBuild
index 1cb710d30069e..367b6924177c8 100644
--- a/graphics/yafaray-blender/yafaray-blender.SlackBuild
+++ b/graphics/yafaray-blender/yafaray-blender.SlackBuild
@@ -28,6 +28,8 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray-blender
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/yafaray/yafaray.SlackBuild b/graphics/yafaray/yafaray.SlackBuild
index cc3701c6bc89e..8e99d4d642a75 100644
--- a/graphics/yafaray/yafaray.SlackBuild
+++ b/graphics/yafaray/yafaray.SlackBuild
@@ -31,6 +31,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index 0898d6e3ee648..a4f6777009b11 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.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=yagf
VERSION=${VERSION:-0.9.5}
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/graphics/yed/yed.SlackBuild b/graphics/yed/yed.SlackBuild
index e7999123ed41b..2abfdcbb9eba2 100644
--- a/graphics/yed/yed.SlackBuild
+++ b/graphics/yed/yed.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=yed
VERSION=${VERSION:-3.20.1}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ ORIG_PRGNAM=yEd
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/yesplz/yesplz.SlackBuild b/graphics/yesplz/yesplz.SlackBuild
index 63b96a58e2f4e..37ad1ebca1bda 100644
--- a/graphics/yesplz/yesplz.SlackBuild
+++ b/graphics/yesplz/yesplz.SlackBuild
@@ -7,6 +7,8 @@
# but hey lets face it, rworkman and the slackbuilds posse are
# the people who really make this stuff happen
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yesplz
VERSION=${VERSION:-06112016}
COMMITVER=7342e1c686e6674e6ad9f7d21f01bae27c240b71
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/zbar/zbar.SlackBuild b/graphics/zbar/zbar.SlackBuild
index d1102c7df875c..a6ccb03b5fe39 100644
--- a/graphics/zbar/zbar.SlackBuild
+++ b/graphics/zbar/zbar.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zbar
VERSION=${VERSION:-0.10}
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/graphics/zgv/zgv.SlackBuild b/graphics/zgv/zgv.SlackBuild
index 04f2af0b7cc96..1063690a83d7b 100644
--- a/graphics/zgv/zgv.SlackBuild
+++ b/graphics/zgv/zgv.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=zgv
VERSION=${VERSION:-5.9}
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}