aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/AtomicParsley/AtomicParsley.SlackBuild3
-rw-r--r--multimedia/DivFix++/DivFix++.SlackBuild3
-rw-r--r--multimedia/Gem/Gem.SlackBuild3
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild3
-rw-r--r--multimedia/JSampler/JSampler.SlackBuild3
-rw-r--r--multimedia/LBRY/LBRY.SlackBuild3
-rw-r--r--multimedia/MediathekView/MediathekView.SlackBuild3
-rw-r--r--multimedia/Mopidy/Mopidy.SlackBuild3
-rw-r--r--multimedia/MuseScore/MuseScore.SlackBuild3
-rw-r--r--multimedia/OpenLP/OpenLP.SlackBuild3
-rw-r--r--multimedia/OpenPHT/OpenPHT.SlackBuild3
-rw-r--r--multimedia/QMPlay2/QMPlay2.SlackBuild3
-rw-r--r--multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild3
-rw-r--r--multimedia/Yolo/Yolo.SlackBuild3
-rw-r--r--multimedia/abcMIDI/abcMIDI.SlackBuild3
-rw-r--r--multimedia/aces-dev/aces-dev.SlackBuild3
-rw-r--r--multimedia/aces_container/aces_container.SlackBuild3
-rw-r--r--multimedia/aegisub/aegisub.SlackBuild3
-rw-r--r--multimedia/anyremote/anyremote.SlackBuild3
-rw-r--r--multimedia/aom/aom.SlackBuild3
-rw-r--r--multimedia/apetag/apetag.SlackBuild3
-rw-r--r--multimedia/audio-recorder/audio-recorder.SlackBuild3
-rw-r--r--multimedia/audiopreview/audiopreview.SlackBuild3
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild3
-rw-r--r--multimedia/bdtools/bdtools.SlackBuild3
-rw-r--r--multimedia/beets/beets.SlackBuild3
-rw-r--r--multimedia/bino/bino.SlackBuild3
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.SlackBuild3
-rw-r--r--multimedia/cantata/cantata.SlackBuild3
-rw-r--r--multimedia/castget/castget.SlackBuild3
-rw-r--r--multimedia/castnow/castnow.SlackBuild3
-rw-r--r--multimedia/ccextractor/ccextractor.SlackBuild3
-rw-r--r--multimedia/ccxstream/ccxstream.SlackBuild3
-rw-r--r--multimedia/cfourcc/cfourcc.SlackBuild3
-rw-r--r--multimedia/cinelerra/cinelerra.SlackBuild3
-rw-r--r--multimedia/clamz/clamz.SlackBuild3
-rw-r--r--multimedia/coriander/coriander.SlackBuild3
-rw-r--r--multimedia/cowbell/cowbell.SlackBuild3
-rw-r--r--multimedia/ctl/ctl.SlackBuild3
-rw-r--r--multimedia/cuetools/cuetools.SlackBuild3
-rw-r--r--multimedia/devedeng/devedeng.SlackBuild3
-rw-r--r--multimedia/dirac/dirac.SlackBuild3
-rw-r--r--multimedia/droidcam/droidcam.SlackBuild3
-rw-r--r--multimedia/dsmidiwifi/dsmidiwifi.SlackBuild3
-rw-r--r--multimedia/dssi/dssi.SlackBuild3
-rw-r--r--multimedia/dvblast/dvblast.SlackBuild3
-rw-r--r--multimedia/dvd-slideshow/dvd-slideshow.SlackBuild3
-rw-r--r--multimedia/dvdbackup/dvdbackup.SlackBuild3
-rw-r--r--multimedia/dvdrip/dvdrip.SlackBuild3
-rw-r--r--multimedia/dvdstyler/dvdstyler.SlackBuild3
-rw-r--r--multimedia/dvgrab/dvgrab.SlackBuild3
-rw-r--r--multimedia/emoc/emoc.SlackBuild3
-rw-r--r--multimedia/exaile/exaile.SlackBuild3
-rw-r--r--multimedia/farsight2/farsight2.SlackBuild3
-rw-r--r--multimedia/fdkaac/fdkaac.SlackBuild3
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild3
-rw-r--r--multimedia/filebot/filebot.SlackBuild3
-rw-r--r--multimedia/flowblade/flowblade.SlackBuild3
-rw-r--r--multimedia/flvtool2/flvtool2.SlackBuild3
-rw-r--r--multimedia/freshplayerplugin/freshplayerplugin.SlackBuild3
-rw-r--r--multimedia/gaupol/gaupol.SlackBuild3
-rw-r--r--multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild3
-rw-r--r--multimedia/genpuid/genpuid.SlackBuild3
-rw-r--r--multimedia/get_iplayer/get_iplayer.SlackBuild3
-rw-r--r--multimedia/gigedit/gigedit.SlackBuild3
-rw-r--r--multimedia/gimp-gap/gimp-gap.SlackBuild3
-rw-r--r--multimedia/glyr/glyr.SlackBuild3
-rw-r--r--multimedia/gmidimonitor/gmidimonitor.SlackBuild3
-rw-r--r--multimedia/gmtp/gmtp.SlackBuild3
-rw-r--r--multimedia/gnash/gnash.SlackBuild3
-rw-r--r--multimedia/gnome-mplayer/gnome-mplayer.SlackBuild3
-rw-r--r--multimedia/gnupod/gnupod.SlackBuild3
-rw-r--r--multimedia/google-talkplugin/google-talkplugin.SlackBuild3
-rw-r--r--multimedia/gpac/gpac.SlackBuild3
-rw-r--r--multimedia/gpodder/gpodder.SlackBuild3
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild3
-rw-r--r--multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild3
-rw-r--r--multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild3
-rw-r--r--multimedia/gst0-plugins-base/gst0-plugins-base.SlackBuild3
-rw-r--r--multimedia/gst0-plugins-good/gst0-plugins-good.SlackBuild3
-rw-r--r--multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild3
-rw-r--r--multimedia/gstreamer0/gstreamer0.SlackBuild3
-rw-r--r--multimedia/gtick/gtick.SlackBuild3
-rw-r--r--multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild3
-rw-r--r--multimedia/guvcview/guvcview.SlackBuild3
-rw-r--r--multimedia/hexter/hexter.SlackBuild3
-rw-r--r--multimedia/huludesktop/huludesktop.SlackBuild3
-rw-r--r--multimedia/iat/iat.SlackBuild3
-rw-r--r--multimedia/imagination/imagination.SlackBuild3
-rw-r--r--multimedia/ivtv-utils/ivtv-utils.SlackBuild3
-rw-r--r--multimedia/jlscp/jlscp.SlackBuild3
-rw-r--r--multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild3
-rw-r--r--multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild3
-rw-r--r--multimedia/kaffeine/kaffeine.SlackBuild3
-rw-r--r--multimedia/kodi/kodi.SlackBuild3
-rw-r--r--multimedia/l-smash/l-smash.SlackBuild3
-rw-r--r--multimedia/lightspark/lightspark.SlackBuild3
-rw-r--r--multimedia/lives/lives.SlackBuild3
-rw-r--r--multimedia/lsdvd/lsdvd.SlackBuild3
-rw-r--r--multimedia/lwks/lwks.SlackBuild3
-rw-r--r--multimedia/makemkv/makemkv.SlackBuild3
-rw-r--r--multimedia/mediainfo/mediainfo.SlackBuild3
-rw-r--r--multimedia/mimms/mimms.SlackBuild3
-rw-r--r--multimedia/minidlna/minidlna.SlackBuild3
-rw-r--r--multimedia/minitube/minitube.SlackBuild3
-rw-r--r--multimedia/miro/miro.SlackBuild3
-rw-r--r--multimedia/mjpegtools/mjpegtools.SlackBuild3
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild3
-rw-r--r--multimedia/mozplugger/mozplugger.SlackBuild3
-rw-r--r--multimedia/mp3fm/mp3fm.SlackBuild3
-rw-r--r--multimedia/mp3fs/mp3fs.SlackBuild3
-rw-r--r--multimedia/mpgtx/mpgtx.SlackBuild3
-rw-r--r--multimedia/mplayer-codecs32/mplayer-codecs32.SlackBuild3
-rw-r--r--multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild3
-rw-r--r--multimedia/mpv/mpv.SlackBuild3
-rw-r--r--multimedia/mtpfs/mtpfs.SlackBuild3
-rw-r--r--multimedia/munt/munt.SlackBuild3
-rw-r--r--multimedia/musique/musique.SlackBuild3
-rw-r--r--multimedia/musixmatch/musixmatch.SlackBuild3
-rw-r--r--multimedia/mythplugins/mythplugins.SlackBuild3
-rw-r--r--multimedia/mythtv/mythtv.SlackBuild3
-rw-r--r--multimedia/nrg2iso/nrg2iso.SlackBuild3
-rw-r--r--multimedia/nted/nted.SlackBuild3
-rw-r--r--multimedia/obs-studio/obs-studio.SlackBuild3
-rw-r--r--multimedia/oggconvert/oggconvert.SlackBuild3
-rw-r--r--multimedia/oggvideotools/oggvideotools.SlackBuild3
-rw-r--r--multimedia/opencaster/opencaster.SlackBuild3
-rw-r--r--multimedia/openshot/openshot.SlackBuild3
-rw-r--r--multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild3
-rw-r--r--multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild3
-rw-r--r--multimedia/parole/parole.SlackBuild3
-rw-r--r--multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild3
-rw-r--r--multimedia/picard-plugins/picard-plugins.SlackBuild3
-rw-r--r--multimedia/picard/picard.SlackBuild3
-rw-r--r--multimedia/pitivi/pitivi.SlackBuild3
-rw-r--r--multimedia/playerctl/playerctl.SlackBuild3
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild3
-rw-r--r--multimedia/plexmediaserver/plexmediaserver.SlackBuild3
-rw-r--r--multimedia/pngnq-s9/pngnq-s9.SlackBuild3
-rw-r--r--multimedia/podcastparser/podcastparser.SlackBuild3
-rw-r--r--multimedia/popcorntime/popcorntime.SlackBuild3
-rw-r--r--multimedia/pragha/pragha.SlackBuild3
-rw-r--r--multimedia/pyradio/pyradio.SlackBuild3
-rw-r--r--multimedia/qsampler/qsampler.SlackBuild3
-rw-r--r--multimedia/radiotray/radiotray.SlackBuild3
-rw-r--r--multimedia/ripit/ripit.SlackBuild3
-rw-r--r--multimedia/ripperX/ripperX.SlackBuild3
-rw-r--r--multimedia/rosa-media-player/rosa-media-player.SlackBuild3
-rw-r--r--multimedia/rtmpdump/rtmpdump.SlackBuild3
-rw-r--r--multimedia/schroedinger/schroedinger.SlackBuild3
-rw-r--r--multimedia/serviio/serviio.SlackBuild3
-rw-r--r--multimedia/sfnt2woff/sfnt2woff.SlackBuild3
-rw-r--r--multimedia/shotcut/shotcut.SlackBuild3
-rw-r--r--multimedia/simpleburn/simpleburn.SlackBuild3
-rw-r--r--multimedia/sinthgunt/sinthgunt.SlackBuild3
-rw-r--r--multimedia/smpeg/smpeg.SlackBuild3
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild3
-rw-r--r--multimedia/smtube/smtube.SlackBuild3
-rw-r--r--multimedia/spek/spek.SlackBuild3
-rw-r--r--multimedia/spotify/spotify.SlackBuild3
-rw-r--r--multimedia/srt-to-vtt-cl/srt-to-vtt-cl.SlackBuild3
-rw-r--r--multimedia/stills2dv/stills2dv.SlackBuild3
-rw-r--r--multimedia/straw-viewer/straw-viewer.SlackBuild3
-rw-r--r--multimedia/strawberry/strawberry.SlackBuild3
-rw-r--r--multimedia/subtitlecomposer/subtitlecomposer.SlackBuild3
-rw-r--r--multimedia/subtitleeditor/subtitleeditor.SlackBuild3
-rw-r--r--multimedia/subtitleripper/subtitleripper.SlackBuild3
-rw-r--r--multimedia/tabu_audio_player/tabu_audio_player.SlackBuild3
-rw-r--r--multimedia/telepathy-farstream/telepathy-farstream.SlackBuild3
-rw-r--r--multimedia/telepathy-glib/telepathy-glib.SlackBuild3
-rw-r--r--multimedia/telepathy-qt/telepathy-qt.SlackBuild3
-rw-r--r--multimedia/tivodecode/tivodecode.SlackBuild3
-rw-r--r--multimedia/totem/totem.SlackBuild3
-rw-r--r--multimedia/tovid/tovid.SlackBuild3
-rw-r--r--multimedia/tragtor/tragtor.SlackBuild3
-rw-r--r--multimedia/transcode/transcode.SlackBuild3
-rw-r--r--multimedia/tstools/tstools.SlackBuild3
-rw-r--r--multimedia/tvheadend/tvheadend.SlackBuild3
-rw-r--r--multimedia/tvtime/tvtime.SlackBuild3
-rw-r--r--multimedia/ucview/ucview.SlackBuild3
-rw-r--r--multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild3
-rw-r--r--multimedia/vapoursynth/vapoursynth.SlackBuild3
-rw-r--r--multimedia/vcdimager/vcdimager.SlackBuild3
-rw-r--r--multimedia/vgmplay/vgmplay.SlackBuild3
-rw-r--r--multimedia/videocut/videocut.SlackBuild3
-rw-r--r--multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild3
-rw-r--r--multimedia/vkeybd/vkeybd.SlackBuild3
-rw-r--r--multimedia/vlc/vlc.SlackBuild3
-rw-r--r--multimedia/vlsub/vlsub.SlackBuild3
-rw-r--r--multimedia/vobcopy/vobcopy.SlackBuild3
-rw-r--r--multimedia/vobsub2srt/vobsub2srt.SlackBuild3
-rw-r--r--multimedia/vokoscreenNG/vokoscreenNG.SlackBuild3
-rw-r--r--multimedia/w_scan/w_scan.SlackBuild3
-rw-r--r--multimedia/webvfx/webvfx.SlackBuild3
-rw-r--r--multimedia/whistle/whistle.SlackBuild3
-rw-r--r--multimedia/wxcam/wxcam.SlackBuild3
-rw-r--r--multimedia/x264/x264.SlackBuild3
-rw-r--r--multimedia/x265/x265.SlackBuild3
-rw-r--r--multimedia/xawtv/xawtv.SlackBuild3
-rw-r--r--multimedia/xjadeo/xjadeo.SlackBuild3
-rw-r--r--multimedia/xmltv/xmltv.SlackBuild3
-rw-r--r--multimedia/xmms-crossfade/xmms-crossfade.SlackBuild3
-rw-r--r--multimedia/xmms-cue/xmms-cue.SlackBuild3
-rw-r--r--multimedia/xvid4conf/xvid4conf.SlackBuild3
-rw-r--r--multimedia/xvidcore/xvidcore.SlackBuild3
-rw-r--r--multimedia/xvst/xvst.SlackBuild3
-rw-r--r--multimedia/yarock/yarock.SlackBuild3
-rw-r--r--multimedia/zvbi/zvbi.SlackBuild3
208 files changed, 416 insertions, 208 deletions
diff --git a/multimedia/AtomicParsley/AtomicParsley.SlackBuild b/multimedia/AtomicParsley/AtomicParsley.SlackBuild
index 062744439f458..3f838e0410929 100644
--- a/multimedia/AtomicParsley/AtomicParsley.SlackBuild
+++ b/multimedia/AtomicParsley/AtomicParsley.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=AtomicParsley
SRCNAM=$( echo $PRGNAM | tr A-Z a-z )
VERSION=${VERSION:-0.9.6}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/DivFix++/DivFix++.SlackBuild b/multimedia/DivFix++/DivFix++.SlackBuild
index 7f17f1bd7c1ea..bf902e123a4fc 100644
--- a/multimedia/DivFix++/DivFix++.SlackBuild
+++ b/multimedia/DivFix++/DivFix++.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=DivFix++
VERSION=${VERSION:-0.34}
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/multimedia/Gem/Gem.SlackBuild b/multimedia/Gem/Gem.SlackBuild
index 603f60483452e..2cb0b17b3747f 100644
--- a/multimedia/Gem/Gem.SlackBuild
+++ b/multimedia/Gem/Gem.SlackBuild
@@ -3,6 +3,8 @@
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2017>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Gem
VERSION=${VERSION:-0.93.3}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index 1ce337d487cac..318aa4816f293 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -7,6 +7,8 @@
# Modified by Erik Hanson at SlackBuilds.org
# Patched to fix x264 segfault by John Vogel
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=HandBrake
VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/JSampler/JSampler.SlackBuild b/multimedia/JSampler/JSampler.SlackBuild
index 3d750672d0817..1c1cab2bda374 100644
--- a/multimedia/JSampler/JSampler.SlackBuild
+++ b/multimedia/JSampler/JSampler.SlackBuild
@@ -11,6 +11,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=JSampler
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/LBRY/LBRY.SlackBuild b/multimedia/LBRY/LBRY.SlackBuild
index 543bd40665494..dbedee8f72f9e 100644
--- a/multimedia/LBRY/LBRY.SlackBuild
+++ b/multimedia/LBRY/LBRY.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=LBRY
VERSION=${VERSION:-0.50.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/multimedia/MediathekView/MediathekView.SlackBuild b/multimedia/MediathekView/MediathekView.SlackBuild
index ff452d8eae4f7..bdf0806afb490 100644
--- a/multimedia/MediathekView/MediathekView.SlackBuild
+++ b/multimedia/MediathekView/MediathekView.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=MediathekView
VERSION=${VERSION:-13.7.1}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ ARCH=${ARCH:-$(uname -m)}
SRCNAM=${PRGNAM}-${VERSION}-linux
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/Mopidy/Mopidy.SlackBuild b/multimedia/Mopidy/Mopidy.SlackBuild
index e087b7c05778d..93464c971d042 100644
--- a/multimedia/Mopidy/Mopidy.SlackBuild
+++ b/multimedia/Mopidy/Mopidy.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=Mopidy
VERSION=${VERSION:-2.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/multimedia/MuseScore/MuseScore.SlackBuild b/multimedia/MuseScore/MuseScore.SlackBuild
index ca81e3e399b69..1c2e638f272ff 100644
--- a/multimedia/MuseScore/MuseScore.SlackBuild
+++ b/multimedia/MuseScore/MuseScore.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for MuseScore
# Maintained by Klaatu at member.fsf dot org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MuseScore
VERSION=${VERSION:-3.6.1}
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/multimedia/OpenLP/OpenLP.SlackBuild b/multimedia/OpenLP/OpenLP.SlackBuild
index 6b15153559c84..1ffa478d2178d 100644
--- a/multimedia/OpenLP/OpenLP.SlackBuild
+++ b/multimedia/OpenLP/OpenLP.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=OpenLP
VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/OpenPHT/OpenPHT.SlackBuild b/multimedia/OpenPHT/OpenPHT.SlackBuild
index 202af7b9df79c..1193fb61b3fd2 100644
--- a/multimedia/OpenPHT/OpenPHT.SlackBuild
+++ b/multimedia/OpenPHT/OpenPHT.SlackBuild
@@ -25,6 +25,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=OpenPHT
VERSION=${VERSION:-1.8.0.148}
REV=${REV:-573b6d73}
@@ -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/multimedia/QMPlay2/QMPlay2.SlackBuild b/multimedia/QMPlay2/QMPlay2.SlackBuild
index 5412c95f68001..ba55a1057ad30 100644
--- a/multimedia/QMPlay2/QMPlay2.SlackBuild
+++ b/multimedia/QMPlay2/QMPlay2.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=QMPlay2
VERSION=${VERSION:-21.03.09}
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/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild b/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild
index 6c0b3b6af275c..644a278d3eb78 100644
--- a/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild
+++ b/multimedia/SimpleSysexxer/SimpleSysexxer.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <SimpleSysexxer>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SimpleSysexxer
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-2}
@@ -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/multimedia/Yolo/Yolo.SlackBuild b/multimedia/Yolo/Yolo.SlackBuild
index 688f3c2146616..da79d058197e0 100644
--- a/multimedia/Yolo/Yolo.SlackBuild
+++ b/multimedia/Yolo/Yolo.SlackBuild
@@ -9,6 +9,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Yolo
VERSION=${VERSION:-"May_04_2009"}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/abcMIDI/abcMIDI.SlackBuild b/multimedia/abcMIDI/abcMIDI.SlackBuild
index 65daf7a924713..1b72f2cefac39 100644
--- a/multimedia/abcMIDI/abcMIDI.SlackBuild
+++ b/multimedia/abcMIDI/abcMIDI.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=abcMIDI
VERSION=${VERSION:-35}
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/multimedia/aces-dev/aces-dev.SlackBuild b/multimedia/aces-dev/aces-dev.SlackBuild
index 63e532c6bd984..d02c766949cfa 100644
--- a/multimedia/aces-dev/aces-dev.SlackBuild
+++ b/multimedia/aces-dev/aces-dev.SlackBuild
@@ -11,6 +11,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aces-dev
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/aces_container/aces_container.SlackBuild b/multimedia/aces_container/aces_container.SlackBuild
index 1093ac1fc9d90..bf12969dc3bc0 100644
--- a/multimedia/aces_container/aces_container.SlackBuild
+++ b/multimedia/aces_container/aces_container.SlackBuild
@@ -11,6 +11,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aces_container
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/aegisub/aegisub.SlackBuild b/multimedia/aegisub/aegisub.SlackBuild
index 1d9ff5bf64f53..0e015ea3cd89e 100644
--- a/multimedia/aegisub/aegisub.SlackBuild
+++ b/multimedia/aegisub/aegisub.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aegisub
VERSION=${VERSION:-3.2.2}
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/multimedia/anyremote/anyremote.SlackBuild b/multimedia/anyremote/anyremote.SlackBuild
index 4f3ad8586d692..5b3dcb3777562 100644
--- a/multimedia/anyremote/anyremote.SlackBuild
+++ b/multimedia/anyremote/anyremote.SlackBuild
@@ -4,6 +4,8 @@
# Written by otzy_007 (oz [at] oprod [dot] net)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=anyremote
VERSION=${VERSION:-6.2}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/aom/aom.SlackBuild b/multimedia/aom/aom.SlackBuild
index 7599e5a873835..0f1be5a28ce8a 100644
--- a/multimedia/aom/aom.SlackBuild
+++ b/multimedia/aom/aom.SlackBuild
@@ -24,6 +24,8 @@
# ----------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aom
# The 'official' archive for the aom 2.0.1 release has the git commit in
# the filename, so adjustments are required for a sane Slackware build:
@@ -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/multimedia/apetag/apetag.SlackBuild b/multimedia/apetag/apetag.SlackBuild
index 82362240a8f01..06e601c28ba38 100644
--- a/multimedia/apetag/apetag.SlackBuild
+++ b/multimedia/apetag/apetag.SlackBuild
@@ -30,6 +30,8 @@
# - actually use SLKCFLAGS
# - i486 => i586
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apetag
SRCNAM=Apetag
VERSION=${VERSION:-1.12}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/audio-recorder/audio-recorder.SlackBuild b/multimedia/audio-recorder/audio-recorder.SlackBuild
index 389c60519e6f6..50e632013af5b 100644
--- a/multimedia/audio-recorder/audio-recorder.SlackBuild
+++ b/multimedia/audio-recorder/audio-recorder.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=audio-recorder
VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/audiopreview/audiopreview.SlackBuild b/multimedia/audiopreview/audiopreview.SlackBuild
index fba9cfafaff05..d9da80b45d47f 100644
--- a/multimedia/audiopreview/audiopreview.SlackBuild
+++ b/multimedia/audiopreview/audiopreview.SlackBuild
@@ -4,6 +4,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=audiopreview
VERSION=${VERSION:-0.6}
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/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild
index 06cbf16d8f0d7..265c1f672a6bb 100644
--- a/multimedia/avidemux/avidemux.SlackBuild
+++ b/multimedia/avidemux/avidemux.SlackBuild
@@ -25,6 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avidemux
VERSION=${VERSION:-2.7.8}
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/multimedia/bdtools/bdtools.SlackBuild b/multimedia/bdtools/bdtools.SlackBuild
index 1016e4e7c2c29..16ed62bf1c63a 100644
--- a/multimedia/bdtools/bdtools.SlackBuild
+++ b/multimedia/bdtools/bdtools.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=bdtools
VERSION=${VERSION:-1.5}
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/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild
index dcf52f41d217e..d21fd785d4fbb 100644
--- a/multimedia/beets/beets.SlackBuild
+++ b/multimedia/beets/beets.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=beets
VERSION=${VERSION:-1.4.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/multimedia/bino/bino.SlackBuild b/multimedia/bino/bino.SlackBuild
index a561a19afcbde..223f3afc154c5 100644
--- a/multimedia/bino/bino.SlackBuild
+++ b/multimedia/bino/bino.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=bino
VERSION=${VERSION:-1.6.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/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
index 481e7c1a16a71..7ef912ff432a4 100644
--- a/multimedia/bombono-dvd/bombono-dvd.SlackBuild
+++ b/multimedia/bombono-dvd/bombono-dvd.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=bombono-dvd
VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/cantata/cantata.SlackBuild b/multimedia/cantata/cantata.SlackBuild
index 8560d45e04171..2a1385c2bb23a 100644
--- a/multimedia/cantata/cantata.SlackBuild
+++ b/multimedia/cantata/cantata.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=cantata
VERSION=${VERSION:-2.4.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/multimedia/castget/castget.SlackBuild b/multimedia/castget/castget.SlackBuild
index 8ba3d95a26506..fc20ad1bd8e81 100644
--- a/multimedia/castget/castget.SlackBuild
+++ b/multimedia/castget/castget.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=castget
VERSION=${VERSION:-2.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/multimedia/castnow/castnow.SlackBuild b/multimedia/castnow/castnow.SlackBuild
index 8b8b09b6343f7..76a7307891ecb 100644
--- a/multimedia/castnow/castnow.SlackBuild
+++ b/multimedia/castnow/castnow.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=castnow
VERSION=${VERSION:-20170309}
COMMIT="248921bda1a737b41bb96374f80b26e800b3d276"
@@ -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/multimedia/ccextractor/ccextractor.SlackBuild b/multimedia/ccextractor/ccextractor.SlackBuild
index 62ca973f23c7e..f7d97bade1220 100644
--- a/multimedia/ccextractor/ccextractor.SlackBuild
+++ b/multimedia/ccextractor/ccextractor.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=ccextractor
VERSION=${VERSION:-0.88}
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/multimedia/ccxstream/ccxstream.SlackBuild b/multimedia/ccxstream/ccxstream.SlackBuild
index f555d076ef3ed..9f4429eafcf25 100644
--- a/multimedia/ccxstream/ccxstream.SlackBuild
+++ b/multimedia/ccxstream/ccxstream.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=ccxstream
VERSION=${VERSION:-1.0.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/cfourcc/cfourcc.SlackBuild b/multimedia/cfourcc/cfourcc.SlackBuild
index 2baf55a867a20..94093370a4ce0 100644
--- a/multimedia/cfourcc/cfourcc.SlackBuild
+++ b/multimedia/cfourcc/cfourcc.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <cfourcc>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cfourcc
VERSION=${VERSION:-0.1.2}
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/multimedia/cinelerra/cinelerra.SlackBuild b/multimedia/cinelerra/cinelerra.SlackBuild
index 3d3bbc1e4da3f..4c9cb6fc7bf45 100644
--- a/multimedia/cinelerra/cinelerra.SlackBuild
+++ b/multimedia/cinelerra/cinelerra.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=cinelerra
VERSION=${VERSION:-20210331_eabda9c}
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/multimedia/clamz/clamz.SlackBuild b/multimedia/clamz/clamz.SlackBuild
index c638e4452fff6..b0462f22f0ae7 100644
--- a/multimedia/clamz/clamz.SlackBuild
+++ b/multimedia/clamz/clamz.SlackBuild
@@ -4,6 +4,8 @@
# Written by Joseph Schofield rootoutcast@hushmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clamz
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/coriander/coriander.SlackBuild b/multimedia/coriander/coriander.SlackBuild
index 475677fbf488a..278461c4f15c0 100644
--- a/multimedia/coriander/coriander.SlackBuild
+++ b/multimedia/coriander/coriander.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=coriander
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/cowbell/cowbell.SlackBuild b/multimedia/cowbell/cowbell.SlackBuild
index 5ef091a7d6da5..13a9c1b8cb70a 100644
--- a/multimedia/cowbell/cowbell.SlackBuild
+++ b/multimedia/cowbell/cowbell.SlackBuild
@@ -12,6 +12,8 @@
# I am not responsible for any consequences that follow from the use
# of this script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cowbell
VERSION=${VERSION:-0.2.7.1}
BUILD=${BUILD:-2}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/ctl/ctl.SlackBuild b/multimedia/ctl/ctl.SlackBuild
index 8e3eb6aafb429..182afc50b340c 100644
--- a/multimedia/ctl/ctl.SlackBuild
+++ b/multimedia/ctl/ctl.SlackBuild
@@ -6,6 +6,8 @@
# All rights reserved.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ctl
VERSION=${VERSION:-1.5.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/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild
index 54c78a37ac335..87fa994a3a6bf 100644
--- a/multimedia/cuetools/cuetools.SlackBuild
+++ b/multimedia/cuetools/cuetools.SlackBuild
@@ -16,6 +16,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cuetools
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
@@ -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/multimedia/devedeng/devedeng.SlackBuild b/multimedia/devedeng/devedeng.SlackBuild
index e6ab1c6d15de2..62664a63a9fc6 100644
--- a/multimedia/devedeng/devedeng.SlackBuild
+++ b/multimedia/devedeng/devedeng.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=devedeng
VERSION=${VERSION:-4.16.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/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild
index 46fbc15f5f6d0..c23df4c273598 100644
--- a/multimedia/dirac/dirac.SlackBuild
+++ b/multimedia/dirac/dirac.SlackBuild
@@ -24,6 +24,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dirac
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-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/multimedia/droidcam/droidcam.SlackBuild b/multimedia/droidcam/droidcam.SlackBuild
index a3ef5abc07b3c..2d8dfd93bf37a 100644
--- a/multimedia/droidcam/droidcam.SlackBuild
+++ b/multimedia/droidcam/droidcam.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=droidcam
VERSION=${VERSION:-1.7.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/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild
index ea4913be084a3..f3a960c5ccf1b 100644
--- a/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild
+++ b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild
@@ -3,6 +3,8 @@
#
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dsmidiwifi
VERSION=${VERSION:-1.01}
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/multimedia/dssi/dssi.SlackBuild b/multimedia/dssi/dssi.SlackBuild
index ed9c0ae97b374..04975dff8a51e 100644
--- a/multimedia/dssi/dssi.SlackBuild
+++ b/multimedia/dssi/dssi.SlackBuild
@@ -4,6 +4,8 @@
# Written by Michales Michaloudes korgie@gmail.com
# Updated by Heinz Wiesinger pprkut@liwjatan.at - Added profile.d scripts
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dssi
VERSION=${VERSION:-1.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/multimedia/dvblast/dvblast.SlackBuild b/multimedia/dvblast/dvblast.SlackBuild
index 854addbaefa06..4845bd13f0716 100644
--- a/multimedia/dvblast/dvblast.SlackBuild
+++ b/multimedia/dvblast/dvblast.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dvblast
VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild
index 470a088fa99f3..559a6eaefad1e 100644
--- a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild
+++ b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild
@@ -5,6 +5,8 @@
# Maintained by Klaatu @member.fsf.org
# Written by Giovanne Castro <giovannefc@terra.com.br>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dvd-slideshow
VERSION=${VERSION:-0.8.4_2}
SRCVER=$(echo $VERSION | tr _ -)
@@ -12,7 +14,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/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild
index 4d4df897d1c31..ae0124ae99ca7 100644
--- a/multimedia/dvdbackup/dvdbackup.SlackBuild
+++ b/multimedia/dvdbackup/dvdbackup.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=dvdbackup
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-3}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild
index a6fe5567f93f0..22740f17894df 100644
--- a/multimedia/dvdrip/dvdrip.SlackBuild
+++ b/multimedia/dvdrip/dvdrip.SlackBuild
@@ -4,6 +4,8 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dvdrip
VERSION=${VERSION:-0.98.11}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild
index 075ebbb1ccdb4..c4caa17032619 100644
--- a/multimedia/dvdstyler/dvdstyler.SlackBuild
+++ b/multimedia/dvdstyler/dvdstyler.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=dvdstyler
SPRGNAM=DVDStyler
VERSION=${VERSION:-3.1.2}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/dvgrab/dvgrab.SlackBuild b/multimedia/dvgrab/dvgrab.SlackBuild
index 9a1464ec79e94..748d7046d6f0a 100644
--- a/multimedia/dvgrab/dvgrab.SlackBuild
+++ b/multimedia/dvgrab/dvgrab.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=dvgrab
VERSION=${VERSION:-3.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/multimedia/emoc/emoc.SlackBuild b/multimedia/emoc/emoc.SlackBuild
index 6c37d4ac513e5..1241bdbad31ee 100644
--- a/multimedia/emoc/emoc.SlackBuild
+++ b/multimedia/emoc/emoc.SlackBuild
@@ -4,6 +4,8 @@
# Written by otzy_007 (oz@oprod.net)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=emoc
VERSION=${VERSION:-0.9.0}
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/multimedia/exaile/exaile.SlackBuild b/multimedia/exaile/exaile.SlackBuild
index 3efa9531caed4..741815a79a365 100644
--- a/multimedia/exaile/exaile.SlackBuild
+++ b/multimedia/exaile/exaile.SlackBuild
@@ -24,6 +24,8 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exaile
VERSION=${VERSION:-3.4.5}
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/multimedia/farsight2/farsight2.SlackBuild b/multimedia/farsight2/farsight2.SlackBuild
index 7d22094117ff9..97c98b9c65c8a 100644
--- a/multimedia/farsight2/farsight2.SlackBuild
+++ b/multimedia/farsight2/farsight2.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=farsight2
VERSION=${VERSION:-0.0.31}
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/multimedia/fdkaac/fdkaac.SlackBuild b/multimedia/fdkaac/fdkaac.SlackBuild
index 5907524225615..c0199a9c447cc 100644
--- a/multimedia/fdkaac/fdkaac.SlackBuild
+++ b/multimedia/fdkaac/fdkaac.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=fdkaac
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index b2221d719a8fd..aaa9ba8b48758 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -27,6 +27,8 @@
# Modified by SlackBuilds.org --dsomero,rworkman
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="ffmpeg2theora"
VERSION=${VERSION:-0.30}
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/multimedia/filebot/filebot.SlackBuild b/multimedia/filebot/filebot.SlackBuild
index 3d8f182e23073..44601e387b41f 100644
--- a/multimedia/filebot/filebot.SlackBuild
+++ b/multimedia/filebot/filebot.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=filebot
VERSION=${VERSION:-4.7.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/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild
index 28c021c6a3098..c23b367d5ad9c 100644
--- a/multimedia/flowblade/flowblade.SlackBuild
+++ b/multimedia/flowblade/flowblade.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flowblade
VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild
index ccc9052494b7f..f971450744399 100644
--- a/multimedia/flvtool2/flvtool2.SlackBuild
+++ b/multimedia/flvtool2/flvtool2.SlackBuild
@@ -25,6 +25,8 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flvtool2
VERSION=${VERSION:-1.0.6}
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/multimedia/freshplayerplugin/freshplayerplugin.SlackBuild b/multimedia/freshplayerplugin/freshplayerplugin.SlackBuild
index 2857fa5c46d34..08f254e2eb64c 100644
--- a/multimedia/freshplayerplugin/freshplayerplugin.SlackBuild
+++ b/multimedia/freshplayerplugin/freshplayerplugin.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=freshplayerplugin
VERSION=${VERSION:-0.3.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/multimedia/gaupol/gaupol.SlackBuild b/multimedia/gaupol/gaupol.SlackBuild
index 89041e4d7fdd3..0d5d61bee759d 100644
--- a/multimedia/gaupol/gaupol.SlackBuild
+++ b/multimedia/gaupol/gaupol.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=gaupol
VERSION=${VERSION:-0.19.2}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
index c9adb88eb43b5..e39ac17fd6d5e 100644
--- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
+++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gecko-mediaplayer
# Written by Phillip Warner <pc_warner@yahoo.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gecko-mediaplayer
VERSION=${VERSION:-1.0.8}
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/multimedia/genpuid/genpuid.SlackBuild b/multimedia/genpuid/genpuid.SlackBuild
index 1dced603fbe85..38d0603cc9348 100644
--- a/multimedia/genpuid/genpuid.SlackBuild
+++ b/multimedia/genpuid/genpuid.SlackBuild
@@ -3,6 +3,8 @@
#
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=genpuid
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-2}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild
index d04f03d16a110..4f8dd4c441660 100644
--- a/multimedia/get_iplayer/get_iplayer.SlackBuild
+++ b/multimedia/get_iplayer/get_iplayer.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=get_iplayer
VERSION=${VERSION:-3.26}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/gigedit/gigedit.SlackBuild b/multimedia/gigedit/gigedit.SlackBuild
index 360ec4a80e626..663aa9ddcf374 100644
--- a/multimedia/gigedit/gigedit.SlackBuild
+++ b/multimedia/gigedit/gigedit.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for <gigedit>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gigedit
VERSION=${VERSION:-0.2.0}
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/multimedia/gimp-gap/gimp-gap.SlackBuild b/multimedia/gimp-gap/gimp-gap.SlackBuild
index 058f99fc9c62e..6bfc119aa3a12 100644
--- a/multimedia/gimp-gap/gimp-gap.SlackBuild
+++ b/multimedia/gimp-gap/gimp-gap.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=gimp-gap
VERSION=${VERSION:-2.6.0}
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/multimedia/glyr/glyr.SlackBuild b/multimedia/glyr/glyr.SlackBuild
index be8b84b8a70f9..e152de3f7254b 100644
--- a/multimedia/glyr/glyr.SlackBuild
+++ b/multimedia/glyr/glyr.SlackBuild
@@ -38,6 +38,8 @@
# - add missing docs
# - make install/strip
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glyr
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-2}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/gmidimonitor/gmidimonitor.SlackBuild b/multimedia/gmidimonitor/gmidimonitor.SlackBuild
index c7762c03bbb44..aba4c60105e04 100644
--- a/multimedia/gmidimonitor/gmidimonitor.SlackBuild
+++ b/multimedia/gmidimonitor/gmidimonitor.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=gmidimonitor
VERSION=${VERSION:-3.6}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/gmtp/gmtp.SlackBuild b/multimedia/gmtp/gmtp.SlackBuild
index 9ccac448c08a7..8260238c7c923 100644
--- a/multimedia/gmtp/gmtp.SlackBuild
+++ b/multimedia/gmtp/gmtp.SlackBuild
@@ -28,6 +28,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gmtp
VERSION=${VERSION:-1.3.11}
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/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild
index 2626d65471848..810e2761b43ee 100644
--- a/multimedia/gnash/gnash.SlackBuild
+++ b/multimedia/gnash/gnash.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=gnash
VERSION=${VERSION:-0.8.11dev_20190130}
SRCVER=${SRCVER:-583ccbc1275c7701dc4843ec12142ff86bb305b4}
@@ -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/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
index d1f2ba6967c7f..56db78ea600ed 100644
--- a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
+++ b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gnome-mplayer
# Written by Phillip Warner <pc_warner@yahoo.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-mplayer
VERSION=${VERSION:-1.0.8}
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/multimedia/gnupod/gnupod.SlackBuild b/multimedia/gnupod/gnupod.SlackBuild
index 52145fcb9c87b..8d52ffef8a43e 100644
--- a/multimedia/gnupod/gnupod.SlackBuild
+++ b/multimedia/gnupod/gnupod.SlackBuild
@@ -4,6 +4,8 @@
# Written by Mark Grocock <mark@grocock.me.uk>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnupod
VERSION=${VERSION:-0.99.8}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/google-talkplugin/google-talkplugin.SlackBuild b/multimedia/google-talkplugin/google-talkplugin.SlackBuild
index 274a9e7c51e1a..c0286ed97368b 100644
--- a/multimedia/google-talkplugin/google-talkplugin.SlackBuild
+++ b/multimedia/google-talkplugin/google-talkplugin.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=google-talkplugin
VERSION=${VERSION:-5.41.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/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild
index c6ec96d216782..703b9f299adca 100644
--- a/multimedia/gpac/gpac.SlackBuild
+++ b/multimedia/gpac/gpac.SlackBuild
@@ -25,6 +25,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="gpac"
VERSION=${VERSION:-1.0.1}
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/multimedia/gpodder/gpodder.SlackBuild b/multimedia/gpodder/gpodder.SlackBuild
index cafa4a9b69ea3..c9072d9c984b1 100644
--- a/multimedia/gpodder/gpodder.SlackBuild
+++ b/multimedia/gpodder/gpodder.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=gpodder
VERSION=${VERSION:-3.10.17}
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/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
index 019cd012f4e66..95aeb7ea41f79 100644
--- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
+++ b/multimedia/gst-plugins-bad/gst-plugins-bad.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=gst-plugins-bad
VERSION=${VERSION:-1.18.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/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild
index 0b745806c01bf..547b64fcf1598 100644
--- a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild
+++ b/multimedia/gst-plugins-ugly/gst-plugins-ugly.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=gst-plugins-ugly
VERSION=${VERSION:-1.18.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/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild b/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild
index b54572d3075b7..efbdc6d6ce632 100644
--- a/multimedia/gst0-ffmpeg/gst0-ffmpeg.SlackBuild
+++ b/multimedia/gst0-ffmpeg/gst0-ffmpeg.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=gst0-ffmpeg
VERSION=${VERSION:-0.10.13}
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/multimedia/gst0-plugins-base/gst0-plugins-base.SlackBuild b/multimedia/gst0-plugins-base/gst0-plugins-base.SlackBuild
index 272bab1be59e9..ef9dc9b6fbf0b 100644
--- a/multimedia/gst0-plugins-base/gst0-plugins-base.SlackBuild
+++ b/multimedia/gst0-plugins-base/gst0-plugins-base.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=gst0-plugins-base
SRCNAM=gst-plugins-base
VERSION=${VERSION:-0.10.36}
@@ -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/multimedia/gst0-plugins-good/gst0-plugins-good.SlackBuild b/multimedia/gst0-plugins-good/gst0-plugins-good.SlackBuild
index 23773eb657e5f..62a7f5c1ed889 100644
--- a/multimedia/gst0-plugins-good/gst0-plugins-good.SlackBuild
+++ b/multimedia/gst0-plugins-good/gst0-plugins-good.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=gst0-plugins-good
SRCNAM=gst-plugins-good
VERSION=${VERSION:-0.10.31}
@@ -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/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild
index bdf71f57c831a..727a43ecfd4ef 100644
--- a/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.SlackBuild
+++ b/multimedia/gst0-plugins-ugly/gst0-plugins-ugly.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=gst0-plugins-ugly
VERSION=${VERSION:-0.10.19}
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/multimedia/gstreamer0/gstreamer0.SlackBuild b/multimedia/gstreamer0/gstreamer0.SlackBuild
index 0d790e14ade61..a36eece9da441 100644
--- a/multimedia/gstreamer0/gstreamer0.SlackBuild
+++ b/multimedia/gstreamer0/gstreamer0.SlackBuild
@@ -25,6 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gstreamer0
SRCNAM=gstreamer
VERSION=${VERSION:-0.10.36}
@@ -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/multimedia/gtick/gtick.SlackBuild b/multimedia/gtick/gtick.SlackBuild
index e1c4f8a9d4f84..2e5bf5446dc07 100644
--- a/multimedia/gtick/gtick.SlackBuild
+++ b/multimedia/gtick/gtick.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=gtick
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild
index a60bad20335d5..39c66dbe140fc 100644
--- a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild
+++ b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild
@@ -3,6 +3,8 @@
# Originally written for qt-recordmydesktop by Michales Michaloudes,
# adapted for gtk-recordmydesktop by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtk-recordmydesktop
VERSION=${VERSION:-0.3.8}
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/multimedia/guvcview/guvcview.SlackBuild b/multimedia/guvcview/guvcview.SlackBuild
index 621b8065c7474..535f7fb7eb3f1 100644
--- a/multimedia/guvcview/guvcview.SlackBuild
+++ b/multimedia/guvcview/guvcview.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=guvcview
VERSION=${VERSION:-2.0.6}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/hexter/hexter.SlackBuild b/multimedia/hexter/hexter.SlackBuild
index 767df125afa49..af48118e59d49 100644
--- a/multimedia/hexter/hexter.SlackBuild
+++ b/multimedia/hexter/hexter.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <hexter>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hexter
VERSION=${VERSION:-1.0.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/multimedia/huludesktop/huludesktop.SlackBuild b/multimedia/huludesktop/huludesktop.SlackBuild
index 508d756f6b109..4c9ef44e7acae 100644
--- a/multimedia/huludesktop/huludesktop.SlackBuild
+++ b/multimedia/huludesktop/huludesktop.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=huludesktop
VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/iat/iat.SlackBuild b/multimedia/iat/iat.SlackBuild
index b6eed7c84d1c6..bdf4c289f1625 100644
--- a/multimedia/iat/iat.SlackBuild
+++ b/multimedia/iat/iat.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for iat
# Written by Elvio Basello <hellvis69 at slackware dot it>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iat
VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/imagination/imagination.SlackBuild b/multimedia/imagination/imagination.SlackBuild
index e8cfbd575c298..f8038b158ea3b 100644
--- a/multimedia/imagination/imagination.SlackBuild
+++ b/multimedia/imagination/imagination.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=imagination
VERSION=${VERSION:-3.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/multimedia/ivtv-utils/ivtv-utils.SlackBuild b/multimedia/ivtv-utils/ivtv-utils.SlackBuild
index 232ab0335b508..dfa8b9edada66 100644
--- a/multimedia/ivtv-utils/ivtv-utils.SlackBuild
+++ b/multimedia/ivtv-utils/ivtv-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=ivtv-utils
VERSION=${VERSION:-1.4.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/multimedia/jlscp/jlscp.SlackBuild b/multimedia/jlscp/jlscp.SlackBuild
index 013d3704d8354..cad76b2a98e18 100644
--- a/multimedia/jlscp/jlscp.SlackBuild
+++ b/multimedia/jlscp/jlscp.SlackBuild
@@ -4,13 +4,14 @@
# Written by klaatu@member.fsf.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jlscp
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild b/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild
index ed799d4978935..576ec3828eab0 100644
--- a/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild
+++ b/multimedia/k9copy-reloaded/k9copy-reloaded.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=k9copy-reloaded
SRCNAM=k9copy
VERSION=${VERSION:-3.0.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/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild
index 87a806bab3da9..71e0ce37032f1 100644
--- a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild
+++ b/multimedia/kaffeine-mozilla/kaffeine-mozilla.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=kaffeine-mozilla
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/multimedia/kaffeine/kaffeine.SlackBuild b/multimedia/kaffeine/kaffeine.SlackBuild
index e5eb01d235aa7..13373e7ad98e5 100644
--- a/multimedia/kaffeine/kaffeine.SlackBuild
+++ b/multimedia/kaffeine/kaffeine.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=kaffeine
VERSION=${VERSION:-1.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/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index fa13a52bc7971..c091adb93e817 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.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=kodi
SRCNAM=xbmc
CODNAM=Krypton
@@ -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/multimedia/l-smash/l-smash.SlackBuild b/multimedia/l-smash/l-smash.SlackBuild
index 3ca64d2b59d59..9a81ef00de29b 100644
--- a/multimedia/l-smash/l-smash.SlackBuild
+++ b/multimedia/l-smash/l-smash.SlackBuild
@@ -34,6 +34,8 @@
# - actually use SLKCFLAGS
# - i486 => i586
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=l-smash
VERSION=${VERSION:-2.14.5}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/lightspark/lightspark.SlackBuild b/multimedia/lightspark/lightspark.SlackBuild
index f3495186a6da9..9def6c084099e 100644
--- a/multimedia/lightspark/lightspark.SlackBuild
+++ b/multimedia/lightspark/lightspark.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=lightspark
VERSION=${VERSION:-0.8.4.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/multimedia/lives/lives.SlackBuild b/multimedia/lives/lives.SlackBuild
index 956b18ccfc054..07bdd0b68edad 100644
--- a/multimedia/lives/lives.SlackBuild
+++ b/multimedia/lives/lives.SlackBuild
@@ -26,6 +26,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=lives
SRCNAM=LiVES
VERSION=${VERSION:-3.2.0}
@@ -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/multimedia/lsdvd/lsdvd.SlackBuild b/multimedia/lsdvd/lsdvd.SlackBuild
index 0c911021775dd..2ad435e35efc0 100644
--- a/multimedia/lsdvd/lsdvd.SlackBuild
+++ b/multimedia/lsdvd/lsdvd.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lsdvd
VERSION=${VERSION:-0.17}
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/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild
index f20b511ea2735..a0b8cb2862ff3 100644
--- a/multimedia/lwks/lwks.SlackBuild
+++ b/multimedia/lwks/lwks.SlackBuild
@@ -8,13 +8,14 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lwks
VERSION=${VERSION:-14.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=amd64
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/makemkv/makemkv.SlackBuild b/multimedia/makemkv/makemkv.SlackBuild
index a61936a2790c2..4ba92c88885af 100644
--- a/multimedia/makemkv/makemkv.SlackBuild
+++ b/multimedia/makemkv/makemkv.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=makemkv
VERSION=${VERSION:-1.14.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/multimedia/mediainfo/mediainfo.SlackBuild b/multimedia/mediainfo/mediainfo.SlackBuild
index 9c6c3a5137e68..499865e078d65 100644
--- a/multimedia/mediainfo/mediainfo.SlackBuild
+++ b/multimedia/mediainfo/mediainfo.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=mediainfo
VERSION=${VERSION:-20.09}
SRCNAM=MediaInfo
@@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/mimms/mimms.SlackBuild b/multimedia/mimms/mimms.SlackBuild
index c3678d107ce06..4e589f09209d9 100644
--- a/multimedia/mimms/mimms.SlackBuild
+++ b/multimedia/mimms/mimms.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=mimms
VERSION=${VERSION:-3.2.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/multimedia/minidlna/minidlna.SlackBuild b/multimedia/minidlna/minidlna.SlackBuild
index def9285008e2a..25148e82449fc 100644
--- a/multimedia/minidlna/minidlna.SlackBuild
+++ b/multimedia/minidlna/minidlna.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=minidlna
VERSION=${VERSION:-1.3.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/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild
index 50a59870b9a3d..632caeb21b967 100644
--- a/multimedia/minitube/minitube.SlackBuild
+++ b/multimedia/minitube/minitube.SlackBuild
@@ -23,6 +23,8 @@
# Version number bumped by /dev/ammo42
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=minitube
VERSION=${VERSION:-2.1.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/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild
index 0fb9544f1cad2..b7881276fe26e 100644
--- a/multimedia/miro/miro.SlackBuild
+++ b/multimedia/miro/miro.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=miro
VERSION=${VERSION:-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/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild
index 0df2050a346e5..eef05ebfde31d 100644
--- a/multimedia/mjpegtools/mjpegtools.SlackBuild
+++ b/multimedia/mjpegtools/mjpegtools.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=mjpegtools
VERSION=${VERSION:-2.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/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
index e86019be753b7..3a5fadba90646 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
+++ b/multimedia/mkvtoolnix/mkvtoolnix.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=mkvtoolnix
VERSION=${VERSION:-55.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/multimedia/mozplugger/mozplugger.SlackBuild b/multimedia/mozplugger/mozplugger.SlackBuild
index 0f85ec133005c..7e7c6e9eef794 100644
--- a/multimedia/mozplugger/mozplugger.SlackBuild
+++ b/multimedia/mozplugger/mozplugger.SlackBuild
@@ -21,6 +21,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=mozplugger
VERSION=${VERSION:-2.1.6}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/mp3fm/mp3fm.SlackBuild b/multimedia/mp3fm/mp3fm.SlackBuild
index c61361fcb6706..7d49a6e14ae19 100644
--- a/multimedia/mp3fm/mp3fm.SlackBuild
+++ b/multimedia/mp3fm/mp3fm.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=mp3fm
VERSION=${VERSION:-1.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/multimedia/mp3fs/mp3fs.SlackBuild b/multimedia/mp3fs/mp3fs.SlackBuild
index 83dbb35be1288..a35072e117d83 100644
--- a/multimedia/mp3fs/mp3fs.SlackBuild
+++ b/multimedia/mp3fs/mp3fs.SlackBuild
@@ -24,6 +24,8 @@
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mp3fs
VERSION=${VERSION:-0.91}
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/multimedia/mpgtx/mpgtx.SlackBuild b/multimedia/mpgtx/mpgtx.SlackBuild
index 3abee81a61649..9bf63badd853e 100644
--- a/multimedia/mpgtx/mpgtx.SlackBuild
+++ b/multimedia/mpgtx/mpgtx.SlackBuild
@@ -5,6 +5,8 @@
# Written by Matteo Bernardini <ponce@slackbuilds.org>
# Modified by Erik Hanson <erik@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpgtx
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-2}
@@ -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/multimedia/mplayer-codecs32/mplayer-codecs32.SlackBuild b/multimedia/mplayer-codecs32/mplayer-codecs32.SlackBuild
index a08e8244310e9..37fe8cd3e2bae 100644
--- a/multimedia/mplayer-codecs32/mplayer-codecs32.SlackBuild
+++ b/multimedia/mplayer-codecs32/mplayer-codecs32.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=mplayer-codecs32
VERSION=${VERSION:-20110131}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ case "${ARCH:-$( uname -m )}" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
index abd5a71aa9849..82d462d5782ae 100644
--- a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
+++ b/multimedia/mplayer-codecs64/mplayer-codecs64.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=mplayer-codecs64
VERSION=${VERSION:-20061022}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index b1e2778fd7144..31ec7e554a5f0 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.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=mpv
VERSION=${VERSION:-0.33.1}
WAF_VERSION=${WAF_VERSION:-2.0.20}
@@ -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/multimedia/mtpfs/mtpfs.SlackBuild b/multimedia/mtpfs/mtpfs.SlackBuild
index 3f33e1dccf77f..f9959dc848632 100644
--- a/multimedia/mtpfs/mtpfs.SlackBuild
+++ b/multimedia/mtpfs/mtpfs.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mtpfs
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/multimedia/munt/munt.SlackBuild b/multimedia/munt/munt.SlackBuild
index 68c0f44fbd06f..4716e61dde987 100644
--- a/multimedia/munt/munt.SlackBuild
+++ b/multimedia/munt/munt.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=munt
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/musique/musique.SlackBuild b/multimedia/musique/musique.SlackBuild
index 0fef7eb4ebe82..317d585572b8f 100644
--- a/multimedia/musique/musique.SlackBuild
+++ b/multimedia/musique/musique.SlackBuild
@@ -33,6 +33,8 @@
# - add some notes to README.
# - BUILD=2.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=musique
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-2}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/musixmatch/musixmatch.SlackBuild b/multimedia/musixmatch/musixmatch.SlackBuild
index df5dba1bd0dcd..2add9b708f38d 100644
--- a/multimedia/musixmatch/musixmatch.SlackBuild
+++ b/multimedia/musixmatch/musixmatch.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=musixmatch
VERSION=${VERSION:-3.10.4043}
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/multimedia/mythplugins/mythplugins.SlackBuild b/multimedia/mythplugins/mythplugins.SlackBuild
index 0c477375a90df..020c3ccd41147 100644
--- a/multimedia/mythplugins/mythplugins.SlackBuild
+++ b/multimedia/mythplugins/mythplugins.SlackBuild
@@ -27,6 +27,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythplugins
VERSION=${VERSION:-0.27.4}
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/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild
index 4e6ceb2fd1e04..248f07bc279dd 100644
--- a/multimedia/mythtv/mythtv.SlackBuild
+++ b/multimedia/mythtv/mythtv.SlackBuild
@@ -27,6 +27,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythtv
VERSION=${VERSION:-29.0}
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/multimedia/nrg2iso/nrg2iso.SlackBuild b/multimedia/nrg2iso/nrg2iso.SlackBuild
index 4b61f78b61d15..4b8dde6b879e8 100644
--- a/multimedia/nrg2iso/nrg2iso.SlackBuild
+++ b/multimedia/nrg2iso/nrg2iso.SlackBuild
@@ -29,6 +29,8 @@
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nrg2iso
VERSION=${VERSION:-0.4}
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/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index 3893c8faefdaa..d37d4b96568f5 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -34,6 +34,8 @@
# 20170621 bkw: fix build on -current (gcc7's pickier, use -Wno-narrowing)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nted
VERSION=${VERSION:-1.10.18_12}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/obs-studio/obs-studio.SlackBuild b/multimedia/obs-studio/obs-studio.SlackBuild
index f4ce77a9c9a0c..789baa9a08730 100644
--- a/multimedia/obs-studio/obs-studio.SlackBuild
+++ b/multimedia/obs-studio/obs-studio.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=obs-studio
VERSION=${VERSION:-27.0.1}
COMMIT=cd5873e9bcfaf9cc2614939ddb3264bea919be4a
@@ -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/multimedia/oggconvert/oggconvert.SlackBuild b/multimedia/oggconvert/oggconvert.SlackBuild
index 8ed747b32758a..a144f1506b91d 100644
--- a/multimedia/oggconvert/oggconvert.SlackBuild
+++ b/multimedia/oggconvert/oggconvert.SlackBuild
@@ -28,6 +28,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oggconvert
VERSION=${VERSION:-0.3.3}
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/multimedia/oggvideotools/oggvideotools.SlackBuild b/multimedia/oggvideotools/oggvideotools.SlackBuild
index 91dc11c1aa5d0..3308508b1d0fd 100644
--- a/multimedia/oggvideotools/oggvideotools.SlackBuild
+++ b/multimedia/oggvideotools/oggvideotools.SlackBuild
@@ -25,6 +25,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="oggvideotools"
VERSION=${VERSION:-0.8a}
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/multimedia/opencaster/opencaster.SlackBuild b/multimedia/opencaster/opencaster.SlackBuild
index 421b9d1be9d6c..59dc4d9dbed90 100644
--- a/multimedia/opencaster/opencaster.SlackBuild
+++ b/multimedia/opencaster/opencaster.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=opencaster
VERSION=${VERSION:-3.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/multimedia/openshot/openshot.SlackBuild b/multimedia/openshot/openshot.SlackBuild
index 0f59f06c0cb93..62ff276309faa 100644
--- a/multimedia/openshot/openshot.SlackBuild
+++ b/multimedia/openshot/openshot.SlackBuild
@@ -44,6 +44,8 @@
# From Oct 22nd, 2016-2020
# Maintenance & various version upgrades - Christoph Willing <chris.willing@linux.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openshot
SRCNAM=openshot-qt
VERSION=${VERSION:-2.5.1}
@@ -58,7 +60,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
index 3ea04afb8df58..5fb80d4cf961b 100644
--- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
+++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.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="opera-developer-ffmpeg-codecs"
VERSION=${VERSION:-0.44.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/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild
index c5e17eaecac3b..9915a4d5f7845 100644
--- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild
+++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.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="opera-ffmpeg-codecs"
VERSION=${VERSION:-0.44.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/multimedia/parole/parole.SlackBuild b/multimedia/parole/parole.SlackBuild
index 9abf0fdcf3354..bd8facf7445d7 100644
--- a/multimedia/parole/parole.SlackBuild
+++ b/multimedia/parole/parole.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=parole
VERSION=${VERSION:-0.9.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/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild b/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild
index b6b0b113e4059..8433a3facc58d 100644
--- a/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild
+++ b/multimedia/pepperflash-plugin/pepperflash-plugin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pepperflash-plugin
SRCNAM=flash_player_ppapi_linux
VERSION=${VERSION:-32.0.0.465}
@@ -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/multimedia/picard-plugins/picard-plugins.SlackBuild b/multimedia/picard-plugins/picard-plugins.SlackBuild
index f525f21c1f1d8..2dbdf9fe2e94f 100644
--- a/multimedia/picard-plugins/picard-plugins.SlackBuild
+++ b/multimedia/picard-plugins/picard-plugins.SlackBuild
@@ -25,6 +25,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=picard-plugins
DSTNAM=picard
VERSION=${VERSION:-7d0cf37}
@@ -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/multimedia/picard/picard.SlackBuild b/multimedia/picard/picard.SlackBuild
index 0decce169bbc6..b8e02f32badab 100644
--- a/multimedia/picard/picard.SlackBuild
+++ b/multimedia/picard/picard.SlackBuild
@@ -25,6 +25,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=picard
VERSION=${VERSION:-1.4.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/multimedia/pitivi/pitivi.SlackBuild b/multimedia/pitivi/pitivi.SlackBuild
index 45a88b541edc2..829f0270c41ce 100644
--- a/multimedia/pitivi/pitivi.SlackBuild
+++ b/multimedia/pitivi/pitivi.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=pitivi
VERSION=${VERSION:-0.95}
BUILD=${BUILD:-3}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/playerctl/playerctl.SlackBuild b/multimedia/playerctl/playerctl.SlackBuild
index 3ef1970547249..8cd5d327d2370 100644
--- a/multimedia/playerctl/playerctl.SlackBuild
+++ b/multimedia/playerctl/playerctl.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=playerctl
VERSION=${VERSION:-0.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/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
index 7122e521d9d88..16ba8fb527270 100644
--- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild
+++ b/multimedia/plex-home-theater/plex-home-theater.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=plex-home-theater
VERSION=${VERSION:-1.4.1.469}
REV=${REV:-47a90f01}
@@ -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/multimedia/plexmediaserver/plexmediaserver.SlackBuild b/multimedia/plexmediaserver/plexmediaserver.SlackBuild
index 36c65151d8f1f..8de9407f49364 100644
--- a/multimedia/plexmediaserver/plexmediaserver.SlackBuild
+++ b/multimedia/plexmediaserver/plexmediaserver.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=plexmediaserver
VERSION=${VERSION:-1.22.2.4282_a97b03fad}
PKG_VERSION=$(echo $VERSION | tr _ -)
@@ -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/multimedia/pngnq-s9/pngnq-s9.SlackBuild b/multimedia/pngnq-s9/pngnq-s9.SlackBuild
index 57435bae7add3..f6e9c14540184 100644
--- a/multimedia/pngnq-s9/pngnq-s9.SlackBuild
+++ b/multimedia/pngnq-s9/pngnq-s9.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=pngnq-s9
VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
@@ -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/multimedia/podcastparser/podcastparser.SlackBuild b/multimedia/podcastparser/podcastparser.SlackBuild
index 10bbad131783b..f69677e0bf825 100644
--- a/multimedia/podcastparser/podcastparser.SlackBuild
+++ b/multimedia/podcastparser/podcastparser.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=podcastparser
VERSION=${VERSION:-0.6.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/multimedia/popcorntime/popcorntime.SlackBuild b/multimedia/popcorntime/popcorntime.SlackBuild
index e58756d889b94..4788afff41d93 100644
--- a/multimedia/popcorntime/popcorntime.SlackBuild
+++ b/multimedia/popcorntime/popcorntime.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='popcorntime'
SRCNAM='Popcorn-Time'
VERSION=${VERSION:-0.3.10}
@@ -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/multimedia/pragha/pragha.SlackBuild b/multimedia/pragha/pragha.SlackBuild
index d29a2ad0d90da..73ccc68aafbf3 100644
--- a/multimedia/pragha/pragha.SlackBuild
+++ b/multimedia/pragha/pragha.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=pragha
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/multimedia/pyradio/pyradio.SlackBuild b/multimedia/pyradio/pyradio.SlackBuild
index 482d8d7764e89..b33ae0ccb111c 100644
--- a/multimedia/pyradio/pyradio.SlackBuild
+++ b/multimedia/pyradio/pyradio.SlackBuild
@@ -5,6 +5,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyradio
VERSION=${VERSION:-0.5.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/multimedia/qsampler/qsampler.SlackBuild b/multimedia/qsampler/qsampler.SlackBuild
index df186560fe89a..b2cd648928eb6 100644
--- a/multimedia/qsampler/qsampler.SlackBuild
+++ b/multimedia/qsampler/qsampler.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <qsampler>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qsampler
VERSION=${VERSION:-0.2.2.511svn}
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/multimedia/radiotray/radiotray.SlackBuild b/multimedia/radiotray/radiotray.SlackBuild
index eca85b028e52c..3df579a81af03 100644
--- a/multimedia/radiotray/radiotray.SlackBuild
+++ b/multimedia/radiotray/radiotray.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=radiotray
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/ripit/ripit.SlackBuild b/multimedia/ripit/ripit.SlackBuild
index 841d775902bed..cbd417d506963 100644
--- a/multimedia/ripit/ripit.SlackBuild
+++ b/multimedia/ripit/ripit.SlackBuild
@@ -30,13 +30,14 @@
# - update README.
# - BUILD=2.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ripit
VERSION=${VERSION:-3.9.0}
ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/ripperX/ripperX.SlackBuild b/multimedia/ripperX/ripperX.SlackBuild
index 96e65f3a6d459..20086cf87d518 100644
--- a/multimedia/ripperX/ripperX.SlackBuild
+++ b/multimedia/ripperX/ripperX.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ripperX
SRCNAM=ripperx
VERSION=${VERSION:-2.8.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/rosa-media-player/rosa-media-player.SlackBuild b/multimedia/rosa-media-player/rosa-media-player.SlackBuild
index eace1dcd5d330..addb85fa5f0b1 100644
--- a/multimedia/rosa-media-player/rosa-media-player.SlackBuild
+++ b/multimedia/rosa-media-player/rosa-media-player.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for romp (ROSA Media Player)
# Written by Anton Chernyshov <ach@rosalab.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rosa-media-player
VERSION=${VERSION:-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/multimedia/rtmpdump/rtmpdump.SlackBuild b/multimedia/rtmpdump/rtmpdump.SlackBuild
index a91faefb5eac2..9ef87dadb945a 100644
--- a/multimedia/rtmpdump/rtmpdump.SlackBuild
+++ b/multimedia/rtmpdump/rtmpdump.SlackBuild
@@ -24,6 +24,8 @@
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rtmpdump
VERSION=${VERSION:-20210219_f1b83c1}
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/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild
index 0b94a6fc8325c..8b30eb39ec256 100644
--- a/multimedia/schroedinger/schroedinger.SlackBuild
+++ b/multimedia/schroedinger/schroedinger.SlackBuild
@@ -25,6 +25,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="schroedinger"
VERSION=${VERSION:-1.0.11}
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/multimedia/serviio/serviio.SlackBuild b/multimedia/serviio/serviio.SlackBuild
index b5a1ba4836556..5af3ab8361db4 100644
--- a/multimedia/serviio/serviio.SlackBuild
+++ b/multimedia/serviio/serviio.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=serviio
VERSION=${VERSION:-1.7.1.1}
BUILD=${BUILD:-1}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/sfnt2woff/sfnt2woff.SlackBuild b/multimedia/sfnt2woff/sfnt2woff.SlackBuild
index 1ffdd5d28daa8..bb09007da9f02 100644
--- a/multimedia/sfnt2woff/sfnt2woff.SlackBuild
+++ b/multimedia/sfnt2woff/sfnt2woff.SlackBuild
@@ -23,6 +23,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sfnt2woff
VERSION=${VERSION:-2009.10.03}
SRCVER=20091003
@@ -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/multimedia/shotcut/shotcut.SlackBuild b/multimedia/shotcut/shotcut.SlackBuild
index 40a8fc87c48d7..ef78640a0fd84 100644
--- a/multimedia/shotcut/shotcut.SlackBuild
+++ b/multimedia/shotcut/shotcut.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=shotcut
VERSION=${VERSION:-18.11.18}
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/multimedia/simpleburn/simpleburn.SlackBuild b/multimedia/simpleburn/simpleburn.SlackBuild
index 99417c0756c53..f75106e67c28c 100644
--- a/multimedia/simpleburn/simpleburn.SlackBuild
+++ b/multimedia/simpleburn/simpleburn.SlackBuild
@@ -24,6 +24,8 @@
# Updated 2017-08-08 by Marek Srejma
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=simpleburn
VERSION=${VERSION:-1.8.3.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/sinthgunt/sinthgunt.SlackBuild b/multimedia/sinthgunt/sinthgunt.SlackBuild
index 36a4629a1b8fb..a359a8cd0e4ec 100644
--- a/multimedia/sinthgunt/sinthgunt.SlackBuild
+++ b/multimedia/sinthgunt/sinthgunt.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=sinthgunt
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-3}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild
index fdffd13b36b0e..cc4369ee79464 100644
--- a/multimedia/smpeg/smpeg.SlackBuild
+++ b/multimedia/smpeg/smpeg.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=smpeg
VERSION=${VERSION:-r389}
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/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index 1811db914ce3b..d6dcc03b8919f 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.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=smplayer
VERSION=${VERSION:-20.6.0}
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/multimedia/smtube/smtube.SlackBuild b/multimedia/smtube/smtube.SlackBuild
index 3096511af7e46..8174b5abcdab0 100644
--- a/multimedia/smtube/smtube.SlackBuild
+++ b/multimedia/smtube/smtube.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=smtube
VERSION=${VERSION:-20.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/multimedia/spek/spek.SlackBuild b/multimedia/spek/spek.SlackBuild
index 056235883496f..61138c2c3ad1b 100644
--- a/multimedia/spek/spek.SlackBuild
+++ b/multimedia/spek/spek.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=spek
VERSION=${VERSION:-0.8.3_07c13da27d}
GITVER=${GITVER:-07c13da27d9c2acfc713c63c21d123cae4b5ce65}
@@ -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/multimedia/spotify/spotify.SlackBuild b/multimedia/spotify/spotify.SlackBuild
index aeaa5b0775cb7..56edede65ea4b 100644
--- a/multimedia/spotify/spotify.SlackBuild
+++ b/multimedia/spotify/spotify.SlackBuild
@@ -25,6 +25,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spotify
SRCNAM=spotify-client
VERSION=${VERSION:-1.1.10}
@@ -39,7 +41,6 @@ case "$(uname -m)" in
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.SlackBuild b/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.SlackBuild
index b8868b6e4f08d..3acfbdc6b28ff 100644
--- a/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.SlackBuild
+++ b/multimedia/srt-to-vtt-cl/srt-to-vtt-cl.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=srt-to-vtt-cl
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/multimedia/stills2dv/stills2dv.SlackBuild b/multimedia/stills2dv/stills2dv.SlackBuild
index 665fb5431adf1..1447d470cf94e 100644
--- a/multimedia/stills2dv/stills2dv.SlackBuild
+++ b/multimedia/stills2dv/stills2dv.SlackBuild
@@ -4,6 +4,8 @@
#
# This is hereby put in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stills2dv
VERSION=${VERSION:-alpha_0.602}
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/multimedia/straw-viewer/straw-viewer.SlackBuild b/multimedia/straw-viewer/straw-viewer.SlackBuild
index 1ce0915ac7ece..35dae711b13a2 100644
--- a/multimedia/straw-viewer/straw-viewer.SlackBuild
+++ b/multimedia/straw-viewer/straw-viewer.SlackBuild
@@ -26,6 +26,8 @@
# why. Packaging a git commit because the latest (only) release has some
# issues that have been fixed.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=straw-viewer
VERSION=${VERSION:-0.1.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/multimedia/strawberry/strawberry.SlackBuild b/multimedia/strawberry/strawberry.SlackBuild
index 3998e0f2e5335..d7668b70a5bea 100644
--- a/multimedia/strawberry/strawberry.SlackBuild
+++ b/multimedia/strawberry/strawberry.SlackBuild
@@ -26,6 +26,8 @@
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=strawberry
VERSION=${VERSION:-0.6.12}
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/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
index 1882731726d9f..1464948c651d0 100644
--- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
+++ b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
@@ -5,6 +5,8 @@
# Maintained by Klaatu @member.fsf.org
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=subtitlecomposer
VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-3}
@@ -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/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild
index dcc9ccf5e09c7..199b4facb2656 100644
--- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild
+++ b/multimedia/subtitleeditor/subtitleeditor.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=subtitleeditor
VERSION=${VERSION:-20191130_4c215f4}
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/multimedia/subtitleripper/subtitleripper.SlackBuild b/multimedia/subtitleripper/subtitleripper.SlackBuild
index 0cb95384d76e4..5a6bd8e75e655 100644
--- a/multimedia/subtitleripper/subtitleripper.SlackBuild
+++ b/multimedia/subtitleripper/subtitleripper.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=subtitleripper
VERSION=${VERSION:-0.3_4}
SRCVER=$(printf $VERSION |sed 's/_/-/')
@@ -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/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild b/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
index db8d91a85ac0a..c3f50af5cd138 100644
--- a/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
+++ b/multimedia/tabu_audio_player/tabu_audio_player.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=tabu_audio_player
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild b/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild
index 30973e72ac431..14bc134b673c3 100644
--- a/multimedia/telepathy-farstream/telepathy-farstream.SlackBuild
+++ b/multimedia/telepathy-farstream/telepathy-farstream.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=telepathy-farstream
VERSION=${VERSION:-0.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/multimedia/telepathy-glib/telepathy-glib.SlackBuild b/multimedia/telepathy-glib/telepathy-glib.SlackBuild
index 7789100c7bef5..69bb0fafb9dea 100644
--- a/multimedia/telepathy-glib/telepathy-glib.SlackBuild
+++ b/multimedia/telepathy-glib/telepathy-glib.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=telepathy-glib
VERSION=${VERSION:-0.24.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/telepathy-qt/telepathy-qt.SlackBuild b/multimedia/telepathy-qt/telepathy-qt.SlackBuild
index ae1fd612eca80..14bd143f1bdf3 100644
--- a/multimedia/telepathy-qt/telepathy-qt.SlackBuild
+++ b/multimedia/telepathy-qt/telepathy-qt.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=telepathy-qt
VERSION=${VERSION:-0.9.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/multimedia/tivodecode/tivodecode.SlackBuild b/multimedia/tivodecode/tivodecode.SlackBuild
index 392e1142e710c..429ff24420745 100644
--- a/multimedia/tivodecode/tivodecode.SlackBuild
+++ b/multimedia/tivodecode/tivodecode.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=tivodecode
VERSION=${VERSION:-0.2pre4}
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/multimedia/totem/totem.SlackBuild b/multimedia/totem/totem.SlackBuild
index 994702977e826..be1cfa02ce4ef 100644
--- a/multimedia/totem/totem.SlackBuild
+++ b/multimedia/totem/totem.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=totem
VERSION=${VERSION:-2.32.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/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild
index a724bb95b607d..88c94a35d229a 100644
--- a/multimedia/tovid/tovid.SlackBuild
+++ b/multimedia/tovid/tovid.SlackBuild
@@ -17,6 +17,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=tovid
VERSION=${VERSION:-0.35.2}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/tragtor/tragtor.SlackBuild b/multimedia/tragtor/tragtor.SlackBuild
index af1e29dd97ff7..31471c083f69c 100644
--- a/multimedia/tragtor/tragtor.SlackBuild
+++ b/multimedia/tragtor/tragtor.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=tragtor
VERSION=${VERSION:-0.9.3}
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/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index f73e7fbbc427a..b8be03e70d235 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.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=transcode
VERSION=${VERSION:-1.1.7}
BUILD=${BUILD:-5}
@@ -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/multimedia/tstools/tstools.SlackBuild b/multimedia/tstools/tstools.SlackBuild
index bde31bf2b9b78..f7893b4fa7b72 100644
--- a/multimedia/tstools/tstools.SlackBuild
+++ b/multimedia/tstools/tstools.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=tstools
VERSION=${VERSION:-20151030_db1f79f}
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/multimedia/tvheadend/tvheadend.SlackBuild b/multimedia/tvheadend/tvheadend.SlackBuild
index b08d90d67dcb6..963051cb14a7d 100644
--- a/multimedia/tvheadend/tvheadend.SlackBuild
+++ b/multimedia/tvheadend/tvheadend.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=tvheadend
VERSION=${VERSION:-4.2.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/multimedia/tvtime/tvtime.SlackBuild b/multimedia/tvtime/tvtime.SlackBuild
index 831ae58397e42..933d25d0a023c 100644
--- a/multimedia/tvtime/tvtime.SlackBuild
+++ b/multimedia/tvtime/tvtime.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=tvtime
VERSION=${VERSION:-1.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/multimedia/ucview/ucview.SlackBuild b/multimedia/ucview/ucview.SlackBuild
index eb774b0273279..87036c69a987e 100644
--- a/multimedia/ucview/ucview.SlackBuild
+++ b/multimedia/ucview/ucview.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=ucview
VERSION=${VERSION:-20150221}
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/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild b/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild
index 5e784247a6bcf..6015ea54a40b8 100644
--- a/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.SlackBuild
+++ b/multimedia/vapoursynth-mvtools/vapoursynth-mvtools.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=vapoursynth-mvtools
VERSION=${VERSION:-23}
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/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild
index 5538a3bd38dec..5337a5c3e0d63 100644
--- a/multimedia/vapoursynth/vapoursynth.SlackBuild
+++ b/multimedia/vapoursynth/vapoursynth.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=vapoursynth
VERSION=${VERSION:-R52}
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/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild
index a7d7bd5b160df..6b662a733018e 100644
--- a/multimedia/vcdimager/vcdimager.SlackBuild
+++ b/multimedia/vcdimager/vcdimager.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=vcdimager
VERSION=${VERSION:-2.0.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/multimedia/vgmplay/vgmplay.SlackBuild b/multimedia/vgmplay/vgmplay.SlackBuild
index eaa0a6fbf8115..2b26753513332 100644
--- a/multimedia/vgmplay/vgmplay.SlackBuild
+++ b/multimedia/vgmplay/vgmplay.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=vgmplay
VERSION=${VERSION:-0.40.9}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild
index 1768ce68f3abb..b986a85ce9768 100644
--- a/multimedia/videocut/videocut.SlackBuild
+++ b/multimedia/videocut/videocut.SlackBuild
@@ -4,6 +4,8 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=videocut
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild b/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild
index ff7c23c1ff58a..2ec9ba5709802 100644
--- a/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild
+++ b/multimedia/vitunes-mplayer/vitunes-mplayer.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vitunes-mplayer
VERSION=${VERSION:-2.3}
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/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild
index 803304db931a1..6472736842ea2 100644
--- a/multimedia/vkeybd/vkeybd.SlackBuild
+++ b/multimedia/vkeybd/vkeybd.SlackBuild
@@ -20,6 +20,8 @@
# - fix grammer in README and slack-desc.
# - 'virtual keyboard' => 'virtual piano keyboard' in slack-desc.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vkeybd
VERSION=${VERSION:-0.1.18d}
BUILD=${BUILD:-3}
@@ -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/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild
index 01a31aad9b653..d0cf71f75d6e2 100644
--- a/multimedia/vlc/vlc.SlackBuild
+++ b/multimedia/vlc/vlc.SlackBuild
@@ -27,6 +27,8 @@
# SUCH DAMAGE.
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vlc
VERSION=${VERSION:-3.0.16}
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/multimedia/vlsub/vlsub.SlackBuild b/multimedia/vlsub/vlsub.SlackBuild
index 48c9807b0f2ea..b7da019708cb3 100644
--- a/multimedia/vlsub/vlsub.SlackBuild
+++ b/multimedia/vlsub/vlsub.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=vlsub
VERSION=${VERSION:-0.10.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/multimedia/vobcopy/vobcopy.SlackBuild b/multimedia/vobcopy/vobcopy.SlackBuild
index be465e1bc9fef..740c764f34cc6 100644
--- a/multimedia/vobcopy/vobcopy.SlackBuild
+++ b/multimedia/vobcopy/vobcopy.SlackBuild
@@ -24,6 +24,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vobcopy
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/vobsub2srt/vobsub2srt.SlackBuild b/multimedia/vobsub2srt/vobsub2srt.SlackBuild
index f985cd8c1db82..40aac6a9a1f97 100644
--- a/multimedia/vobsub2srt/vobsub2srt.SlackBuild
+++ b/multimedia/vobsub2srt/vobsub2srt.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=vobsub2srt
SRCNAM=VobSub2SRT
VERSION=${VERSION:-1.0pre7}
@@ -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/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
index e710fd72be7c2..e21ed653c3ec2 100644
--- a/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
+++ b/multimedia/vokoscreenNG/vokoscreenNG.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vokoscreenNG
VERSION=${VERSION:-3.0.8}
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/multimedia/w_scan/w_scan.SlackBuild b/multimedia/w_scan/w_scan.SlackBuild
index cb06cbd91596a..db65281d60863 100644
--- a/multimedia/w_scan/w_scan.SlackBuild
+++ b/multimedia/w_scan/w_scan.SlackBuild
@@ -24,6 +24,8 @@
# New maintainer: stormtracknole <stormtracknole@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=w_scan
VERSION=${VERSION:-20141122}
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/multimedia/webvfx/webvfx.SlackBuild b/multimedia/webvfx/webvfx.SlackBuild
index ff1cb9e021e10..f96a98994eaf5 100644
--- a/multimedia/webvfx/webvfx.SlackBuild
+++ b/multimedia/webvfx/webvfx.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=webvfx
VERSION=${VERSION:-1.1.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/multimedia/whistle/whistle.SlackBuild b/multimedia/whistle/whistle.SlackBuild
index af558cefc3dd7..e85e1201d7168 100644
--- a/multimedia/whistle/whistle.SlackBuild
+++ b/multimedia/whistle/whistle.SlackBuild
@@ -21,6 +21,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=whistle
VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/wxcam/wxcam.SlackBuild b/multimedia/wxcam/wxcam.SlackBuild
index c56dfe5f7b355..3d1781cac71dc 100644
--- a/multimedia/wxcam/wxcam.SlackBuild
+++ b/multimedia/wxcam/wxcam.SlackBuild
@@ -27,6 +27,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxcam
VERSION=${VERSION:-1.1}
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/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index cc2c0d773dbe9..7950edc671908 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -24,6 +24,8 @@
# Originally written by core (eroc@linuxmail.org)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x264
VERSION=${VERSION:-20170225}
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/multimedia/x265/x265.SlackBuild b/multimedia/x265/x265.SlackBuild
index d81034c6c15ed..2fd118c5a6e8c 100644
--- a/multimedia/x265/x265.SlackBuild
+++ b/multimedia/x265/x265.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=x265
VERSION=${VERSION:-3.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/multimedia/xawtv/xawtv.SlackBuild b/multimedia/xawtv/xawtv.SlackBuild
index 8139bf49883fb..cdb10cbd52577 100644
--- a/multimedia/xawtv/xawtv.SlackBuild
+++ b/multimedia/xawtv/xawtv.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=xawtv
VERSION=${VERSION:-3.107}
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/multimedia/xjadeo/xjadeo.SlackBuild b/multimedia/xjadeo/xjadeo.SlackBuild
index f377496e99fc3..5c6d2b452fcaf 100644
--- a/multimedia/xjadeo/xjadeo.SlackBuild
+++ b/multimedia/xjadeo/xjadeo.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for <xjadeo>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xjadeo
VERSION=${VERSION:-0.8.7}
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/multimedia/xmltv/xmltv.SlackBuild b/multimedia/xmltv/xmltv.SlackBuild
index b232617ae5554..9abded93a5e96 100644
--- a/multimedia/xmltv/xmltv.SlackBuild
+++ b/multimedia/xmltv/xmltv.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=xmltv
VERSION=${VERSION:-0.6.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/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild
index f8ac9979817d4..abfcfa1c35e4d 100644
--- a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild
+++ b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild
@@ -17,6 +17,8 @@
# XMMS don't seem to matter: I can't get it to segfault in the ways
# described. If anyone does have segfaults, please let me know.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmms-crossfade
VERSION=${VERSION:-0.3.14}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/xmms-cue/xmms-cue.SlackBuild b/multimedia/xmms-cue/xmms-cue.SlackBuild
index 0528cedc5e3e4..e9b5372da07a9 100644
--- a/multimedia/xmms-cue/xmms-cue.SlackBuild
+++ b/multimedia/xmms-cue/xmms-cue.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=xmms-cue
SRCNAM=VirtualCueXmms
VERSION=${VERSION:-0.2}
@@ -46,7 +48,6 @@ case "$ARCH" in
read -t 10 PLACEHOLDER ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/multimedia/xvid4conf/xvid4conf.SlackBuild b/multimedia/xvid4conf/xvid4conf.SlackBuild
index a9845ead31832..860fb93ba9f17 100644
--- a/multimedia/xvid4conf/xvid4conf.SlackBuild
+++ b/multimedia/xvid4conf/xvid4conf.SlackBuild
@@ -4,6 +4,8 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xvid4conf
VERSION=${VERSION:-1.12}
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/multimedia/xvidcore/xvidcore.SlackBuild b/multimedia/xvidcore/xvidcore.SlackBuild
index c4a447b65ea0f..875e9e8f370fe 100644
--- a/multimedia/xvidcore/xvidcore.SlackBuild
+++ b/multimedia/xvidcore/xvidcore.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=xvidcore
VERSION=${VERSION:-1.3.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/multimedia/xvst/xvst.SlackBuild b/multimedia/xvst/xvst.SlackBuild
index 272246e583474..3e7f4d509e6c9 100644
--- a/multimedia/xvst/xvst.SlackBuild
+++ b/multimedia/xvst/xvst.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=xvst
SRCNAM=xVideoServiceThief
VERSION=${VERSION:-2.5.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/multimedia/yarock/yarock.SlackBuild b/multimedia/yarock/yarock.SlackBuild
index e02b12c0201a8..bb10b15c7d95e 100644
--- a/multimedia/yarock/yarock.SlackBuild
+++ b/multimedia/yarock/yarock.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=yarock
SRCNAM=$(echo ${PRGNAM^})
VERSION=${VERSION:-1.3.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/multimedia/zvbi/zvbi.SlackBuild b/multimedia/zvbi/zvbi.SlackBuild
index 1368fc5881659..f5e773b66bd7c 100644
--- a/multimedia/zvbi/zvbi.SlackBuild
+++ b/multimedia/zvbi/zvbi.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=zvbi
VERSION=${VERSION:-0.2.35}
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}