aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 11:41:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-05 16:01:32 +0700
commit7f26b9929fe95171f3719de3f601b696a2def263 (patch)
treec695221c62ff155a5a657883822af40538d24f23 /misc
parente6362e61d4cb76998694df32c864f5ceb3d95d54 (diff)
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/BISP/BISP.SlackBuild3
-rw-r--r--misc/KeePass/KeePass.SlackBuild3
-rw-r--r--misc/KeePassHttp/KeePassHttp.SlackBuild3
-rw-r--r--misc/OSCAR/OSCAR.SlackBuild3
-rw-r--r--misc/Publican/Publican.SlackBuild3
-rw-r--r--misc/QCMA/QCMA.SlackBuild3
-rw-r--r--misc/abduco/abduco.SlackBuild3
-rw-r--r--misc/altermime/altermime.SlackBuild3
-rw-r--r--misc/ardesia/ardesia.SlackBuild3
-rw-r--r--misc/ascii/ascii.SlackBuild3
-rw-r--r--misc/asr-manpages/asr-manpages.SlackBuild3
-rw-r--r--misc/asterixInspector/asterixInspector.SlackBuild3
-rw-r--r--misc/bbrun/bbrun.SlackBuild3
-rw-r--r--misc/bchunk/bchunk.SlackBuild3
-rw-r--r--misc/bdf2psf/bdf2psf.SlackBuild3
-rw-r--r--misc/bdfresize/bdfresize.SlackBuild3
-rw-r--r--misc/beep/beep.SlackBuild3
-rw-r--r--misc/biosdisk/biosdisk.SlackBuild3
-rw-r--r--misc/birthday/birthday.SlackBuild3
-rw-r--r--misc/bodr/bodr.SlackBuild3
-rw-r--r--misc/boncuk/boncuk.SlackBuild3
-rw-r--r--misc/boxes/boxes.SlackBuild3
-rw-r--r--misc/brewtarget/brewtarget.SlackBuild3
-rw-r--r--misc/bsdmainutils/bsdmainutils.SlackBuild3
-rw-r--r--misc/bsdsfv/bsdsfv.SlackBuild3
-rw-r--r--misc/ccze/ccze.SlackBuild3
-rw-r--r--misc/cflow/cflow.SlackBuild3
-rw-r--r--misc/chemical-mime-data/chemical-mime-data.SlackBuild3
-rw-r--r--misc/chm2pdf/chm2pdf.SlackBuild3
-rw-r--r--misc/chntpw/chntpw.SlackBuild3
-rw-r--r--misc/ciso/ciso.SlackBuild3
-rw-r--r--misc/cksfv/cksfv.SlackBuild3
-rw-r--r--misc/clawsker/clawsker.SlackBuild3
-rw-r--r--misc/cp437/cp437.SlackBuild3
-rw-r--r--misc/cwiid/cwiid.SlackBuild3
-rw-r--r--misc/dbview/dbview.SlackBuild3
-rw-r--r--misc/dcc/dcc.SlackBuild3
-rw-r--r--misc/deb2tgz/deb2tgz.SlackBuild3
-rw-r--r--misc/deroff/deroff.SlackBuild3
-rw-r--r--misc/discount/discount.SlackBuild3
-rw-r--r--misc/dmg2img/dmg2img.SlackBuild3
-rw-r--r--misc/doclifter/doclifter.SlackBuild3
-rw-r--r--misc/dos2unix/dos2unix.SlackBuild3
-rw-r--r--misc/drg2sbg/drg2sbg.SlackBuild3
-rw-r--r--misc/dvtm/dvtm.SlackBuild3
-rw-r--r--misc/dwdiff/dwdiff.SlackBuild3
-rw-r--r--misc/esniper/esniper.SlackBuild3
-rw-r--r--misc/fbcat/fbcat.SlackBuild3
-rw-r--r--misc/fbdump/fbdump.SlackBuild3
-rw-r--r--misc/fcitx-mozc/fcitx-mozc.SlackBuild3
-rw-r--r--misc/fcrackzip/fcrackzip.SlackBuild3
-rw-r--r--misc/figlet-contributed/figlet-contributed.SlackBuild3
-rw-r--r--misc/figlet-international/figlet-international.SlackBuild3
-rw-r--r--misc/figlet/figlet.SlackBuild3
-rw-r--r--misc/flashrom/flashrom.SlackBuild3
-rw-r--r--misc/floating-IPS/floating-IPS.SlackBuild3
-rw-r--r--misc/font-unscii/font-unscii.SlackBuild3
-rw-r--r--misc/fribid/fribid.SlackBuild3
-rw-r--r--misc/funny-manpages/funny-manpages.SlackBuild3
-rw-r--r--misc/g15composer/g15composer.SlackBuild3
-rw-r--r--misc/g15daemon/g15daemon.SlackBuild3
-rw-r--r--misc/g15stats/g15stats.SlackBuild3
-rw-r--r--misc/g810-led/g810-led.SlackBuild3
-rw-r--r--misc/gcp/gcp.SlackBuild3
-rw-r--r--misc/ghostpcl/ghostpcl.SlackBuild3
-rw-r--r--misc/git-store-meta/git-store-meta.SlackBuild3
-rw-r--r--misc/glogg/glogg.SlackBuild3
-rw-r--r--misc/gnome-mime-data/gnome-mime-data.SlackBuild3
-rw-r--r--misc/go-md2man/go-md2man.SlackBuild3
-rw-r--r--misc/goldencheetah/goldencheetah.SlackBuild3
-rw-r--r--misc/gourmet/gourmet.SlackBuild3
-rw-r--r--misc/gprename/gprename.SlackBuild3
-rw-r--r--misc/gr-iqbal/gr-iqbal.SlackBuild3
-rw-r--r--misc/grabc/grabc.SlackBuild3
-rw-r--r--misc/gramps/gramps.SlackBuild3
-rw-r--r--misc/grc/grc.SlackBuild3
-rw-r--r--misc/gxmessage/gxmessage.SlackBuild3
-rw-r--r--misc/hashkill/hashkill.SlackBuild3
-rw-r--r--misc/heimdall/heimdall.SlackBuild3
-rw-r--r--misc/heyu/heyu.SlackBuild3
-rw-r--r--misc/hoorex/hoorex.SlackBuild3
-rw-r--r--misc/html-xml-utils/html-xml-utils.SlackBuild3
-rw-r--r--misc/html2ps/html2ps.SlackBuild3
-rw-r--r--misc/ibus-chewing/ibus-chewing.SlackBuild3
-rw-r--r--misc/ibus-qt/ibus-qt.SlackBuild3
-rw-r--r--misc/ibus-skk/ibus-skk.SlackBuild3
-rw-r--r--misc/igal2/igal2.SlackBuild3
-rw-r--r--misc/iscan-firmware/iscan-firmware.SlackBuild3
-rw-r--r--misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild3
-rw-r--r--misc/jmri/jmri.SlackBuild3
-rw-r--r--misc/kasumi/kasumi.SlackBuild3
-rw-r--r--misc/kde_cdemu/kde_cdemu.SlackBuild3
-rw-r--r--misc/keychain/keychain.SlackBuild3
-rw-r--r--misc/klibc/klibc.SlackBuild3
-rw-r--r--misc/kronometer/kronometer.SlackBuild3
-rw-r--r--misc/langdrill/langdrill.SlackBuild3
-rw-r--r--misc/lastpass-cli/lastpass-cli.SlackBuild3
-rw-r--r--misc/lbdb/lbdb.SlackBuild3
-rw-r--r--misc/libydpdict/libydpdict.SlackBuild3
-rw-r--r--misc/linux_logo/linux_logo.SlackBuild3
-rw-r--r--misc/lppf/lppf.SlackBuild3
-rw-r--r--misc/ltunify/ltunify.SlackBuild3
-rw-r--r--misc/mdic/mdic.SlackBuild3
-rw-r--r--misc/megatunix/megatunix.SlackBuild3
-rw-r--r--misc/moedict-desktop.app/moedict-desktop.app.SlackBuild3
-rw-r--r--misc/moreutils/moreutils.SlackBuild3
-rw-r--r--misc/mosquitto/mosquitto.SlackBuild3
-rw-r--r--misc/myclippings/myclippings.SlackBuild3
-rw-r--r--misc/nfoview/nfoview.SlackBuild3
-rw-r--r--misc/no-more-secrets/no-more-secrets.SlackBuild3
-rw-r--r--misc/nvclock/nvclock.SlackBuild3
-rw-r--r--misc/ophcrack/ophcrack.SlackBuild3
-rw-r--r--misc/owfs/owfs.SlackBuild3
-rw-r--r--misc/paperkey/paperkey.SlackBuild3
-rw-r--r--misc/par/par.SlackBuild3
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild3
-rw-r--r--misc/par2cmdline/par2cmdline.SlackBuild3
-rw-r--r--misc/pinfo/pinfo.SlackBuild3
-rw-r--r--misc/pmw/pmw.SlackBuild3
-rw-r--r--misc/po4a/po4a.SlackBuild3
-rw-r--r--misc/portecle/portecle.SlackBuild3
-rw-r--r--misc/projectM/projectM.SlackBuild3
-rw-r--r--misc/protobuf/protobuf.SlackBuild3
-rw-r--r--misc/protobuf3/protobuf3.SlackBuild3
-rw-r--r--misc/qtspell/qtspell.SlackBuild3
-rw-r--r--misc/ramdefrag/ramdefrag.SlackBuild3
-rw-r--r--misc/rarcrack/rarcrack.SlackBuild3
-rw-r--r--misc/rbutil/rbutil.SlackBuild3
-rw-r--r--misc/readesm/readesm.SlackBuild3
-rw-r--r--misc/recode/recode.SlackBuild3
-rw-r--r--misc/rlwrap/rlwrap.SlackBuild3
-rw-r--r--misc/rsibreak/rsibreak.SlackBuild3
-rw-r--r--misc/rsnapshot/rsnapshot.SlackBuild3
-rw-r--r--misc/samdump2/samdump2.SlackBuild3
-rw-r--r--misc/sbo-templates/sbo-templates.SlackBuild3
-rw-r--r--misc/scim-chewing/scim-chewing.SlackBuild3
-rw-r--r--misc/sdcv/sdcv.SlackBuild3
-rw-r--r--misc/seahorse-plugins/seahorse-plugins.SlackBuild3
-rw-r--r--misc/sgrep/sgrep.SlackBuild3
-rw-r--r--misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild3
-rw-r--r--misc/slop/slop.SlackBuild3
-rw-r--r--misc/snow/snow.SlackBuild3
-rw-r--r--misc/solunar/solunar.SlackBuild3
-rw-r--r--misc/spotlighter/spotlighter.SlackBuild3
-rw-r--r--misc/ssss/ssss.SlackBuild3
-rw-r--r--misc/stardict-tools/stardict-tools.SlackBuild3
-rw-r--r--misc/stardict/stardict.SlackBuild3
-rw-r--r--misc/subsurface/subsurface.SlackBuild3
-rw-r--r--misc/sunwait/sunwait.SlackBuild3
-rw-r--r--misc/sutils/sutils.SlackBuild3
-rw-r--r--misc/tal/tal.SlackBuild3
-rw-r--r--misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild3
-rw-r--r--misc/tidyp/tidyp.SlackBuild3
-rw-r--r--misc/toilet/toilet.SlackBuild3
-rw-r--r--misc/torrentinfo/torrentinfo.SlackBuild3
-rw-r--r--misc/twa/twa.SlackBuild3
-rw-r--r--misc/txt2regex/txt2regex.SlackBuild3
-rw-r--r--misc/txt2tags/txt2tags.SlackBuild3
-rw-r--r--misc/uni2ascii/uni2ascii.SlackBuild3
-rw-r--r--misc/utimer/utimer.SlackBuild3
-rw-r--r--misc/vdpauinfo/vdpauinfo.SlackBuild3
-rw-r--r--misc/vttest/vttest.SlackBuild3
-rw-r--r--misc/wcd/wcd.SlackBuild3
-rw-r--r--misc/weather/weather.SlackBuild3
-rw-r--r--misc/with-readline/with-readline.SlackBuild3
-rw-r--r--misc/wkhtmltopdf/wkhtmltopdf.SlackBuild3
-rw-r--r--misc/wkhtmltox/wkhtmltox.SlackBuild3
-rw-r--r--misc/wmbday/wmbday.SlackBuild3
-rw-r--r--misc/xapian-omega/xapian-omega.SlackBuild3
-rw-r--r--misc/xbanish/xbanish.SlackBuild3
-rw-r--r--misc/xca/xca.SlackBuild3
-rw-r--r--misc/xcape/xcape.SlackBuild3
-rw-r--r--misc/xclip/xclip.SlackBuild3
-rw-r--r--misc/xdelta/xdelta.SlackBuild3
-rw-r--r--misc/xdelta3/xdelta3.SlackBuild3
-rw-r--r--misc/xvnkb/xvnkb.SlackBuild3
-rw-r--r--misc/xwinwrap/xwinwrap.SlackBuild3
-rw-r--r--misc/yapet/yapet.SlackBuild3
-rw-r--r--misc/yara/yara.SlackBuild3
-rw-r--r--misc/ydpdict/ydpdict.SlackBuild3
-rw-r--r--misc/ykpers/ykpers.SlackBuild3
-rw-r--r--misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild3
-rw-r--r--misc/yubioath-desktop/yubioath-desktop.SlackBuild3
-rw-r--r--misc/zinnia/zinnia.SlackBuild3
184 files changed, 368 insertions, 184 deletions
diff --git a/misc/BISP/BISP.SlackBuild b/misc/BISP/BISP.SlackBuild
index 004f1b2164990..3d7d256f5208a 100644
--- a/misc/BISP/BISP.SlackBuild
+++ b/misc/BISP/BISP.SlackBuild
@@ -59,13 +59,14 @@
# 4.19.1.11663 1/Nov/2012
# * Updated browser plugin patch.
##################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=BISP
VERSION=${VERSION:-4.19.1.11663}
ARCH=${ARCH:-i586}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/KeePass/KeePass.SlackBuild b/misc/KeePass/KeePass.SlackBuild
index 25474d9b462dc..f23a3705c5796 100644
--- a/misc/KeePass/KeePass.SlackBuild
+++ b/misc/KeePass/KeePass.SlackBuild
@@ -18,6 +18,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=KeePass
VERSION=${VERSION:-2.47}
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/misc/KeePassHttp/KeePassHttp.SlackBuild b/misc/KeePassHttp/KeePassHttp.SlackBuild
index 9054ab8399f03..c45e0daf893d4 100644
--- a/misc/KeePassHttp/KeePassHttp.SlackBuild
+++ b/misc/KeePassHttp/KeePassHttp.SlackBuild
@@ -22,13 +22,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=KeePassHttp
VERSION=${VERSION:-1.8.4.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/OSCAR/OSCAR.SlackBuild b/misc/OSCAR/OSCAR.SlackBuild
index a82f71bbe8b9f..446953c22761c 100644
--- a/misc/OSCAR/OSCAR.SlackBuild
+++ b/misc/OSCAR/OSCAR.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=OSCAR
VERSION=${VERSION:-1.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/misc/Publican/Publican.SlackBuild b/misc/Publican/Publican.SlackBuild
index 213efea67f8ad..ca0de5db6e3cb 100644
--- a/misc/Publican/Publican.SlackBuild
+++ b/misc/Publican/Publican.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Publican
VERSION=${VERSION:-4.3.2}
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/misc/QCMA/QCMA.SlackBuild b/misc/QCMA/QCMA.SlackBuild
index 1c775005adcaa..48fdd0a4329fc 100644
--- a/misc/QCMA/QCMA.SlackBuild
+++ b/misc/QCMA/QCMA.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=QCMA
VERSION=${VERSION:-0.4.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/misc/abduco/abduco.SlackBuild b/misc/abduco/abduco.SlackBuild
index 906f3188ed6f0..5d0b4d70d214d 100644
--- a/misc/abduco/abduco.SlackBuild
+++ b/misc/abduco/abduco.SlackBuild
@@ -27,6 +27,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=abduco
VERSION=${VERSION:-0.6}
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/misc/altermime/altermime.SlackBuild b/misc/altermime/altermime.SlackBuild
index 7c946aaedfd7c..f9ad6f01b0080 100644
--- a/misc/altermime/altermime.SlackBuild
+++ b/misc/altermime/altermime.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=altermime
VERSION=${VERSION:-0.3.10}
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/misc/ardesia/ardesia.SlackBuild b/misc/ardesia/ardesia.SlackBuild
index 0e73d79fec21c..31c0defea8aab 100644
--- a/misc/ardesia/ardesia.SlackBuild
+++ b/misc/ardesia/ardesia.SlackBuild
@@ -6,6 +6,8 @@
# Public Domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ardesia
VERSION=${VERSION:-1.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/misc/ascii/ascii.SlackBuild b/misc/ascii/ascii.SlackBuild
index a9f358872c451..3434771093b5b 100644
--- a/misc/ascii/ascii.SlackBuild
+++ b/misc/ascii/ascii.SlackBuild
@@ -7,6 +7,8 @@
# Written by cteg <comsublant@gmx.net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ascii
VERSION=${VERSION:-3.12}
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/misc/asr-manpages/asr-manpages.SlackBuild b/misc/asr-manpages/asr-manpages.SlackBuild
index e1766df5f8819..80bc15aae9a9d 100644
--- a/misc/asr-manpages/asr-manpages.SlackBuild
+++ b/misc/asr-manpages/asr-manpages.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=asr-manpages
VERSION=${VERSION:-1.3.6}
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
@@ -33,7 +35,6 @@ ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/asterixInspector/asterixInspector.SlackBuild b/misc/asterixInspector/asterixInspector.SlackBuild
index 0883c85b2c673..dee02822712d2 100644
--- a/misc/asterixInspector/asterixInspector.SlackBuild
+++ b/misc/asterixInspector/asterixInspector.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=asterixInspector
VERSION=${VERSION:-0.13.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/misc/bbrun/bbrun.SlackBuild b/misc/bbrun/bbrun.SlackBuild
index fc7c948d45f54..6e5e3d8aeb20e 100644
--- a/misc/bbrun/bbrun.SlackBuild
+++ b/misc/bbrun/bbrun.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=bbrun
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-CWD=$(pwd)
set -e
diff --git a/misc/bchunk/bchunk.SlackBuild b/misc/bchunk/bchunk.SlackBuild
index 7b494f20219e4..0aeca4bd39ad0 100644
--- a/misc/bchunk/bchunk.SlackBuild
+++ b/misc/bchunk/bchunk.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=bchunk
VERSION=${VERSION:-1.2.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/misc/bdf2psf/bdf2psf.SlackBuild b/misc/bdf2psf/bdf2psf.SlackBuild
index 30043f17591f3..e123f8b5cf401 100644
--- a/misc/bdf2psf/bdf2psf.SlackBuild
+++ b/misc/bdf2psf/bdf2psf.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=bdf2psf
VERSION=${VERSION:-1.131}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/bdfresize/bdfresize.SlackBuild b/misc/bdfresize/bdfresize.SlackBuild
index 6f280370a3a49..fa3afcfcafceb 100644
--- a/misc/bdfresize/bdfresize.SlackBuild
+++ b/misc/bdfresize/bdfresize.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bdfresize
VERSION=${VERSION:-1.5}
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/misc/beep/beep.SlackBuild b/misc/beep/beep.SlackBuild
index 9b7074005357d..79921abc912fc 100644
--- a/misc/beep/beep.SlackBuild
+++ b/misc/beep/beep.SlackBuild
@@ -7,6 +7,8 @@
# Modified by Robby Workman of the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beep
VERSION=${VERSION:-1.3}
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/misc/biosdisk/biosdisk.SlackBuild b/misc/biosdisk/biosdisk.SlackBuild
index 10bf1caeab53d..cd4107b78756e 100644
--- a/misc/biosdisk/biosdisk.SlackBuild
+++ b/misc/biosdisk/biosdisk.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <biosdisk>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=biosdisk
VERSION=${VERSION:-0.75_2}
ARCH=noarch
@@ -11,7 +13,6 @@ TAG=${TAG:-_SBo}
SRC_VERSION=$(echo $VERSION | tr _ -)
VERSDIR=$(echo $VERSION | sed 's/_.*//')
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/birthday/birthday.SlackBuild b/misc/birthday/birthday.SlackBuild
index b93e6100f7a66..c8378a20ddc6a 100644
--- a/misc/birthday/birthday.SlackBuild
+++ b/misc/birthday/birthday.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=birthday
VERSION=${VERSION:-1.6.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/misc/bodr/bodr.SlackBuild b/misc/bodr/bodr.SlackBuild
index ec3cd575de5c0..af56b08692c4f 100644
--- a/misc/bodr/bodr.SlackBuild
+++ b/misc/bodr/bodr.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=bodr
VERSION=${VERSION:-10}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/boncuk/boncuk.SlackBuild b/misc/boncuk/boncuk.SlackBuild
index 150549608d380..d4276082fd83e 100644
--- a/misc/boncuk/boncuk.SlackBuild
+++ b/misc/boncuk/boncuk.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=boncuk
VERSION=${VERSION:-1.1}
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/misc/boxes/boxes.SlackBuild b/misc/boxes/boxes.SlackBuild
index 679092bafc284..6629324f16150 100644
--- a/misc/boxes/boxes.SlackBuild
+++ b/misc/boxes/boxes.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=boxes
VERSION=${VERSION:-1.1.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/misc/brewtarget/brewtarget.SlackBuild b/misc/brewtarget/brewtarget.SlackBuild
index ec5c690edf51c..638e559371dd0 100644
--- a/misc/brewtarget/brewtarget.SlackBuild
+++ b/misc/brewtarget/brewtarget.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=brewtarget
VERSION=${VERSION:-2.3.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/misc/bsdmainutils/bsdmainutils.SlackBuild b/misc/bsdmainutils/bsdmainutils.SlackBuild
index 8debb00d34ed3..352ca10b9630e 100644
--- a/misc/bsdmainutils/bsdmainutils.SlackBuild
+++ b/misc/bsdmainutils/bsdmainutils.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=bsdmainutils
VERSION=${VERSION:-9.0.12+nmu1}
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/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild
index 7fb54b5b7c636..c627b942d24e9 100644
--- a/misc/bsdsfv/bsdsfv.SlackBuild
+++ b/misc/bsdsfv/bsdsfv.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=bsdsfv
VERSION=${VERSION:-1.18}
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/misc/ccze/ccze.SlackBuild b/misc/ccze/ccze.SlackBuild
index 5adf37c79b135..d729f1285b0bb 100644
--- a/misc/ccze/ccze.SlackBuild
+++ b/misc/ccze/ccze.SlackBuild
@@ -4,6 +4,8 @@
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ccze
VERSION=${VERSION:-0.2.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/misc/cflow/cflow.SlackBuild b/misc/cflow/cflow.SlackBuild
index 9992716b31170..3d1c92779ffd2 100644
--- a/misc/cflow/cflow.SlackBuild
+++ b/misc/cflow/cflow.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=cflow
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/misc/chemical-mime-data/chemical-mime-data.SlackBuild b/misc/chemical-mime-data/chemical-mime-data.SlackBuild
index 715beff323ff8..d7c8467584d67 100644
--- a/misc/chemical-mime-data/chemical-mime-data.SlackBuild
+++ b/misc/chemical-mime-data/chemical-mime-data.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=chemical-mime-data
VERSION=${VERSION:-0.1.94}
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/misc/chm2pdf/chm2pdf.SlackBuild b/misc/chm2pdf/chm2pdf.SlackBuild
index f31ffe4b9f2fd..b8f01dc906461 100644
--- a/misc/chm2pdf/chm2pdf.SlackBuild
+++ b/misc/chm2pdf/chm2pdf.SlackBuild
@@ -25,6 +25,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chm2pdf
VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-3}
@@ -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/misc/chntpw/chntpw.SlackBuild b/misc/chntpw/chntpw.SlackBuild
index 7e17a71de24bf..a793e779e4827 100644
--- a/misc/chntpw/chntpw.SlackBuild
+++ b/misc/chntpw/chntpw.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=chntpw
VERSION=${VERSION:-140201}
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/misc/ciso/ciso.SlackBuild b/misc/ciso/ciso.SlackBuild
index db3756594607e..176a8d24787fd 100644
--- a/misc/ciso/ciso.SlackBuild
+++ b/misc/ciso/ciso.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=ciso
VERSION=${VERSION:-1.0.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/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild
index 46d8676397827..bb1fb3c5a4a4d 100644
--- a/misc/cksfv/cksfv.SlackBuild
+++ b/misc/cksfv/cksfv.SlackBuild
@@ -29,6 +29,8 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
# No additional license terms
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cksfv
VERSION=${VERSION:-1.3.14}
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/misc/clawsker/clawsker.SlackBuild b/misc/clawsker/clawsker.SlackBuild
index 976f9bf8252eb..f6a954f14de82 100644
--- a/misc/clawsker/clawsker.SlackBuild
+++ b/misc/clawsker/clawsker.SlackBuild
@@ -22,13 +22,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=clawsker
VERSION=${VERSION:-1.1.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/cp437/cp437.SlackBuild b/misc/cp437/cp437.SlackBuild
index c17d1a4fd82b6..8d32bd5550f46 100644
--- a/misc/cp437/cp437.SlackBuild
+++ b/misc/cp437/cp437.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cp437
VERSION=${VERSION:-0.6}
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/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild
index b3b15c35c6ccf..58f3f11401444 100644
--- a/misc/cwiid/cwiid.SlackBuild
+++ b/misc/cwiid/cwiid.SlackBuild
@@ -18,6 +18,8 @@
# - Fixed permissions of config files and header
# - Added ir_fps and nunchuk_kb plugins
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cwiid
VERSION=${VERSION:-0.6.00+svn201}
BUILD=${BUILD:-3}
@@ -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/misc/dbview/dbview.SlackBuild b/misc/dbview/dbview.SlackBuild
index d285c6dfb4afc..6c748ca1f11b0 100644
--- a/misc/dbview/dbview.SlackBuild
+++ b/misc/dbview/dbview.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dbview
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dbview
VERSION=${VERSION:-1.0.4}
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/misc/dcc/dcc.SlackBuild b/misc/dcc/dcc.SlackBuild
index 398689a642ba5..be8e2abfc65e5 100644
--- a/misc/dcc/dcc.SlackBuild
+++ b/misc/dcc/dcc.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=dcc
VERSION=${VERSION:-1.3.158}
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/misc/deb2tgz/deb2tgz.SlackBuild b/misc/deb2tgz/deb2tgz.SlackBuild
index 2aa809a97bd7b..31dc30ad1828c 100644
--- a/misc/deb2tgz/deb2tgz.SlackBuild
+++ b/misc/deb2tgz/deb2tgz.SlackBuild
@@ -22,13 +22,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=deb2tgz
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/deroff/deroff.SlackBuild b/misc/deroff/deroff.SlackBuild
index 9bd3c63134f95..9d9a0adcad96d 100644
--- a/misc/deroff/deroff.SlackBuild
+++ b/misc/deroff/deroff.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=deroff
VERSION=${VERSION:-2.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/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild
index b37f244510d39..a6627653804ce 100644
--- a/misc/discount/discount.SlackBuild
+++ b/misc/discount/discount.SlackBuild
@@ -22,6 +22,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=discount
VERSION=${VERSION:-2.2.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/misc/dmg2img/dmg2img.SlackBuild b/misc/dmg2img/dmg2img.SlackBuild
index d326cd30df16e..75e6f098f5790 100644
--- a/misc/dmg2img/dmg2img.SlackBuild
+++ b/misc/dmg2img/dmg2img.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=dmg2img
VERSION=${VERSION:-1.6.7}
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/misc/doclifter/doclifter.SlackBuild b/misc/doclifter/doclifter.SlackBuild
index eac087af76a0b..2bcfa501bb1cb 100644
--- a/misc/doclifter/doclifter.SlackBuild
+++ b/misc/doclifter/doclifter.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=doclifter
VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
# We package Python scripts, so:
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild
index 9fdbab5a633b6..9bfc76da00b35 100644
--- a/misc/dos2unix/dos2unix.SlackBuild
+++ b/misc/dos2unix/dos2unix.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=dos2unix
VERSION=${VERSION:-7.4.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/misc/drg2sbg/drg2sbg.SlackBuild b/misc/drg2sbg/drg2sbg.SlackBuild
index 12b6fb9801cb0..7ad394d871c9b 100644
--- a/misc/drg2sbg/drg2sbg.SlackBuild
+++ b/misc/drg2sbg/drg2sbg.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=drg2sbg
VERSION=${VERSION:-2.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/misc/dvtm/dvtm.SlackBuild b/misc/dvtm/dvtm.SlackBuild
index 16dbc0c75f216..d075ab8e9c06f 100644
--- a/misc/dvtm/dvtm.SlackBuild
+++ b/misc/dvtm/dvtm.SlackBuild
@@ -26,6 +26,8 @@
# Modified by slackbuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dvtm
VERSION=${VERSION:-0.15}
BUILD=${BUILD:-2}
@@ -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/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild
index 7b69242ebb000..ee731522e26d0 100644
--- a/misc/dwdiff/dwdiff.SlackBuild
+++ b/misc/dwdiff/dwdiff.SlackBuild
@@ -4,6 +4,8 @@
# Written by slakmagik <slakmagik@gmail.com>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dwdiff
VERSION=${VERSION:-2.0.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/misc/esniper/esniper.SlackBuild b/misc/esniper/esniper.SlackBuild
index 2eca765f4d431..a24c220646a14 100644
--- a/misc/esniper/esniper.SlackBuild
+++ b/misc/esniper/esniper.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=esniper
VERSION=${VERSION:-2.35.0}
SRCVER=$(printf %s "$VERSION" | tr . -)
@@ -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/misc/fbcat/fbcat.SlackBuild b/misc/fbcat/fbcat.SlackBuild
index aaf9e212baef3..42c77e869c2c5 100644
--- a/misc/fbcat/fbcat.SlackBuild
+++ b/misc/fbcat/fbcat.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbcat
VERSION=${VERSION:-0.5.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/misc/fbdump/fbdump.SlackBuild b/misc/fbdump/fbdump.SlackBuild
index 12b945910f0e2..11e4b7d75e3b7 100644
--- a/misc/fbdump/fbdump.SlackBuild
+++ b/misc/fbdump/fbdump.SlackBuild
@@ -42,6 +42,8 @@
# framebuffer format these days. Compiling with lots of optimizations
# doesn't seem to help (even switching from gcc to clang).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbdump
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-2}
@@ -55,7 +57,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/fcitx-mozc/fcitx-mozc.SlackBuild b/misc/fcitx-mozc/fcitx-mozc.SlackBuild
index 7947fb193adc8..d4ecb347bd952 100644
--- a/misc/fcitx-mozc/fcitx-mozc.SlackBuild
+++ b/misc/fcitx-mozc/fcitx-mozc.SlackBuild
@@ -22,6 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fcitx-mozc
VERSION=${VERSION:-2.17.2313.102.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/misc/fcrackzip/fcrackzip.SlackBuild b/misc/fcrackzip/fcrackzip.SlackBuild
index e6748b027fd47..596d922eb19a9 100644
--- a/misc/fcrackzip/fcrackzip.SlackBuild
+++ b/misc/fcrackzip/fcrackzip.SlackBuild
@@ -19,6 +19,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=fcrackzip
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-2}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/figlet-contributed/figlet-contributed.SlackBuild b/misc/figlet-contributed/figlet-contributed.SlackBuild
index 36832b1545328..b473857796d8d 100644
--- a/misc/figlet-contributed/figlet-contributed.SlackBuild
+++ b/misc/figlet-contributed/figlet-contributed.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=figlet-contributed
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ FONTS="$(printf $PRGNAM | cut -d- -f2-)"
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/figlet-international/figlet-international.SlackBuild b/misc/figlet-international/figlet-international.SlackBuild
index 5f40561d37a23..6f1323df1a60a 100644
--- a/misc/figlet-international/figlet-international.SlackBuild
+++ b/misc/figlet-international/figlet-international.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=figlet-international
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ FONTS="$(printf $PRGNAM | cut -d- -f2-)"
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild
index 29e6357f449b5..d47954f58d593 100644
--- a/misc/figlet/figlet.SlackBuild
+++ b/misc/figlet/figlet.SlackBuild
@@ -25,6 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF
# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=figlet
VERSION=${VERSION:-2.2.5}
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/misc/flashrom/flashrom.SlackBuild b/misc/flashrom/flashrom.SlackBuild
index d28021e288958..c4ad7ae7a46fd 100644
--- a/misc/flashrom/flashrom.SlackBuild
+++ b/misc/flashrom/flashrom.SlackBuild
@@ -24,6 +24,8 @@
# Currently maintained by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flashrom
VERSION=${VERSION:-v1.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/misc/floating-IPS/floating-IPS.SlackBuild b/misc/floating-IPS/floating-IPS.SlackBuild
index 7f5ca1f143ade..aadd5d05b6d0c 100644
--- a/misc/floating-IPS/floating-IPS.SlackBuild
+++ b/misc/floating-IPS/floating-IPS.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=floating-IPS
ZIPNAM=${PRGNAM%%-*}
VERSION=${VERSION:-1.31}
@@ -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/misc/font-unscii/font-unscii.SlackBuild b/misc/font-unscii/font-unscii.SlackBuild
index 50acbc1153136..a0a158ca4428c 100644
--- a/misc/font-unscii/font-unscii.SlackBuild
+++ b/misc/font-unscii/font-unscii.SlackBuild
@@ -8,13 +8,14 @@
# 20210326 bkw: updated for v2.1, reflow README, new homepage/download
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=font-unscii
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/fribid/fribid.SlackBuild b/misc/fribid/fribid.SlackBuild
index 29d787c0b6dbd..94800a5c7a1ba 100644
--- a/misc/fribid/fribid.SlackBuild
+++ b/misc/fribid/fribid.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fribid
VERSION=${VERSION:-1.0.4}
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/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild
index 7abadf598ad48..ca305fc3b6371 100644
--- a/misc/funny-manpages/funny-manpages.SlackBuild
+++ b/misc/funny-manpages/funny-manpages.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=funny-manpages
VERSION=${VERSION:-1.3.5}
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
@@ -32,7 +34,6 @@ ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/g15composer/g15composer.SlackBuild b/misc/g15composer/g15composer.SlackBuild
index 5f80bddd7db36..d50292bfd469f 100644
--- a/misc/g15composer/g15composer.SlackBuild
+++ b/misc/g15composer/g15composer.SlackBuild
@@ -24,6 +24,8 @@
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=g15composer
VERSION=${VERSION:-3.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/misc/g15daemon/g15daemon.SlackBuild b/misc/g15daemon/g15daemon.SlackBuild
index 470062f803eee..165c695877d71 100644
--- a/misc/g15daemon/g15daemon.SlackBuild
+++ b/misc/g15daemon/g15daemon.SlackBuild
@@ -23,6 +23,8 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=g15daemon
VERSION=${VERSION:-1.9.5.3}
BUILD=${BUILD:-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/misc/g15stats/g15stats.SlackBuild b/misc/g15stats/g15stats.SlackBuild
index 3700eae6387ac..65446df875695 100644
--- a/misc/g15stats/g15stats.SlackBuild
+++ b/misc/g15stats/g15stats.SlackBuild
@@ -23,6 +23,8 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=g15stats
VERSION=${VERSION:-1.9.7}
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/misc/g810-led/g810-led.SlackBuild b/misc/g810-led/g810-led.SlackBuild
index e2a5a7b3fd034..aa8427aef2de7 100644
--- a/misc/g810-led/g810-led.SlackBuild
+++ b/misc/g810-led/g810-led.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=g810-led
VERSION=${VERSION:-0.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/misc/gcp/gcp.SlackBuild b/misc/gcp/gcp.SlackBuild
index 79186407ea3b3..6a2ff235bbfd4 100644
--- a/misc/gcp/gcp.SlackBuild
+++ b/misc/gcp/gcp.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=gcp
VERSION=${VERSION:-0.1.3}
@@ -38,7 +40,6 @@ fi
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/ghostpcl/ghostpcl.SlackBuild b/misc/ghostpcl/ghostpcl.SlackBuild
index 9279a8db0976e..6d002e7d2827c 100644
--- a/misc/ghostpcl/ghostpcl.SlackBuild
+++ b/misc/ghostpcl/ghostpcl.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=ghostpcl
SRCNAM=ghostpdl
VERSION=${VERSION:-9.54.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/misc/git-store-meta/git-store-meta.SlackBuild b/misc/git-store-meta/git-store-meta.SlackBuild
index aa129836fd94f..df9625079cd31 100644
--- a/misc/git-store-meta/git-store-meta.SlackBuild
+++ b/misc/git-store-meta/git-store-meta.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=git-store-meta
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/glogg/glogg.SlackBuild b/misc/glogg/glogg.SlackBuild
index 8700b6a2357fc..58f79036485a6 100644
--- a/misc/glogg/glogg.SlackBuild
+++ b/misc/glogg/glogg.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=glogg
VERSION=${VERSION:-1.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/misc/gnome-mime-data/gnome-mime-data.SlackBuild b/misc/gnome-mime-data/gnome-mime-data.SlackBuild
index 23469a11f28ab..ffd8a487ea06d 100644
--- a/misc/gnome-mime-data/gnome-mime-data.SlackBuild
+++ b/misc/gnome-mime-data/gnome-mime-data.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-mime-data
VERSION=${VERSION:-2.18.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/misc/go-md2man/go-md2man.SlackBuild b/misc/go-md2man/go-md2man.SlackBuild
index 931a73db072fc..6e9b8fe3d6c43 100644
--- a/misc/go-md2man/go-md2man.SlackBuild
+++ b/misc/go-md2man/go-md2man.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=go-md2man
VERSION=${VERSION:-1.0.8}
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/misc/goldencheetah/goldencheetah.SlackBuild b/misc/goldencheetah/goldencheetah.SlackBuild
index 4dc80c6ee5f6e..b41e911500f5c 100644
--- a/misc/goldencheetah/goldencheetah.SlackBuild
+++ b/misc/goldencheetah/goldencheetah.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=goldencheetah
SRCNAM=GoldenCheetah
VERSION=${VERSION:-3.5}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/gourmet/gourmet.SlackBuild b/misc/gourmet/gourmet.SlackBuild
index b3fb114bba59b..6d23d23bd577f 100644
--- a/misc/gourmet/gourmet.SlackBuild
+++ b/misc/gourmet/gourmet.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=gourmet
VERSION=${VERSION:-0.17.4}
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/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild
index edbe469095942..ab3ccb95fba68 100644
--- a/misc/gprename/gprename.SlackBuild
+++ b/misc/gprename/gprename.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=gprename
VERSION=${VERSION:-20190221}
BUILD=${BUILD:-1}
@@ -28,7 +30,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/gr-iqbal/gr-iqbal.SlackBuild b/misc/gr-iqbal/gr-iqbal.SlackBuild
index bef3ee24d91e4..7799c829c3813 100644
--- a/misc/gr-iqbal/gr-iqbal.SlackBuild
+++ b/misc/gr-iqbal/gr-iqbal.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=gr-iqbal
VERSION=${VERSION:-2015.11.20}
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/misc/grabc/grabc.SlackBuild b/misc/grabc/grabc.SlackBuild
index 0a5d6df197012..62c3a61a23630 100644
--- a/misc/grabc/grabc.SlackBuild
+++ b/misc/grabc/grabc.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=grabc
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/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild
index e68c51204a3f3..40a9b1b2626ab 100644
--- a/misc/gramps/gramps.SlackBuild
+++ b/misc/gramps/gramps.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=gramps
VERSION=${VERSION:-5.1.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/misc/grc/grc.SlackBuild b/misc/grc/grc.SlackBuild
index e97993fb7c991..d7588bd3d6e9f 100644
--- a/misc/grc/grc.SlackBuild
+++ b/misc/grc/grc.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="grc"
VERSION=${VERSION:-1.11.3}
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/misc/gxmessage/gxmessage.SlackBuild b/misc/gxmessage/gxmessage.SlackBuild
index 3a47b51b37476..47c8ab44ac0e0 100644
--- a/misc/gxmessage/gxmessage.SlackBuild
+++ b/misc/gxmessage/gxmessage.SlackBuild
@@ -29,6 +29,8 @@
# Modified by the SlackBuilds.org project.
# Modified by slakmagik
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gxmessage
VERSION=${VERSION:-2.12.4}
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/misc/hashkill/hashkill.SlackBuild b/misc/hashkill/hashkill.SlackBuild
index c4b873f5f080d..0392472fdd133 100644
--- a/misc/hashkill/hashkill.SlackBuild
+++ b/misc/hashkill/hashkill.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=hashkill
VERSION=${VERSION:-0.3.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/misc/heimdall/heimdall.SlackBuild b/misc/heimdall/heimdall.SlackBuild
index e6682277a5633..4dbcb2aec917f 100644
--- a/misc/heimdall/heimdall.SlackBuild
+++ b/misc/heimdall/heimdall.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=heimdall
VERSION=${VERSION:-1.4.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/misc/heyu/heyu.SlackBuild b/misc/heyu/heyu.SlackBuild
index b53ba56230b42..a85d610456d72 100644
--- a/misc/heyu/heyu.SlackBuild
+++ b/misc/heyu/heyu.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=heyu
VERSION=${VERSION:-2.10.2}
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/misc/hoorex/hoorex.SlackBuild b/misc/hoorex/hoorex.SlackBuild
index 61925046618d6..997fd9e4ce1ef 100644
--- a/misc/hoorex/hoorex.SlackBuild
+++ b/misc/hoorex/hoorex.SlackBuild
@@ -22,13 +22,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=hoorex
VERSION=${VERSION:-0.9.92}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/html-xml-utils/html-xml-utils.SlackBuild b/misc/html-xml-utils/html-xml-utils.SlackBuild
index 63b9121dad9d1..b8f72c8df8107 100644
--- a/misc/html-xml-utils/html-xml-utils.SlackBuild
+++ b/misc/html-xml-utils/html-xml-utils.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=html-xml-utils
VERSION=${VERSION:-7.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/misc/html2ps/html2ps.SlackBuild b/misc/html2ps/html2ps.SlackBuild
index 5d5aa9ff1ce5e..feaf753c1b179 100644
--- a/misc/html2ps/html2ps.SlackBuild
+++ b/misc/html2ps/html2ps.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=html2ps
VERSION=${VERSION:-1.0b7}
BUILD=${BUILD:-3}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild
index 68b013ef2922e..5274c584b361d 100644
--- a/misc/ibus-chewing/ibus-chewing.SlackBuild
+++ b/misc/ibus-chewing/ibus-chewing.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=ibus-chewing
VERSION=${VERSION:-1.6.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/misc/ibus-qt/ibus-qt.SlackBuild b/misc/ibus-qt/ibus-qt.SlackBuild
index 3ba7cc6c3cbe3..03f4692c3ee34 100644
--- a/misc/ibus-qt/ibus-qt.SlackBuild
+++ b/misc/ibus-qt/ibus-qt.SlackBuild
@@ -24,6 +24,8 @@
# Originally written by Grissiom <chaos.proton@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ibus-qt
VERSION=${VERSION:-1.3.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/misc/ibus-skk/ibus-skk.SlackBuild b/misc/ibus-skk/ibus-skk.SlackBuild
index 35e7b5c5dae96..99ab388a09c23 100644
--- a/misc/ibus-skk/ibus-skk.SlackBuild
+++ b/misc/ibus-skk/ibus-skk.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=ibus-skk
VERSION=${VERSION:-1.3.9}
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/misc/igal2/igal2.SlackBuild b/misc/igal2/igal2.SlackBuild
index 93118a09ef0b3..39d0ab6e649c8 100644
--- a/misc/igal2/igal2.SlackBuild
+++ b/misc/igal2/igal2.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=igal2
VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=igal
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/iscan-firmware/iscan-firmware.SlackBuild b/misc/iscan-firmware/iscan-firmware.SlackBuild
index 2a001bdcf3636..b0087672b9535 100644
--- a/misc/iscan-firmware/iscan-firmware.SlackBuild
+++ b/misc/iscan-firmware/iscan-firmware.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=iscan-firmware
VERSION=${VERSION:-2.8.0.1}
RPMBUILD=72.1.1 # <-- This is the build number used by OpenSuSE in their RPM
@@ -29,7 +31,6 @@ ARCH=noarch
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild b/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild
index e235c85c561dd..60d424af65421 100644
--- a/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild
+++ b/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.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=iscan-proprietary-drivers
VERSION=${VERSION:-2.10.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/misc/jmri/jmri.SlackBuild b/misc/jmri/jmri.SlackBuild
index da12e8f44fc15..c5dcc5dc757b0 100644
--- a/misc/jmri/jmri.SlackBuild
+++ b/misc/jmri/jmri.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=jmri
VERSION=${VERSION:-4.22}
REVISION=${REVISION:-R4c4384d74}
@@ -41,7 +43,6 @@ TAG=${TAG:-_SBo}
TARNAM=JMRI
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/kasumi/kasumi.SlackBuild b/misc/kasumi/kasumi.SlackBuild
index 357f8097b3254..eef3bd458265c 100644
--- a/misc/kasumi/kasumi.SlackBuild
+++ b/misc/kasumi/kasumi.SlackBuild
@@ -3,6 +3,8 @@
#Slackbuild script for Kasumi
#Written by Francisco Dalla Rosa Soares (dallarosa at gmail dot com) revision date 2009/06/12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kasumi
VERSION=${VERSION:-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/misc/kde_cdemu/kde_cdemu.SlackBuild b/misc/kde_cdemu/kde_cdemu.SlackBuild
index d65fb74779e4a..ce1c5cafcc14d 100644
--- a/misc/kde_cdemu/kde_cdemu.SlackBuild
+++ b/misc/kde_cdemu/kde_cdemu.SlackBuild
@@ -6,6 +6,8 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kde_cdemu
VERSION=${VERSION:-0.5.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/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild
index ad834e47b65a5..3b4e6ec38f8a5 100644
--- a/misc/keychain/keychain.SlackBuild
+++ b/misc/keychain/keychain.SlackBuild
@@ -20,6 +20,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=keychain
VERSION=${VERSION:-2.8.5}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/klibc/klibc.SlackBuild b/misc/klibc/klibc.SlackBuild
index 5ef705e02cf0d..a9a3d82be4dc0 100644
--- a/misc/klibc/klibc.SlackBuild
+++ b/misc/klibc/klibc.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=klibc
VERSION=${VERSION:-2.0.4}
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/misc/kronometer/kronometer.SlackBuild b/misc/kronometer/kronometer.SlackBuild
index 5b68660afa78b..7fa91e005cf85 100644
--- a/misc/kronometer/kronometer.SlackBuild
+++ b/misc/kronometer/kronometer.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=kronometer
VERSION=${VERSION:-1.6.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/misc/langdrill/langdrill.SlackBuild b/misc/langdrill/langdrill.SlackBuild
index ca306e68a4921..4e736b422930f 100644
--- a/misc/langdrill/langdrill.SlackBuild
+++ b/misc/langdrill/langdrill.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=langdrill
VERSION=${VERSION:-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/misc/lastpass-cli/lastpass-cli.SlackBuild b/misc/lastpass-cli/lastpass-cli.SlackBuild
index 74299e6cdc3ea..4c15cbce0bfa6 100644
--- a/misc/lastpass-cli/lastpass-cli.SlackBuild
+++ b/misc/lastpass-cli/lastpass-cli.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=lastpass-cli
VERSION=${VERSION:-1.3.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/misc/lbdb/lbdb.SlackBuild b/misc/lbdb/lbdb.SlackBuild
index 2ab8ccf0962e5..1f169cfc4d59c 100644
--- a/misc/lbdb/lbdb.SlackBuild
+++ b/misc/lbdb/lbdb.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=lbdb
VERSION=${VERSION:-0.38}
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/misc/libydpdict/libydpdict.SlackBuild b/misc/libydpdict/libydpdict.SlackBuild
index 1ff66383e7f05..167fddcdab03e 100644
--- a/misc/libydpdict/libydpdict.SlackBuild
+++ b/misc/libydpdict/libydpdict.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libydpdict
VERSION=${VERSION:-1.0.4}
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/misc/linux_logo/linux_logo.SlackBuild b/misc/linux_logo/linux_logo.SlackBuild
index 9f9c45a97e014..16b375bee6e4f 100644
--- a/misc/linux_logo/linux_logo.SlackBuild
+++ b/misc/linux_logo/linux_logo.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=linux_logo
VERSION=${VERSION:-6.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/misc/lppf/lppf.SlackBuild b/misc/lppf/lppf.SlackBuild
index a0aa3867f1ef5..8185f888b87b3 100644
--- a/misc/lppf/lppf.SlackBuild
+++ b/misc/lppf/lppf.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=lppf
VERSION=${VERSION:-0.1_rc1}
SRCVER=$(echo $VERSION | tr _ -)
@@ -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/misc/ltunify/ltunify.SlackBuild b/misc/ltunify/ltunify.SlackBuild
index c6fb45736ea81..aa13eea3e3468 100644
--- a/misc/ltunify/ltunify.SlackBuild
+++ b/misc/ltunify/ltunify.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ltunify
VERSION=${VERSION:-0.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/misc/mdic/mdic.SlackBuild b/misc/mdic/mdic.SlackBuild
index 942131875ef96..f9849904a1728 100644
--- a/misc/mdic/mdic.SlackBuild
+++ b/misc/mdic/mdic.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for Mdic dictionary
#written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdic
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-2}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
if [ "$TMP" = "" ]; then
TMP=${TMP:-/tmp/SBo}
fi
diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild
index fdbf73960f86f..a5be50d766676 100644
--- a/misc/megatunix/megatunix.SlackBuild
+++ b/misc/megatunix/megatunix.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=megatunix
VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild b/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild
index e2453a4a18f01..8a47d4c882fcc 100644
--- a/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild
+++ b/misc/moedict-desktop.app/moedict-desktop.app.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=moedict-desktop.app
VERSION=${VERSION:-1.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/misc/moreutils/moreutils.SlackBuild b/misc/moreutils/moreutils.SlackBuild
index 0e95e1e40e779..57a10d9a2e390 100644
--- a/misc/moreutils/moreutils.SlackBuild
+++ b/misc/moreutils/moreutils.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=moreutils
VERSION=${VERSION:-0.65}
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/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild
index d8b4d52d30397..ed19c324de6ec 100644
--- a/misc/mosquitto/mosquitto.SlackBuild
+++ b/misc/mosquitto/mosquitto.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=mosquitto
VERSION=${VERSION:-2.0.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/misc/myclippings/myclippings.SlackBuild b/misc/myclippings/myclippings.SlackBuild
index 6ff4c0891d12b..d1451a1b0dfe4 100644
--- a/misc/myclippings/myclippings.SlackBuild
+++ b/misc/myclippings/myclippings.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=myclippings
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -12,7 +14,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/nfoview/nfoview.SlackBuild b/misc/nfoview/nfoview.SlackBuild
index 5842ce8fa517b..193fa4ece14e8 100644
--- a/misc/nfoview/nfoview.SlackBuild
+++ b/misc/nfoview/nfoview.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=nfoview
VERSION=${VERSION:-1.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/misc/no-more-secrets/no-more-secrets.SlackBuild b/misc/no-more-secrets/no-more-secrets.SlackBuild
index 8fd7162236100..309abf4714b0b 100644
--- a/misc/no-more-secrets/no-more-secrets.SlackBuild
+++ b/misc/no-more-secrets/no-more-secrets.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=no-more-secrets
VERSION=${VERSION:-0.3.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/misc/nvclock/nvclock.SlackBuild b/misc/nvclock/nvclock.SlackBuild
index 1fae9de28aeef..557ebbd1ac96d 100644
--- a/misc/nvclock/nvclock.SlackBuild
+++ b/misc/nvclock/nvclock.SlackBuild
@@ -8,6 +8,8 @@
# If the use of SLKCFLAGS causes any problems, please let me know
# ASAP so that I can remove them...
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvclock
VERSION=${VERSION:-0.8b4}
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/misc/ophcrack/ophcrack.SlackBuild b/misc/ophcrack/ophcrack.SlackBuild
index 88eeee378433e..105b04c645c7c 100644
--- a/misc/ophcrack/ophcrack.SlackBuild
+++ b/misc/ophcrack/ophcrack.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for ophcrack
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ophcrack
VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/owfs/owfs.SlackBuild b/misc/owfs/owfs.SlackBuild
index 598a7250a7e7c..1b0216bfb68f3 100644
--- a/misc/owfs/owfs.SlackBuild
+++ b/misc/owfs/owfs.SlackBuild
@@ -4,6 +4,8 @@
# Written by MrJackson mrjackson@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=owfs
VERSION=${VERSION:-2.8p20}
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/misc/paperkey/paperkey.SlackBuild b/misc/paperkey/paperkey.SlackBuild
index ac861c461893e..283e8c81ce651 100644
--- a/misc/paperkey/paperkey.SlackBuild
+++ b/misc/paperkey/paperkey.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=paperkey
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/misc/par/par.SlackBuild b/misc/par/par.SlackBuild
index 4b759fefef429..398e253ed4fd1 100644
--- a/misc/par/par.SlackBuild
+++ b/misc/par/par.SlackBuild
@@ -13,6 +13,8 @@
# - various tweaks
# - add default_env patch (see below)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=par
SRCNAM=Par
VERSION=${VERSION:-1.53.0}
@@ -27,7 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index fc68e9d7bf9aa..f499609f2581f 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for par2cmdline tbb
# Written by powtrix (@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=par2cmdline-tbb
VERSION=${VERSION:-0.4_20150503}
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/misc/par2cmdline/par2cmdline.SlackBuild b/misc/par2cmdline/par2cmdline.SlackBuild
index 8f8fab646d2b3..8c31895ea5e6c 100644
--- a/misc/par2cmdline/par2cmdline.SlackBuild
+++ b/misc/par2cmdline/par2cmdline.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=par2cmdline
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild
index 0654648bf85ae..14f3dc7a39a4d 100644
--- a/misc/pinfo/pinfo.SlackBuild
+++ b/misc/pinfo/pinfo.SlackBuild
@@ -35,6 +35,8 @@
# - pinfo development moved to github, change homepage.
# - add info dir entry in doinst.sh.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pinfo
VERSION=${VERSION:-0.6.13}
BUILD=${BUILD:-2}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/pmw/pmw.SlackBuild b/misc/pmw/pmw.SlackBuild
index 5862e47f41068..e0742d112ab7f 100644
--- a/misc/pmw/pmw.SlackBuild
+++ b/misc/pmw/pmw.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=pmw
VERSION=${VERSION:-4.31}
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/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild
index 2c4286542d272..bd1dd70698490 100644
--- a/misc/po4a/po4a.SlackBuild
+++ b/misc/po4a/po4a.SlackBuild
@@ -26,6 +26,8 @@
# usually, run it like this e.g.
# LC_ALL=en_US.utf8 ./po4a.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=po4a
VERSION=${VERSION:-0.63}
BUILD=${BUILD:-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/misc/portecle/portecle.SlackBuild b/misc/portecle/portecle.SlackBuild
index 1336d1c391405..2ce9709547506 100644
--- a/misc/portecle/portecle.SlackBuild
+++ b/misc/portecle/portecle.SlackBuild
@@ -4,6 +4,8 @@
# Petr Kletecka petr@kle.cz <2018>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=portecle
VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
@@ -11,7 +13,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild
index d1109dec7e5b8..d83a2a4db16ca 100644
--- a/misc/projectM/projectM.SlackBuild
+++ b/misc/projectM/projectM.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=projectM
VERSION=${VERSION:-3.1.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/misc/protobuf/protobuf.SlackBuild b/misc/protobuf/protobuf.SlackBuild
index 25819a0a99a23..807c7bbc7b3ef 100644
--- a/misc/protobuf/protobuf.SlackBuild
+++ b/misc/protobuf/protobuf.SlackBuild
@@ -4,6 +4,8 @@
# Written by M.Dinslage (daedra1980@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=protobuf
VERSION=${VERSION:-2.6.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/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild
index 9da8520946a4e..41c19643058d6 100644
--- a/misc/protobuf3/protobuf3.SlackBuild
+++ b/misc/protobuf3/protobuf3.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=protobuf3
VERSION=${VERSION:-3.17.3}
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/misc/qtspell/qtspell.SlackBuild b/misc/qtspell/qtspell.SlackBuild
index cccc0c2452481..9ff538ed3a01f 100644
--- a/misc/qtspell/qtspell.SlackBuild
+++ b/misc/qtspell/qtspell.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=qtspell
VERSION=${VERSION:-0.9.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/ramdefrag/ramdefrag.SlackBuild b/misc/ramdefrag/ramdefrag.SlackBuild
index 1b4ee4978a2e1..d8e14fb92ec75 100644
--- a/misc/ramdefrag/ramdefrag.SlackBuild
+++ b/misc/ramdefrag/ramdefrag.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=ramdefrag
VERSION=${VERSION:-0.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/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild
index d1921df64a43d..c0e50c9c9fbb7 100644
--- a/misc/rarcrack/rarcrack.SlackBuild
+++ b/misc/rarcrack/rarcrack.SlackBuild
@@ -32,6 +32,8 @@
# - actually use SLKCFLAGS
# - use 'make install'
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rarcrack
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-3}
@@ -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/misc/rbutil/rbutil.SlackBuild b/misc/rbutil/rbutil.SlackBuild
index 277528c3dd9fc..1bb8a7a4b25dc 100644
--- a/misc/rbutil/rbutil.SlackBuild
+++ b/misc/rbutil/rbutil.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=rbutil
SRCNAM=RockboxUtility
VERSION=${VERSION:-1.4.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/readesm/readesm.SlackBuild b/misc/readesm/readesm.SlackBuild
index d66c3687f8f9b..e1b52b936965c 100644
--- a/misc/readesm/readesm.SlackBuild
+++ b/misc/readesm/readesm.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=readesm
VERSION=${VERSION:-2011.12pre1}
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/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild
index 6b27136c3b5f8..c1e48f79b73e7 100644
--- a/misc/recode/recode.SlackBuild
+++ b/misc/recode/recode.SlackBuild
@@ -30,6 +30,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=recode
SRCNAM=Recode
VERSION=${VERSION:-3.7_beta2}
@@ -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/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild
index a1224906eae7e..b5bae24faa344 100644
--- a/misc/rlwrap/rlwrap.SlackBuild
+++ b/misc/rlwrap/rlwrap.SlackBuild
@@ -6,6 +6,8 @@
# Updated 2017,2021 by Andrew Clemons, Wellington New Zealand
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rlwrap
VERSION=${VERSION:-0.45.2}
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/misc/rsibreak/rsibreak.SlackBuild b/misc/rsibreak/rsibreak.SlackBuild
index b1cc44fa94afe..c316010acded4 100644
--- a/misc/rsibreak/rsibreak.SlackBuild
+++ b/misc/rsibreak/rsibreak.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=rsibreak
VERSION=${VERSION:-0.12.13}
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/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild
index b42ccc78a1d2a..ff2e9486965b1 100644
--- a/misc/rsnapshot/rsnapshot.SlackBuild
+++ b/misc/rsnapshot/rsnapshot.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=rsnapshot
VERSION=${VERSION:-1.4.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/misc/samdump2/samdump2.SlackBuild b/misc/samdump2/samdump2.SlackBuild
index 0de3bb5569155..289fff12e668b 100644
--- a/misc/samdump2/samdump2.SlackBuild
+++ b/misc/samdump2/samdump2.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=samdump2
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/misc/sbo-templates/sbo-templates.SlackBuild b/misc/sbo-templates/sbo-templates.SlackBuild
index 15dce564a5c32..637f3217ec52c 100644
--- a/misc/sbo-templates/sbo-templates.SlackBuild
+++ b/misc/sbo-templates/sbo-templates.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=sbo-templates
VERSION=${VERSION:-1.3.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/misc/scim-chewing/scim-chewing.SlackBuild b/misc/scim-chewing/scim-chewing.SlackBuild
index 70138092a9967..3306e69d99aee 100644
--- a/misc/scim-chewing/scim-chewing.SlackBuild
+++ b/misc/scim-chewing/scim-chewing.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=scim-chewing
VERSION=${VERSION:-0.3.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/misc/sdcv/sdcv.SlackBuild b/misc/sdcv/sdcv.SlackBuild
index e5bfce88b1843..86c1d8258f014 100644
--- a/misc/sdcv/sdcv.SlackBuild
+++ b/misc/sdcv/sdcv.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=sdcv
VERSION=${VERSION:-0.4.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/misc/seahorse-plugins/seahorse-plugins.SlackBuild b/misc/seahorse-plugins/seahorse-plugins.SlackBuild
index 55cb3bb4a0217..8a6b369a5bf3b 100644
--- a/misc/seahorse-plugins/seahorse-plugins.SlackBuild
+++ b/misc/seahorse-plugins/seahorse-plugins.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrew Rowland <darowland@ieee.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM='seahorse-plugins'
VERSION=${VERSION:-20150521_3781393eac}
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/misc/sgrep/sgrep.SlackBuild b/misc/sgrep/sgrep.SlackBuild
index 6ccc4c02b4767..b5ce1f30542e2 100644
--- a/misc/sgrep/sgrep.SlackBuild
+++ b/misc/sgrep/sgrep.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=sgrep
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild
index e35b24531c679..7a9c3b27a4255 100644
--- a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild
+++ b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.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=sigrok-firmware-fx2lafw
VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild
index ad335c1efc2e2..2f636a48ab38b 100644
--- a/misc/slop/slop.SlackBuild
+++ b/misc/slop/slop.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=slop
VERSION=${VERSION:-7.5}
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/misc/snow/snow.SlackBuild b/misc/snow/snow.SlackBuild
index 8b6a59def623b..6682bb2e376bf 100644
--- a/misc/snow/snow.SlackBuild
+++ b/misc/snow/snow.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=snow
VERSION=${VERSION:-20130616}
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/misc/solunar/solunar.SlackBuild b/misc/solunar/solunar.SlackBuild
index 014d83cdd5d21..18d88ebc1ebb0 100644
--- a/misc/solunar/solunar.SlackBuild
+++ b/misc/solunar/solunar.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for solunar
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=solunar
VERSION=${VERSION:-0.1.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/misc/spotlighter/spotlighter.SlackBuild b/misc/spotlighter/spotlighter.SlackBuild
index b4939d6ae8532..12e6a44c7177d 100644
--- a/misc/spotlighter/spotlighter.SlackBuild
+++ b/misc/spotlighter/spotlighter.SlackBuild
@@ -6,6 +6,8 @@
# Public Domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spotlighter
VERSION=${VERSION:-0.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/misc/ssss/ssss.SlackBuild b/misc/ssss/ssss.SlackBuild
index bf85f527d7631..1cb62f7685781 100644
--- a/misc/ssss/ssss.SlackBuild
+++ b/misc/ssss/ssss.SlackBuild
@@ -26,6 +26,8 @@
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# 2011 Apr 07 - initial release
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ssss
VERSION=${VERSION:-0.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/misc/stardict-tools/stardict-tools.SlackBuild b/misc/stardict-tools/stardict-tools.SlackBuild
index a994cee8f5557..67dbae1363441 100644
--- a/misc/stardict-tools/stardict-tools.SlackBuild
+++ b/misc/stardict-tools/stardict-tools.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for stardict-tools
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stardict-tools
VERSION=${VERSION:-3.0.1}
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/misc/stardict/stardict.SlackBuild b/misc/stardict/stardict.SlackBuild
index a29e0d78e79b3..45e75d81d9528 100644
--- a/misc/stardict/stardict.SlackBuild
+++ b/misc/stardict/stardict.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=stardict
VERSION=${VERSION:-3.0.6}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild
index 9af35068e6e10..5103d52887313 100644
--- a/misc/subsurface/subsurface.SlackBuild
+++ b/misc/subsurface/subsurface.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=subsurface
SRCNAM=Subsurface
VERSION=${VERSION:-4.9.3}
@@ -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/misc/sunwait/sunwait.SlackBuild b/misc/sunwait/sunwait.SlackBuild
index dab9f605da46c..593d0963fd8ef 100644
--- a/misc/sunwait/sunwait.SlackBuild
+++ b/misc/sunwait/sunwait.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=sunwait
VERSION=${VERSION:-0.8}
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/misc/sutils/sutils.SlackBuild b/misc/sutils/sutils.SlackBuild
index 69cba526a4299..8d8122739161b 100644
--- a/misc/sutils/sutils.SlackBuild
+++ b/misc/sutils/sutils.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=sutils
VERSION=${VERSION:-0.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/misc/tal/tal.SlackBuild b/misc/tal/tal.SlackBuild
index 91fc939bf3ebd..443078001ec1c 100644
--- a/misc/tal/tal.SlackBuild
+++ b/misc/tal/tal.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=tal
VERSION=${VERSION:-1.9}
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/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild b/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild
index 1bdfbd3c620bd..02448f4d56edd 100644
--- a/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild
+++ b/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild
@@ -23,6 +23,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tegaki-zinnia-japanese
VERSION=${VERSION:-0.3}
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/misc/tidyp/tidyp.SlackBuild b/misc/tidyp/tidyp.SlackBuild
index 371b42681b385..911088e9bcc6a 100644
--- a/misc/tidyp/tidyp.SlackBuild
+++ b/misc/tidyp/tidyp.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=tidyp
VERSION=${VERSION:-1.04}
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/misc/toilet/toilet.SlackBuild b/misc/toilet/toilet.SlackBuild
index aef0a5987e6e9..1abe200c6a75a 100644
--- a/misc/toilet/toilet.SlackBuild
+++ b/misc/toilet/toilet.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=toilet
VERSION=${VERSION:-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/misc/torrentinfo/torrentinfo.SlackBuild b/misc/torrentinfo/torrentinfo.SlackBuild
index b27b91b68048d..b03efb4e50d53 100644
--- a/misc/torrentinfo/torrentinfo.SlackBuild
+++ b/misc/torrentinfo/torrentinfo.SlackBuild
@@ -22,13 +22,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=torrentinfo
VERSION=${VERSION:-1.8.6}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/twa/twa.SlackBuild b/misc/twa/twa.SlackBuild
index 3c934d1adf7ea..9e9fe9c79ff4f 100644
--- a/misc/twa/twa.SlackBuild
+++ b/misc/twa/twa.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=twa
VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/txt2regex/txt2regex.SlackBuild b/misc/txt2regex/txt2regex.SlackBuild
index 4934fb4c1a452..43e8ac86054f3 100644
--- a/misc/txt2regex/txt2regex.SlackBuild
+++ b/misc/txt2regex/txt2regex.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=txt2regex
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/txt2tags/txt2tags.SlackBuild b/misc/txt2tags/txt2tags.SlackBuild
index 564d8725a1fa6..c9a0ef67c218f 100644
--- a/misc/txt2tags/txt2tags.SlackBuild
+++ b/misc/txt2tags/txt2tags.SlackBuild
@@ -18,6 +18,8 @@
#
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=txt2tags
VERSION=${VERSION:-r1172}
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/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild
index 5f5af76435557..fe4bed04d1969 100644
--- a/misc/uni2ascii/uni2ascii.SlackBuild
+++ b/misc/uni2ascii/uni2ascii.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for uni2ascii
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uni2ascii
VERSION=${VERSION:-4.18}
BUILD=${BUILD:-2}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/utimer/utimer.SlackBuild b/misc/utimer/utimer.SlackBuild
index c98e173f19239..e92c57661514b 100644
--- a/misc/utimer/utimer.SlackBuild
+++ b/misc/utimer/utimer.SlackBuild
@@ -4,6 +4,8 @@
# Written by Fah G. Ka (fgk@sdfeu.org)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=utimer
VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/vdpauinfo/vdpauinfo.SlackBuild b/misc/vdpauinfo/vdpauinfo.SlackBuild
index 6740d8ac3e5c6..118c26fc9a216 100644
--- a/misc/vdpauinfo/vdpauinfo.SlackBuild
+++ b/misc/vdpauinfo/vdpauinfo.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=vdpauinfo
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/vttest/vttest.SlackBuild b/misc/vttest/vttest.SlackBuild
index 8473dcabb928e..91cf9a350e348 100644
--- a/misc/vttest/vttest.SlackBuild
+++ b/misc/vttest/vttest.SlackBuild
@@ -13,6 +13,8 @@
# 20180920 bkw: update for 2.7.20180911 (whoops!).
# 20180915 bkw: update for 2.7.20180811.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vttest
VERSION=${VERSION:-2.7.20210210}
BUILD=${BUILD:-1}
@@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild
index 3d6f65e7f0c8a..a68609e497453 100644
--- a/misc/wcd/wcd.SlackBuild
+++ b/misc/wcd/wcd.SlackBuild
@@ -30,6 +30,8 @@
# 20171219 bkw: updated for v6.0.1. also, add /etc/profile.d scripts
# so wcd actually *works*.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wcd
VERSION=${VERSION:-6.0.3}
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/misc/weather/weather.SlackBuild b/misc/weather/weather.SlackBuild
index f45c4150d82ac..7b825189c6152 100644
--- a/misc/weather/weather.SlackBuild
+++ b/misc/weather/weather.SlackBuild
@@ -10,6 +10,8 @@
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weather
VERSION=${VERSION:-2.3}
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/misc/with-readline/with-readline.SlackBuild b/misc/with-readline/with-readline.SlackBuild
index 670a3dfaf0849..931258676cfd1 100644
--- a/misc/with-readline/with-readline.SlackBuild
+++ b/misc/with-readline/with-readline.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=with-readline
VERSION=${VERSION:-0.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/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild b/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild
index 5e480b322d174..75d7d79a10e0b 100644
--- a/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild
+++ b/misc/wkhtmltopdf/wkhtmltopdf.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=wkhtmltopdf
VERSION=${VERSION:-0.12.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/misc/wkhtmltox/wkhtmltox.SlackBuild b/misc/wkhtmltox/wkhtmltox.SlackBuild
index d79195f01acf9..509876aa91489 100644
--- a/misc/wkhtmltox/wkhtmltox.SlackBuild
+++ b/misc/wkhtmltox/wkhtmltox.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=wkhtmltox
VERSION=${VERSION:-0.12.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/misc/wmbday/wmbday.SlackBuild b/misc/wmbday/wmbday.SlackBuild
index b539ec08f7997..cc7a813d5763b 100644
--- a/misc/wmbday/wmbday.SlackBuild
+++ b/misc/wmbday/wmbday.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=wmbday
VERSION=${VERSION:-0.3.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/misc/xapian-omega/xapian-omega.SlackBuild b/misc/xapian-omega/xapian-omega.SlackBuild
index 25c921d757646..04de0e1701a30 100644
--- a/misc/xapian-omega/xapian-omega.SlackBuild
+++ b/misc/xapian-omega/xapian-omega.SlackBuild
@@ -25,6 +25,8 @@
# Based on 1.2.4 version on which Robby Workman <rworkman@slackbuilds.org>
# gave much help
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xapian-omega
VERSION=${VERSION:-1.2.12}
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/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild
index c33618f120f69..1b439fbf6e4a7 100644
--- a/misc/xbanish/xbanish.SlackBuild
+++ b/misc/xbanish/xbanish.SlackBuild
@@ -35,6 +35,8 @@
# - i486 => i586
# - use proper github download URL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xbanish
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild
index 9433711fb5649..a09405cb9b70e 100644
--- a/misc/xca/xca.SlackBuild
+++ b/misc/xca/xca.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=xca
VERSION=${VERSION:-2.3.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/misc/xcape/xcape.SlackBuild b/misc/xcape/xcape.SlackBuild
index 142177a820cd0..4af2b6bb13dfa 100644
--- a/misc/xcape/xcape.SlackBuild
+++ b/misc/xcape/xcape.SlackBuild
@@ -4,6 +4,8 @@
# Maintained as of version 1.1 by SGMART <slackmart@gmail.com>
# revision date: 2014/12/31
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcape
VERSION=${VERSION:-1.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/misc/xclip/xclip.SlackBuild b/misc/xclip/xclip.SlackBuild
index 3ac43409f2566..af1337756d455 100644
--- a/misc/xclip/xclip.SlackBuild
+++ b/misc/xclip/xclip.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=xclip
VERSION=${VERSION:-0.13}
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/misc/xdelta/xdelta.SlackBuild b/misc/xdelta/xdelta.SlackBuild
index 596212b1e7e63..eb79144cfc739 100644
--- a/misc/xdelta/xdelta.SlackBuild
+++ b/misc/xdelta/xdelta.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdelta
VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/xdelta3/xdelta3.SlackBuild b/misc/xdelta3/xdelta3.SlackBuild
index d6bba0504f694..93a9df510adeb 100644
--- a/misc/xdelta3/xdelta3.SlackBuild
+++ b/misc/xdelta3/xdelta3.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=xdelta3
SRCNAM=${PRGNAM%3}
VERSION=${VERSION:-3.1.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/misc/xvnkb/xvnkb.SlackBuild b/misc/xvnkb/xvnkb.SlackBuild
index 24ee798611b13..35aea3989cf4f 100644
--- a/misc/xvnkb/xvnkb.SlackBuild
+++ b/misc/xvnkb/xvnkb.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=xvnkb
VERSION=${VERSION:-0.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/misc/xwinwrap/xwinwrap.SlackBuild b/misc/xwinwrap/xwinwrap.SlackBuild
index f6a2fb8497ad5..262ef2f900038 100644
--- a/misc/xwinwrap/xwinwrap.SlackBuild
+++ b/misc/xwinwrap/xwinwrap.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=xwinwrap
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/yapet/yapet.SlackBuild b/misc/yapet/yapet.SlackBuild
index 4765d24dc6e91..6b0e5b7168bee 100644
--- a/misc/yapet/yapet.SlackBuild
+++ b/misc/yapet/yapet.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=yapet
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/misc/yara/yara.SlackBuild b/misc/yara/yara.SlackBuild
index 838bdaa626902..c61842ddea335 100644
--- a/misc/yara/yara.SlackBuild
+++ b/misc/yara/yara.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=yara
VERSION=${VERSION:-3.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/misc/ydpdict/ydpdict.SlackBuild b/misc/ydpdict/ydpdict.SlackBuild
index eaa2b2ade175f..87113c335ae39 100644
--- a/misc/ydpdict/ydpdict.SlackBuild
+++ b/misc/ydpdict/ydpdict.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ydpdict
VERSION=${VERSION:-1.0.2}
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/misc/ykpers/ykpers.SlackBuild b/misc/ykpers/ykpers.SlackBuild
index 26c93444f9ffc..a79d8afd5c2aa 100644
--- a/misc/ykpers/ykpers.SlackBuild
+++ b/misc/ykpers/ykpers.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=ykpers
VERSION=${VERSION:-1.20.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/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild b/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild
index cf7474b33a8a4..46c4dfac3bf0b 100644
--- a/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild
+++ b/misc/yubikey-personalization-gui/yubikey-personalization-gui.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=yubikey-personalization-gui
VERSION=${VERSION:-3.1.25}
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/misc/yubioath-desktop/yubioath-desktop.SlackBuild b/misc/yubioath-desktop/yubioath-desktop.SlackBuild
index 9b71c8459a60a..5af99acad7edd 100644
--- a/misc/yubioath-desktop/yubioath-desktop.SlackBuild
+++ b/misc/yubioath-desktop/yubioath-desktop.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=yubioath-desktop
VERSION=${VERSION:-5.0.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/misc/zinnia/zinnia.SlackBuild b/misc/zinnia/zinnia.SlackBuild
index 7b5de6296c139..bc3f5cff4056a 100644
--- a/misc/zinnia/zinnia.SlackBuild
+++ b/misc/zinnia/zinnia.SlackBuild
@@ -23,6 +23,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zinnia
VERSION=${VERSION:-0.06}
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}