diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 11:41:06 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-05 16:01:32 +0700 |
commit | 7f26b9929fe95171f3719de3f601b696a2def263 (patch) | |
tree | c695221c62ff155a5a657883822af40538d24f23 /misc | |
parent | e6362e61d4cb76998694df32c864f5ceb3d95d54 (diff) |
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
184 files changed, 368 insertions, 184 deletions
diff --git a/misc/BISP/BISP.SlackBuild b/misc/BISP/BISP.SlackBuild index 004f1b216499..3d7d256f5208 100644 --- a/misc/BISP/BISP.SlackBuild +++ b/misc/BISP/BISP.SlackBuild @@ -59,13 +59,14 @@ # 4.19.1.11663 1/Nov/2012 # * Updated browser plugin patch. ################################################## +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=BISP VERSION=${VERSION:-4.19.1.11663} ARCH=${ARCH:-i586} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/KeePass/KeePass.SlackBuild b/misc/KeePass/KeePass.SlackBuild index 25474d9b462d..f23a3705c579 100644 --- a/misc/KeePass/KeePass.SlackBuild +++ b/misc/KeePass/KeePass.SlackBuild @@ -18,6 +18,8 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=KeePass VERSION=${VERSION:-2.47} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/KeePassHttp/KeePassHttp.SlackBuild b/misc/KeePassHttp/KeePassHttp.SlackBuild index 9054ab8399f0..c45e0daf893d 100644 --- a/misc/KeePassHttp/KeePassHttp.SlackBuild +++ b/misc/KeePassHttp/KeePassHttp.SlackBuild @@ -22,13 +22,14 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=KeePassHttp VERSION=${VERSION:-1.8.4.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/OSCAR/OSCAR.SlackBuild b/misc/OSCAR/OSCAR.SlackBuild index a82f71bbe8b9..446953c22761 100644 --- a/misc/OSCAR/OSCAR.SlackBuild +++ b/misc/OSCAR/OSCAR.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=OSCAR VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/Publican/Publican.SlackBuild b/misc/Publican/Publican.SlackBuild index 213efea67f8a..ca0de5db6e3c 100644 --- a/misc/Publican/Publican.SlackBuild +++ b/misc/Publican/Publican.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Publican VERSION=${VERSION:-4.3.2} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/QCMA/QCMA.SlackBuild b/misc/QCMA/QCMA.SlackBuild index 1c775005adca..48fdd0a4329f 100644 --- a/misc/QCMA/QCMA.SlackBuild +++ b/misc/QCMA/QCMA.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=QCMA VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/abduco/abduco.SlackBuild b/misc/abduco/abduco.SlackBuild index 906f3188ed6f..5d0b4d70d214 100644 --- a/misc/abduco/abduco.SlackBuild +++ b/misc/abduco/abduco.SlackBuild @@ -27,6 +27,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=abduco VERSION=${VERSION:-0.6} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/altermime/altermime.SlackBuild b/misc/altermime/altermime.SlackBuild index 7c946aaedfd7..f9ad6f01b008 100644 --- a/misc/altermime/altermime.SlackBuild +++ b/misc/altermime/altermime.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=altermime VERSION=${VERSION:-0.3.10} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ardesia/ardesia.SlackBuild b/misc/ardesia/ardesia.SlackBuild index 0e73d79fec21..31c0defea8aa 100644 --- a/misc/ardesia/ardesia.SlackBuild +++ b/misc/ardesia/ardesia.SlackBuild @@ -6,6 +6,8 @@ # Public Domain +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ardesia VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ascii/ascii.SlackBuild b/misc/ascii/ascii.SlackBuild index a9f358872c45..3434771093b5 100644 --- a/misc/ascii/ascii.SlackBuild +++ b/misc/ascii/ascii.SlackBuild @@ -7,6 +7,8 @@ # Written by cteg <comsublant@gmx.net> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ascii VERSION=${VERSION:-3.12} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/asr-manpages/asr-manpages.SlackBuild b/misc/asr-manpages/asr-manpages.SlackBuild index e1766df5f881..80bc15aae9a9 100644 --- a/misc/asr-manpages/asr-manpages.SlackBuild +++ b/misc/asr-manpages/asr-manpages.SlackBuild @@ -24,6 +24,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=asr-manpages VERSION=${VERSION:-1.3.6} SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 ) @@ -33,7 +35,6 @@ ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/asterixInspector/asterixInspector.SlackBuild b/misc/asterixInspector/asterixInspector.SlackBuild index 0883c85b2c67..dee02822712d 100644 --- a/misc/asterixInspector/asterixInspector.SlackBuild +++ b/misc/asterixInspector/asterixInspector.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=asterixInspector VERSION=${VERSION:-0.13.1} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bbrun/bbrun.SlackBuild b/misc/bbrun/bbrun.SlackBuild index fc7c948d45f5..6e5e3d8aeb20 100644 --- a/misc/bbrun/bbrun.SlackBuild +++ b/misc/bbrun/bbrun.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bbrun VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -CWD=$(pwd) set -e diff --git a/misc/bchunk/bchunk.SlackBuild b/misc/bchunk/bchunk.SlackBuild index 7b494f20219e..0aeca4bd39ad 100644 --- a/misc/bchunk/bchunk.SlackBuild +++ b/misc/bchunk/bchunk.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bchunk VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bdf2psf/bdf2psf.SlackBuild b/misc/bdf2psf/bdf2psf.SlackBuild index 30043f17591f..e123f8b5cf40 100644 --- a/misc/bdf2psf/bdf2psf.SlackBuild +++ b/misc/bdf2psf/bdf2psf.SlackBuild @@ -22,12 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bdf2psf VERSION=${VERSION:-1.131} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bdfresize/bdfresize.SlackBuild b/misc/bdfresize/bdfresize.SlackBuild index 6f280370a3a4..fa3afcfcafce 100644 --- a/misc/bdfresize/bdfresize.SlackBuild +++ b/misc/bdfresize/bdfresize.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bdfresize VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/beep/beep.SlackBuild b/misc/beep/beep.SlackBuild index 9b7074005357..79921abc912f 100644 --- a/misc/beep/beep.SlackBuild +++ b/misc/beep/beep.SlackBuild @@ -7,6 +7,8 @@ # Modified by Robby Workman of the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=beep VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/biosdisk/biosdisk.SlackBuild b/misc/biosdisk/biosdisk.SlackBuild index 10bf1caeab53..cd4107b78756 100644 --- a/misc/biosdisk/biosdisk.SlackBuild +++ b/misc/biosdisk/biosdisk.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for <biosdisk> # Written by Michales Michaloudes korgie@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=biosdisk VERSION=${VERSION:-0.75_2} ARCH=noarch @@ -11,7 +13,6 @@ TAG=${TAG:-_SBo} SRC_VERSION=$(echo $VERSION | tr _ -) VERSDIR=$(echo $VERSION | sed 's/_.*//') -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/birthday/birthday.SlackBuild b/misc/birthday/birthday.SlackBuild index b93e6100f7a6..c8378a20ddc6 100644 --- a/misc/birthday/birthday.SlackBuild +++ b/misc/birthday/birthday.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=birthday VERSION=${VERSION:-1.6.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bodr/bodr.SlackBuild b/misc/bodr/bodr.SlackBuild index ec3cd575de5c..af56b08692c4 100644 --- a/misc/bodr/bodr.SlackBuild +++ b/misc/bodr/bodr.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bodr VERSION=${VERSION:-10} BUILD=${BUILD:-2} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/boncuk/boncuk.SlackBuild b/misc/boncuk/boncuk.SlackBuild index 150549608d38..d4276082fd83 100644 --- a/misc/boncuk/boncuk.SlackBuild +++ b/misc/boncuk/boncuk.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=boncuk VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/boxes/boxes.SlackBuild b/misc/boxes/boxes.SlackBuild index 679092bafc28..6629324f1615 100644 --- a/misc/boxes/boxes.SlackBuild +++ b/misc/boxes/boxes.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=boxes VERSION=${VERSION:-1.1.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/brewtarget/brewtarget.SlackBuild b/misc/brewtarget/brewtarget.SlackBuild index ec5c690edf51..638e559371dd 100644 --- a/misc/brewtarget/brewtarget.SlackBuild +++ b/misc/brewtarget/brewtarget.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=brewtarget VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bsdmainutils/bsdmainutils.SlackBuild b/misc/bsdmainutils/bsdmainutils.SlackBuild index 8debb00d34ed..352ca10b9630 100644 --- a/misc/bsdmainutils/bsdmainutils.SlackBuild +++ b/misc/bsdmainutils/bsdmainutils.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bsdmainutils VERSION=${VERSION:-9.0.12+nmu1} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/bsdsfv/bsdsfv.SlackBuild b/misc/bsdsfv/bsdsfv.SlackBuild index 7fb54b5b7c63..c627b942d24e 100644 --- a/misc/bsdsfv/bsdsfv.SlackBuild +++ b/misc/bsdsfv/bsdsfv.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bsdsfv VERSION=${VERSION:-1.18} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ccze/ccze.SlackBuild b/misc/ccze/ccze.SlackBuild index 5adf37c79b13..d729f1285b0b 100644 --- a/misc/ccze/ccze.SlackBuild +++ b/misc/ccze/ccze.SlackBuild @@ -4,6 +4,8 @@ # Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ccze VERSION=${VERSION:-0.2.1} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/cflow/cflow.SlackBuild b/misc/cflow/cflow.SlackBuild index 9992716b3117..3d1c92779ffd 100644 --- a/misc/cflow/cflow.SlackBuild +++ b/misc/cflow/cflow.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cflow VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/chemical-mime-data/chemical-mime-data.SlackBuild b/misc/chemical-mime-data/chemical-mime-data.SlackBuild index 715beff323ff..d7c8467584d6 100644 --- a/misc/chemical-mime-data/chemical-mime-data.SlackBuild +++ b/misc/chemical-mime-data/chemical-mime-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chemical-mime-data VERSION=${VERSION:-0.1.94} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/chm2pdf/chm2pdf.SlackBuild b/misc/chm2pdf/chm2pdf.SlackBuild index f31ffe4b9f2f..b8f01dc90646 100644 --- a/misc/chm2pdf/chm2pdf.SlackBuild +++ b/misc/chm2pdf/chm2pdf.SlackBuild @@ -25,6 +25,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chm2pdf VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-3} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/chntpw/chntpw.SlackBuild b/misc/chntpw/chntpw.SlackBuild index 7e17a71de24b..a793e779e482 100644 --- a/misc/chntpw/chntpw.SlackBuild +++ b/misc/chntpw/chntpw.SlackBuild @@ -24,6 +24,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chntpw VERSION=${VERSION:-140201} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ciso/ciso.SlackBuild b/misc/ciso/ciso.SlackBuild index db3756594607..176a8d24787f 100644 --- a/misc/ciso/ciso.SlackBuild +++ b/misc/ciso/ciso.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ciso VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild index 46d867639782..bb1fb3c5a4a4 100644 --- a/misc/cksfv/cksfv.SlackBuild +++ b/misc/cksfv/cksfv.SlackBuild @@ -29,6 +29,8 @@ # Modified by Erik Hanson <erik@slackbuilds.org> # No additional license terms +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cksfv VERSION=${VERSION:-1.3.14} BUILD=${BUILD:-1} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/clawsker/clawsker.SlackBuild b/misc/clawsker/clawsker.SlackBuild index 976f9bf8252e..f6a954f14de8 100644 --- a/misc/clawsker/clawsker.SlackBuild +++ b/misc/clawsker/clawsker.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=clawsker VERSION=${VERSION:-1.1.0} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/cp437/cp437.SlackBuild b/misc/cp437/cp437.SlackBuild index c17d1a4fd82b..8d32bd5550f4 100644 --- a/misc/cp437/cp437.SlackBuild +++ b/misc/cp437/cp437.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cp437 VERSION=${VERSION:-0.6} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild index b3b15c35c6cc..58f3f1140144 100644 --- a/misc/cwiid/cwiid.SlackBuild +++ b/misc/cwiid/cwiid.SlackBuild @@ -18,6 +18,8 @@ # - Fixed permissions of config files and header # - Added ir_fps and nunchuk_kb plugins +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cwiid VERSION=${VERSION:-0.6.00+svn201} BUILD=${BUILD:-3} @@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dbview/dbview.SlackBuild b/misc/dbview/dbview.SlackBuild index d285c6dfb4af..6c748ca1f11b 100644 --- a/misc/dbview/dbview.SlackBuild +++ b/misc/dbview/dbview.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for dbview # Written by Oleg O. Chukaev <oleg.chukaev@mail.ru> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dbview VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dcc/dcc.SlackBuild b/misc/dcc/dcc.SlackBuild index 398689a642ba..be8e2abfc65e 100644 --- a/misc/dcc/dcc.SlackBuild +++ b/misc/dcc/dcc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dcc VERSION=${VERSION:-1.3.158} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/deb2tgz/deb2tgz.SlackBuild b/misc/deb2tgz/deb2tgz.SlackBuild index 2aa809a97bd7..31dc30ad1828 100644 --- a/misc/deb2tgz/deb2tgz.SlackBuild +++ b/misc/deb2tgz/deb2tgz.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=deb2tgz VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH="noarch" -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/deroff/deroff.SlackBuild b/misc/deroff/deroff.SlackBuild index 9bd3c63134f9..9d9a0adcad96 100644 --- a/misc/deroff/deroff.SlackBuild +++ b/misc/deroff/deroff.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=deroff VERSION=${VERSION:-2.0} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild index b37f244510d3..a6627653804c 100644 --- a/misc/discount/discount.SlackBuild +++ b/misc/discount/discount.SlackBuild @@ -22,6 +22,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=discount VERSION=${VERSION:-2.2.7} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dmg2img/dmg2img.SlackBuild b/misc/dmg2img/dmg2img.SlackBuild index d326cd30df16..75e6f098f579 100644 --- a/misc/dmg2img/dmg2img.SlackBuild +++ b/misc/dmg2img/dmg2img.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dmg2img VERSION=${VERSION:-1.6.7} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/doclifter/doclifter.SlackBuild b/misc/doclifter/doclifter.SlackBuild index eac087af76a0..2bcfa501bb1c 100644 --- a/misc/doclifter/doclifter.SlackBuild +++ b/misc/doclifter/doclifter.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=doclifter VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} @@ -30,7 +32,6 @@ TAG=${TAG:-_SBo} # We package Python scripts, so: ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dos2unix/dos2unix.SlackBuild b/misc/dos2unix/dos2unix.SlackBuild index 9fdbab5a633b..9bfc76da00b3 100644 --- a/misc/dos2unix/dos2unix.SlackBuild +++ b/misc/dos2unix/dos2unix.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dos2unix VERSION=${VERSION:-7.4.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/drg2sbg/drg2sbg.SlackBuild b/misc/drg2sbg/drg2sbg.SlackBuild index 12b6fb9801cb..7ad394d871c9 100644 --- a/misc/drg2sbg/drg2sbg.SlackBuild +++ b/misc/drg2sbg/drg2sbg.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=drg2sbg VERSION=${VERSION:-2.2} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dvtm/dvtm.SlackBuild b/misc/dvtm/dvtm.SlackBuild index 16dbc0c75f21..d075ab8e9c06 100644 --- a/misc/dvtm/dvtm.SlackBuild +++ b/misc/dvtm/dvtm.SlackBuild @@ -26,6 +26,8 @@ # Modified by slackbuilds.org +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dvtm VERSION=${VERSION:-0.15} BUILD=${BUILD:-2} @@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild index 7b69242ebb00..ee731522e26d 100644 --- a/misc/dwdiff/dwdiff.SlackBuild +++ b/misc/dwdiff/dwdiff.SlackBuild @@ -4,6 +4,8 @@ # Written by slakmagik <slakmagik@gmail.com> # Released under the WTFPL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dwdiff VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/esniper/esniper.SlackBuild b/misc/esniper/esniper.SlackBuild index 2eca765f4d43..a24c220646a1 100644 --- a/misc/esniper/esniper.SlackBuild +++ b/misc/esniper/esniper.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=esniper VERSION=${VERSION:-2.35.0} SRCVER=$(printf %s "$VERSION" | tr . -) @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/fbcat/fbcat.SlackBuild b/misc/fbcat/fbcat.SlackBuild index aaf9e212baef..42c77e869c2c 100644 --- a/misc/fbcat/fbcat.SlackBuild +++ b/misc/fbcat/fbcat.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fbcat VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/fbdump/fbdump.SlackBuild b/misc/fbdump/fbdump.SlackBuild index 12b945910f0e..11e4b7d75e3b 100644 --- a/misc/fbdump/fbdump.SlackBuild +++ b/misc/fbdump/fbdump.SlackBuild @@ -42,6 +42,8 @@ # framebuffer format these days. Compiling with lots of optimizations # doesn't seem to help (even switching from gcc to clang). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fbdump VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-2} @@ -55,7 +57,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/fcitx-mozc/fcitx-mozc.SlackBuild b/misc/fcitx-mozc/fcitx-mozc.SlackBuild index 7947fb193adc..d4ecb347bd95 100644 --- a/misc/fcitx-mozc/fcitx-mozc.SlackBuild +++ b/misc/fcitx-mozc/fcitx-mozc.SlackBuild @@ -22,6 +22,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fcitx-mozc VERSION=${VERSION:-2.17.2313.102.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/fcrackzip/fcrackzip.SlackBuild b/misc/fcrackzip/fcrackzip.SlackBuild index e6748b027fd4..596d922eb19a 100644 --- a/misc/fcrackzip/fcrackzip.SlackBuild +++ b/misc/fcrackzip/fcrackzip.SlackBuild @@ -19,6 +19,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fcrackzip VERSION=${VERSION:-1.0} BUILD=${BUILD:-2} @@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/figlet-contributed/figlet-contributed.SlackBuild b/misc/figlet-contributed/figlet-contributed.SlackBuild index 36832b154532..b473857796d8 100644 --- a/misc/figlet-contributed/figlet-contributed.SlackBuild +++ b/misc/figlet-contributed/figlet-contributed.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=figlet-contributed VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ FONTS="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/figlet-international/figlet-international.SlackBuild b/misc/figlet-international/figlet-international.SlackBuild index 5f40561d37a2..6f1323df1a60 100644 --- a/misc/figlet-international/figlet-international.SlackBuild +++ b/misc/figlet-international/figlet-international.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=figlet-international VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ FONTS="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild index 29e6357f449b..d47954f58d59 100644 --- a/misc/figlet/figlet.SlackBuild +++ b/misc/figlet/figlet.SlackBuild @@ -25,6 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF # YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=figlet VERSION=${VERSION:-2.2.5} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/flashrom/flashrom.SlackBuild b/misc/flashrom/flashrom.SlackBuild index d28021e28895..c4ad7ae7a46f 100644 --- a/misc/flashrom/flashrom.SlackBuild +++ b/misc/flashrom/flashrom.SlackBuild @@ -24,6 +24,8 @@ # Currently maintained by Robby Workman <rworkman@slackbuilds.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=flashrom VERSION=${VERSION:-v1.2} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/floating-IPS/floating-IPS.SlackBuild b/misc/floating-IPS/floating-IPS.SlackBuild index 7f5ca1f143ad..aadd5d05b6d0 100644 --- a/misc/floating-IPS/floating-IPS.SlackBuild +++ b/misc/floating-IPS/floating-IPS.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=floating-IPS ZIPNAM=${PRGNAM%%-*} VERSION=${VERSION:-1.31} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/font-unscii/font-unscii.SlackBuild b/misc/font-unscii/font-unscii.SlackBuild index 50acbc115313..a0a158ca4428 100644 --- a/misc/font-unscii/font-unscii.SlackBuild +++ b/misc/font-unscii/font-unscii.SlackBuild @@ -8,13 +8,14 @@ # 20210326 bkw: updated for v2.1, reflow README, new homepage/download +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=font-unscii VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/fribid/fribid.SlackBuild b/misc/fribid/fribid.SlackBuild index 29d787c0b6db..94800a5c7a1b 100644 --- a/misc/fribid/fribid.SlackBuild +++ b/misc/fribid/fribid.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fribid VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild index 7abadf598ad4..ca305fc3b637 100644 --- a/misc/funny-manpages/funny-manpages.SlackBuild +++ b/misc/funny-manpages/funny-manpages.SlackBuild @@ -23,6 +23,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=funny-manpages VERSION=${VERSION:-1.3.5} SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 ) @@ -32,7 +34,6 @@ ARCH=noarch BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/g15composer/g15composer.SlackBuild b/misc/g15composer/g15composer.SlackBuild index 5f80bddd7db3..d50292bfd469 100644 --- a/misc/g15composer/g15composer.SlackBuild +++ b/misc/g15composer/g15composer.SlackBuild @@ -24,6 +24,8 @@ # SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=g15composer VERSION=${VERSION:-3.2} BUILD=${BUILD:-1} @@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/g15daemon/g15daemon.SlackBuild b/misc/g15daemon/g15daemon.SlackBuild index 470062f803ee..165c695877d7 100644 --- a/misc/g15daemon/g15daemon.SlackBuild +++ b/misc/g15daemon/g15daemon.SlackBuild @@ -23,6 +23,8 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=g15daemon VERSION=${VERSION:-1.9.5.3} BUILD=${BUILD:-2} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/g15stats/g15stats.SlackBuild b/misc/g15stats/g15stats.SlackBuild index 3700eae6387a..65446df87569 100644 --- a/misc/g15stats/g15stats.SlackBuild +++ b/misc/g15stats/g15stats.SlackBuild @@ -23,6 +23,8 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=g15stats VERSION=${VERSION:-1.9.7} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/g810-led/g810-led.SlackBuild b/misc/g810-led/g810-led.SlackBuild index e2a5a7b3fd03..aa8427aef2de 100644 --- a/misc/g810-led/g810-led.SlackBuild +++ b/misc/g810-led/g810-led.SlackBuild @@ -20,6 +20,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=g810-led VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} @@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gcp/gcp.SlackBuild b/misc/gcp/gcp.SlackBuild index 79186407ea3b..6a2ff235bbfd 100644 --- a/misc/gcp/gcp.SlackBuild +++ b/misc/gcp/gcp.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gcp VERSION=${VERSION:-0.1.3} @@ -38,7 +40,6 @@ fi BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ghostpcl/ghostpcl.SlackBuild b/misc/ghostpcl/ghostpcl.SlackBuild index 9279a8db0976..6d002e7d2827 100644 --- a/misc/ghostpcl/ghostpcl.SlackBuild +++ b/misc/ghostpcl/ghostpcl.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ghostpcl SRCNAM=ghostpdl VERSION=${VERSION:-9.54.0} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/git-store-meta/git-store-meta.SlackBuild b/misc/git-store-meta/git-store-meta.SlackBuild index aa129836fd94..df9625079cd3 100644 --- a/misc/git-store-meta/git-store-meta.SlackBuild +++ b/misc/git-store-meta/git-store-meta.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=git-store-meta VERSION=${VERSION:-2.1.2} BUILD=${BUILD:-1} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/glogg/glogg.SlackBuild b/misc/glogg/glogg.SlackBuild index 8700b6a2357f..58f79036485a 100644 --- a/misc/glogg/glogg.SlackBuild +++ b/misc/glogg/glogg.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=glogg VERSION=${VERSION:-1.1.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gnome-mime-data/gnome-mime-data.SlackBuild b/misc/gnome-mime-data/gnome-mime-data.SlackBuild index 23469a11f28a..ffd8a487ea06 100644 --- a/misc/gnome-mime-data/gnome-mime-data.SlackBuild +++ b/misc/gnome-mime-data/gnome-mime-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gnome-mime-data VERSION=${VERSION:-2.18.0} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/go-md2man/go-md2man.SlackBuild b/misc/go-md2man/go-md2man.SlackBuild index 931a73db072f..6e9b8fe3d6c4 100644 --- a/misc/go-md2man/go-md2man.SlackBuild +++ b/misc/go-md2man/go-md2man.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=go-md2man VERSION=${VERSION:-1.0.8} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/goldencheetah/goldencheetah.SlackBuild b/misc/goldencheetah/goldencheetah.SlackBuild index 4dc80c6ee5f6..b41e911500f5 100644 --- a/misc/goldencheetah/goldencheetah.SlackBuild +++ b/misc/goldencheetah/goldencheetah.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=goldencheetah SRCNAM=GoldenCheetah VERSION=${VERSION:-3.5} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gourmet/gourmet.SlackBuild b/misc/gourmet/gourmet.SlackBuild index b3fb114bba59..6d23d23bd577 100644 --- a/misc/gourmet/gourmet.SlackBuild +++ b/misc/gourmet/gourmet.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gourmet VERSION=${VERSION:-0.17.4} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild index edbe46909594..ab3ccb95fba6 100644 --- a/misc/gprename/gprename.SlackBuild +++ b/misc/gprename/gprename.SlackBuild @@ -21,6 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gprename VERSION=${VERSION:-20190221} BUILD=${BUILD:-1} @@ -28,7 +30,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gr-iqbal/gr-iqbal.SlackBuild b/misc/gr-iqbal/gr-iqbal.SlackBuild index bef3ee24d91e..7799c829c381 100644 --- a/misc/gr-iqbal/gr-iqbal.SlackBuild +++ b/misc/gr-iqbal/gr-iqbal.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gr-iqbal VERSION=${VERSION:-2015.11.20} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/grabc/grabc.SlackBuild b/misc/grabc/grabc.SlackBuild index 0a5d6df19701..62c3a61a2363 100644 --- a/misc/grabc/grabc.SlackBuild +++ b/misc/grabc/grabc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=grabc VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild index e68c51204a3f..40a9b1b2626a 100644 --- a/misc/gramps/gramps.SlackBuild +++ b/misc/gramps/gramps.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gramps VERSION=${VERSION:-5.1.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/grc/grc.SlackBuild b/misc/grc/grc.SlackBuild index e97993fb7c99..d7588bd3d6e9 100644 --- a/misc/grc/grc.SlackBuild +++ b/misc/grc/grc.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="grc" VERSION=${VERSION:-1.11.3} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/gxmessage/gxmessage.SlackBuild b/misc/gxmessage/gxmessage.SlackBuild index 3a47b51b3747..47c8ab44ac0e 100644 --- a/misc/gxmessage/gxmessage.SlackBuild +++ b/misc/gxmessage/gxmessage.SlackBuild @@ -29,6 +29,8 @@ # Modified by the SlackBuilds.org project. # Modified by slakmagik +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gxmessage VERSION=${VERSION:-2.12.4} BUILD=${BUILD:-2} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/hashkill/hashkill.SlackBuild b/misc/hashkill/hashkill.SlackBuild index c4b873f5f080..0392472fdd13 100644 --- a/misc/hashkill/hashkill.SlackBuild +++ b/misc/hashkill/hashkill.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hashkill VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/heimdall/heimdall.SlackBuild b/misc/heimdall/heimdall.SlackBuild index e6682277a563..4dbcb2aec917 100644 --- a/misc/heimdall/heimdall.SlackBuild +++ b/misc/heimdall/heimdall.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=heimdall VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/heyu/heyu.SlackBuild b/misc/heyu/heyu.SlackBuild index b53ba56230b4..a85d610456d7 100644 --- a/misc/heyu/heyu.SlackBuild +++ b/misc/heyu/heyu.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=heyu VERSION=${VERSION:-2.10.2} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/hoorex/hoorex.SlackBuild b/misc/hoorex/hoorex.SlackBuild index 61925046618d..997fd9e4ce1e 100644 --- a/misc/hoorex/hoorex.SlackBuild +++ b/misc/hoorex/hoorex.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hoorex VERSION=${VERSION:-0.9.92} ARCH=${ARCH:-noarch} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/html-xml-utils/html-xml-utils.SlackBuild b/misc/html-xml-utils/html-xml-utils.SlackBuild index 63b9121dad9d..b8f72c8df810 100644 --- a/misc/html-xml-utils/html-xml-utils.SlackBuild +++ b/misc/html-xml-utils/html-xml-utils.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=html-xml-utils VERSION=${VERSION:-7.8} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/html2ps/html2ps.SlackBuild b/misc/html2ps/html2ps.SlackBuild index 5d5aa9ff1ce5..feaf753c1b17 100644 --- a/misc/html2ps/html2ps.SlackBuild +++ b/misc/html2ps/html2ps.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=html2ps VERSION=${VERSION:-1.0b7} BUILD=${BUILD:-3} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ibus-chewing/ibus-chewing.SlackBuild b/misc/ibus-chewing/ibus-chewing.SlackBuild index 68b013ef2922..5274c584b361 100644 --- a/misc/ibus-chewing/ibus-chewing.SlackBuild +++ b/misc/ibus-chewing/ibus-chewing.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ibus-chewing VERSION=${VERSION:-1.6.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ibus-qt/ibus-qt.SlackBuild b/misc/ibus-qt/ibus-qt.SlackBuild index 3ba7cc6c3cbe..03f4692c3ee3 100644 --- a/misc/ibus-qt/ibus-qt.SlackBuild +++ b/misc/ibus-qt/ibus-qt.SlackBuild @@ -24,6 +24,8 @@ # Originally written by Grissiom <chaos.proton@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ibus-qt VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ibus-skk/ibus-skk.SlackBuild b/misc/ibus-skk/ibus-skk.SlackBuild index 35e7b5c5dae9..99ab388a09c2 100644 --- a/misc/ibus-skk/ibus-skk.SlackBuild +++ b/misc/ibus-skk/ibus-skk.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ibus-skk VERSION=${VERSION:-1.3.9} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/igal2/igal2.SlackBuild b/misc/igal2/igal2.SlackBuild index 93118a09ef0b..39d0ab6e649c 100644 --- a/misc/igal2/igal2.SlackBuild +++ b/misc/igal2/igal2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=igal2 VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ SRCNAM=igal ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/iscan-firmware/iscan-firmware.SlackBuild b/misc/iscan-firmware/iscan-firmware.SlackBuild index 2a001bdcf363..b0087672b953 100644 --- a/misc/iscan-firmware/iscan-firmware.SlackBuild +++ b/misc/iscan-firmware/iscan-firmware.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=iscan-firmware VERSION=${VERSION:-2.8.0.1} RPMBUILD=72.1.1 # <-- This is the build number used by OpenSuSE in their RPM @@ -29,7 +31,6 @@ ARCH=noarch BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild b/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild index e235c85c561d..60d424af6542 100644 --- a/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild +++ b/misc/iscan-proprietary-drivers/iscan-proprietary-drivers.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=iscan-proprietary-drivers VERSION=${VERSION:-2.10.0.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/jmri/jmri.SlackBuild b/misc/jmri/jmri.SlackBuild index da12e8f44fc1..c5dcc5dc757b 100644 --- a/misc/jmri/jmri.SlackBuild +++ b/misc/jmri/jmri.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jmri VERSION=${VERSION:-4.22} REVISION=${REVISION:-R4c4384d74} @@ -41,7 +43,6 @@ TAG=${TAG:-_SBo} TARNAM=JMRI -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/kasumi/kasumi.SlackBuild b/misc/kasumi/kasumi.SlackBuild index 357f8097b325..eef3bd458265 100644 --- a/misc/kasumi/kasumi.SlackBuild +++ b/misc/kasumi/kasumi.SlackBuild @@ -3,6 +3,8 @@ #Slackbuild script for Kasumi #Written by Francisco Dalla Rosa Soares (dallarosa at gmail dot com) revision date 2009/06/12 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kasumi VERSION=${VERSION:-2.5} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/kde_cdemu/kde_cdemu.SlackBuild b/misc/kde_cdemu/kde_cdemu.SlackBuild index d65fb74779e4..ce1c5cafcc14 100644 --- a/misc/kde_cdemu/kde_cdemu.SlackBuild +++ b/misc/kde_cdemu/kde_cdemu.SlackBuild @@ -6,6 +6,8 @@ # Based on http://slackbuilds.org/template.SlackBuild +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kde_cdemu VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/keychain/keychain.SlackBuild b/misc/keychain/keychain.SlackBuild index ad834e47b65a..3b4e6ec38f8a 100644 --- a/misc/keychain/keychain.SlackBuild +++ b/misc/keychain/keychain.SlackBuild @@ -20,6 +20,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=keychain VERSION=${VERSION:-2.8.5} BUILD=${BUILD:-1} @@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/klibc/klibc.SlackBuild b/misc/klibc/klibc.SlackBuild index 5ef705e02cf0..a9a3d82be4dc 100644 --- a/misc/klibc/klibc.SlackBuild +++ b/misc/klibc/klibc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=klibc VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/kronometer/kronometer.SlackBuild b/misc/kronometer/kronometer.SlackBuild index 5b68660afa78..7fa91e005cf8 100644 --- a/misc/kronometer/kronometer.SlackBuild +++ b/misc/kronometer/kronometer.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kronometer VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/langdrill/langdrill.SlackBuild b/misc/langdrill/langdrill.SlackBuild index ca306e68a492..4e736b422930 100644 --- a/misc/langdrill/langdrill.SlackBuild +++ b/misc/langdrill/langdrill.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=langdrill VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/lastpass-cli/lastpass-cli.SlackBuild b/misc/lastpass-cli/lastpass-cli.SlackBuild index 74299e6cdc3e..4c15cbce0bfa 100644 --- a/misc/lastpass-cli/lastpass-cli.SlackBuild +++ b/misc/lastpass-cli/lastpass-cli.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lastpass-cli VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/lbdb/lbdb.SlackBuild b/misc/lbdb/lbdb.SlackBuild index 2ab8ccf0962e..1f169cfc4d59 100644 --- a/misc/lbdb/lbdb.SlackBuild +++ b/misc/lbdb/lbdb.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lbdb VERSION=${VERSION:-0.38} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/libydpdict/libydpdict.SlackBuild b/misc/libydpdict/libydpdict.SlackBuild index 1ff66383e7f0..167fddcdab03 100644 --- a/misc/libydpdict/libydpdict.SlackBuild +++ b/misc/libydpdict/libydpdict.SlackBuild @@ -5,6 +5,8 @@ # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=libydpdict VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} @@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/linux_logo/linux_logo.SlackBuild b/misc/linux_logo/linux_logo.SlackBuild index 9f9c45a97e01..16b375bee6e4 100644 --- a/misc/linux_logo/linux_logo.SlackBuild +++ b/misc/linux_logo/linux_logo.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=linux_logo VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/lppf/lppf.SlackBuild b/misc/lppf/lppf.SlackBuild index a0aa3867f1ef..8185f888b87b 100644 --- a/misc/lppf/lppf.SlackBuild +++ b/misc/lppf/lppf.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lppf VERSION=${VERSION:-0.1_rc1} SRCVER=$(echo $VERSION | tr _ -) @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ltunify/ltunify.SlackBuild b/misc/ltunify/ltunify.SlackBuild index c6fb45736ea8..aa13eea3e346 100644 --- a/misc/ltunify/ltunify.SlackBuild +++ b/misc/ltunify/ltunify.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ltunify VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/mdic/mdic.SlackBuild b/misc/mdic/mdic.SlackBuild index 942131875ef9..f9849904a172 100644 --- a/misc/mdic/mdic.SlackBuild +++ b/misc/mdic/mdic.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for Mdic dictionary #written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mdic VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-2} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) if [ "$TMP" = "" ]; then TMP=${TMP:-/tmp/SBo} fi diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild index fdbf73960f86..a5be50d76667 100644 --- a/misc/megatunix/megatunix.SlackBuild +++ b/misc/megatunix/megatunix.SlackBuild @@ -16,6 +16,8 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=megatunix VERSION=${VERSION:-0.9.23} BUILD=${BUILD:-2} @@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild b/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild index e2453a4a18f0..8a47d4c882fc 100644 --- a/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild +++ b/misc/moedict-desktop.app/moedict-desktop.app.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=moedict-desktop.app VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/moreutils/moreutils.SlackBuild b/misc/moreutils/moreutils.SlackBuild index 0e95e1e40e77..57a10d9a2e39 100644 --- a/misc/moreutils/moreutils.SlackBuild +++ b/misc/moreutils/moreutils.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=moreutils VERSION=${VERSION:-0.65} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild index d8b4d52d3039..ed19c324de6e 100644 --- a/misc/mosquitto/mosquitto.SlackBuild +++ b/misc/mosquitto/mosquitto.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mosquitto VERSION=${VERSION:-2.0.11} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/myclippings/myclippings.SlackBuild b/misc/myclippings/myclippings.SlackBuild index 6ff4c0891d12..d1451a1b0dfe 100644 --- a/misc/myclippings/myclippings.SlackBuild +++ b/misc/myclippings/myclippings.SlackBuild @@ -5,6 +5,8 @@ # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=myclippings VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -12,7 +14,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/nfoview/nfoview.SlackBuild b/misc/nfoview/nfoview.SlackBuild index 5842ce8fa517..193fa4ece14e 100644 --- a/misc/nfoview/nfoview.SlackBuild +++ b/misc/nfoview/nfoview.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nfoview VERSION=${VERSION:-1.9.5} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/no-more-secrets/no-more-secrets.SlackBuild b/misc/no-more-secrets/no-more-secrets.SlackBuild index 8fd716223610..309abf4714b0 100644 --- a/misc/no-more-secrets/no-more-secrets.SlackBuild +++ b/misc/no-more-secrets/no-more-secrets.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=no-more-secrets VERSION=${VERSION:-0.3.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/nvclock/nvclock.SlackBuild b/misc/nvclock/nvclock.SlackBuild index 1fae9de28aee..557ebbd1ac96 100644 --- a/misc/nvclock/nvclock.SlackBuild +++ b/misc/nvclock/nvclock.SlackBuild @@ -8,6 +8,8 @@ # If the use of SLKCFLAGS causes any problems, please let me know # ASAP so that I can remove them... +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nvclock VERSION=${VERSION:-0.8b4} BUILD=${BUILD:-2} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ophcrack/ophcrack.SlackBuild b/misc/ophcrack/ophcrack.SlackBuild index 88eeee378433..105b04c645c7 100644 --- a/misc/ophcrack/ophcrack.SlackBuild +++ b/misc/ophcrack/ophcrack.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for ophcrack # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ophcrack VERSION=${VERSION:-3.4.0} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/owfs/owfs.SlackBuild b/misc/owfs/owfs.SlackBuild index 598a7250a7e7..1b0216bfb68f 100644 --- a/misc/owfs/owfs.SlackBuild +++ b/misc/owfs/owfs.SlackBuild @@ -4,6 +4,8 @@ # Written by MrJackson mrjackson@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=owfs VERSION=${VERSION:-2.8p20} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/paperkey/paperkey.SlackBuild b/misc/paperkey/paperkey.SlackBuild index ac861c461893..283e8c81ce65 100644 --- a/misc/paperkey/paperkey.SlackBuild +++ b/misc/paperkey/paperkey.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=paperkey VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/par/par.SlackBuild b/misc/par/par.SlackBuild index 4b759fefef42..398e253ed4fd 100644 --- a/misc/par/par.SlackBuild +++ b/misc/par/par.SlackBuild @@ -13,6 +13,8 @@ # - various tweaks # - add default_env patch (see below) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=par SRCNAM=Par VERSION=${VERSION:-1.53.0} @@ -27,7 +29,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild index fc68e9d7bf9a..f499609f2581 100644 --- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild +++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for par2cmdline tbb # Written by powtrix (@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=par2cmdline-tbb VERSION=${VERSION:-0.4_20150503} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/par2cmdline/par2cmdline.SlackBuild b/misc/par2cmdline/par2cmdline.SlackBuild index 8f8fab646d2b..8c31895ea5e6 100644 --- a/misc/par2cmdline/par2cmdline.SlackBuild +++ b/misc/par2cmdline/par2cmdline.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=par2cmdline VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild index 0654648bf85a..14f3dc7a39a4 100644 --- a/misc/pinfo/pinfo.SlackBuild +++ b/misc/pinfo/pinfo.SlackBuild @@ -35,6 +35,8 @@ # - pinfo development moved to github, change homepage. # - add info dir entry in doinst.sh. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pinfo VERSION=${VERSION:-0.6.13} BUILD=${BUILD:-2} @@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/pmw/pmw.SlackBuild b/misc/pmw/pmw.SlackBuild index 5862e47f4106..e0742d112ab7 100644 --- a/misc/pmw/pmw.SlackBuild +++ b/misc/pmw/pmw.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pmw VERSION=${VERSION:-4.31} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild index 2c4286542d27..bd1dd7069849 100644 --- a/misc/po4a/po4a.SlackBuild +++ b/misc/po4a/po4a.SlackBuild @@ -26,6 +26,8 @@ # usually, run it like this e.g. # LC_ALL=en_US.utf8 ./po4a.SlackBuild +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=po4a VERSION=${VERSION:-0.63} BUILD=${BUILD:-1} @@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/portecle/portecle.SlackBuild b/misc/portecle/portecle.SlackBuild index 1336d1c39140..2ce970954750 100644 --- a/misc/portecle/portecle.SlackBuild +++ b/misc/portecle/portecle.SlackBuild @@ -4,6 +4,8 @@ # Petr Kletecka petr@kle.cz <2018> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=portecle VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} @@ -11,7 +13,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild index d1109dec7e5b..d83a2a4db16c 100644 --- a/misc/projectM/projectM.SlackBuild +++ b/misc/projectM/projectM.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=projectM VERSION=${VERSION:-3.1.7} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/protobuf/protobuf.SlackBuild b/misc/protobuf/protobuf.SlackBuild index 25819a0a99a2..807c7bbc7b3e 100644 --- a/misc/protobuf/protobuf.SlackBuild +++ b/misc/protobuf/protobuf.SlackBuild @@ -4,6 +4,8 @@ # Written by M.Dinslage (daedra1980@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=protobuf VERSION=${VERSION:-2.6.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild index 9da8520946a4..41c19643058d 100644 --- a/misc/protobuf3/protobuf3.SlackBuild +++ b/misc/protobuf3/protobuf3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=protobuf3 VERSION=${VERSION:-3.17.3} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/qtspell/qtspell.SlackBuild b/misc/qtspell/qtspell.SlackBuild index cccc0c245248..9ff538ed3a01 100644 --- a/misc/qtspell/qtspell.SlackBuild +++ b/misc/qtspell/qtspell.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qtspell VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ramdefrag/ramdefrag.SlackBuild b/misc/ramdefrag/ramdefrag.SlackBuild index 1b4ee4978a2e..d8e14fb92ec7 100644 --- a/misc/ramdefrag/ramdefrag.SlackBuild +++ b/misc/ramdefrag/ramdefrag.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ramdefrag VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild index d1921df64a43..c0e50c9c9fbb 100644 --- a/misc/rarcrack/rarcrack.SlackBuild +++ b/misc/rarcrack/rarcrack.SlackBuild @@ -32,6 +32,8 @@ # - actually use SLKCFLAGS # - use 'make install' +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rarcrack VERSION=${VERSION:-0.2} BUILD=${BUILD:-3} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/rbutil/rbutil.SlackBuild b/misc/rbutil/rbutil.SlackBuild index 277528c3dd9f..1bb8a7a4b25d 100644 --- a/misc/rbutil/rbutil.SlackBuild +++ b/misc/rbutil/rbutil.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rbutil SRCNAM=RockboxUtility VERSION=${VERSION:-1.4.1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM-$VERSION OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/readesm/readesm.SlackBuild b/misc/readesm/readesm.SlackBuild index d66c3687f8f9..e1b52b936965 100644 --- a/misc/readesm/readesm.SlackBuild +++ b/misc/readesm/readesm.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=readesm VERSION=${VERSION:-2011.12pre1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild index 6b27136c3b5f..c1e48f79b73e 100644 --- a/misc/recode/recode.SlackBuild +++ b/misc/recode/recode.SlackBuild @@ -30,6 +30,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=recode SRCNAM=Recode VERSION=${VERSION:-3.7_beta2} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild index a1224906eae7..b5bae24faa34 100644 --- a/misc/rlwrap/rlwrap.SlackBuild +++ b/misc/rlwrap/rlwrap.SlackBuild @@ -6,6 +6,8 @@ # Updated 2017,2021 by Andrew Clemons, Wellington New Zealand # Released under the WTFPL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rlwrap VERSION=${VERSION:-0.45.2} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/rsibreak/rsibreak.SlackBuild b/misc/rsibreak/rsibreak.SlackBuild index b1cc44fa94af..c316010acded 100644 --- a/misc/rsibreak/rsibreak.SlackBuild +++ b/misc/rsibreak/rsibreak.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rsibreak VERSION=${VERSION:-0.12.13} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/rsnapshot/rsnapshot.SlackBuild b/misc/rsnapshot/rsnapshot.SlackBuild index b42ccc78a1d2..ff2e9486965b 100644 --- a/misc/rsnapshot/rsnapshot.SlackBuild +++ b/misc/rsnapshot/rsnapshot.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rsnapshot VERSION=${VERSION:-1.4.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/samdump2/samdump2.SlackBuild b/misc/samdump2/samdump2.SlackBuild index 0de3bb556915..289fff12e668 100644 --- a/misc/samdump2/samdump2.SlackBuild +++ b/misc/samdump2/samdump2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=samdump2 VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sbo-templates/sbo-templates.SlackBuild b/misc/sbo-templates/sbo-templates.SlackBuild index 15dce564a5c3..637f3217ec52 100644 --- a/misc/sbo-templates/sbo-templates.SlackBuild +++ b/misc/sbo-templates/sbo-templates.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sbo-templates VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/scim-chewing/scim-chewing.SlackBuild b/misc/scim-chewing/scim-chewing.SlackBuild index 70138092a996..3306e69d99ae 100644 --- a/misc/scim-chewing/scim-chewing.SlackBuild +++ b/misc/scim-chewing/scim-chewing.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=scim-chewing VERSION=${VERSION:-0.3.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sdcv/sdcv.SlackBuild b/misc/sdcv/sdcv.SlackBuild index e5bfce88b184..86c1d8258f01 100644 --- a/misc/sdcv/sdcv.SlackBuild +++ b/misc/sdcv/sdcv.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sdcv VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/seahorse-plugins/seahorse-plugins.SlackBuild b/misc/seahorse-plugins/seahorse-plugins.SlackBuild index 55cb3bb4a021..8a6b369a5bf3 100644 --- a/misc/seahorse-plugins/seahorse-plugins.SlackBuild +++ b/misc/seahorse-plugins/seahorse-plugins.SlackBuild @@ -4,6 +4,8 @@ # Written by Andrew Rowland <darowland@ieee.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM='seahorse-plugins' VERSION=${VERSION:-20150521_3781393eac} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sgrep/sgrep.SlackBuild b/misc/sgrep/sgrep.SlackBuild index 6ccc4c02b476..b5ce1f30542e 100644 --- a/misc/sgrep/sgrep.SlackBuild +++ b/misc/sgrep/sgrep.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sgrep VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild index e35b24531c67..7a9c3b27a425 100644 --- a/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild +++ b/misc/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw.SlackBuild @@ -22,12 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sigrok-firmware-fx2lafw VERSION=${VERSION:-0.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/slop/slop.SlackBuild b/misc/slop/slop.SlackBuild index ad335c1efc2e..2f636a48ab38 100644 --- a/misc/slop/slop.SlackBuild +++ b/misc/slop/slop.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=slop VERSION=${VERSION:-7.5} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/snow/snow.SlackBuild b/misc/snow/snow.SlackBuild index 8b6a59def623..6682bb2e376b 100644 --- a/misc/snow/snow.SlackBuild +++ b/misc/snow/snow.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=snow VERSION=${VERSION:-20130616} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/solunar/solunar.SlackBuild b/misc/solunar/solunar.SlackBuild index 014d83cdd5d2..18d88ebc1ebb 100644 --- a/misc/solunar/solunar.SlackBuild +++ b/misc/solunar/solunar.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for solunar # Written by Cezary M. Kruk (c.kruk@bigfoot.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=solunar VERSION=${VERSION:-0.1.0} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/spotlighter/spotlighter.SlackBuild b/misc/spotlighter/spotlighter.SlackBuild index b4939d6ae853..12e6a44c7177 100644 --- a/misc/spotlighter/spotlighter.SlackBuild +++ b/misc/spotlighter/spotlighter.SlackBuild @@ -6,6 +6,8 @@ # Public Domain +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=spotlighter VERSION=${VERSION:-0.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ssss/ssss.SlackBuild b/misc/ssss/ssss.SlackBuild index bf85f527d763..1cb62f768578 100644 --- a/misc/ssss/ssss.SlackBuild +++ b/misc/ssss/ssss.SlackBuild @@ -26,6 +26,8 @@ # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2011 Apr 07 - initial release +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ssss VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} @@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/stardict-tools/stardict-tools.SlackBuild b/misc/stardict-tools/stardict-tools.SlackBuild index a994cee8f555..67dbae136344 100644 --- a/misc/stardict-tools/stardict-tools.SlackBuild +++ b/misc/stardict-tools/stardict-tools.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for stardict-tools # Written by Cezary M. Kruk (c.kruk@bigfoot.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stardict-tools VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/stardict/stardict.SlackBuild b/misc/stardict/stardict.SlackBuild index a29e0d78e79b..45e75d81d952 100644 --- a/misc/stardict/stardict.SlackBuild +++ b/misc/stardict/stardict.SlackBuild @@ -24,6 +24,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stardict VERSION=${VERSION:-3.0.6} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/subsurface/subsurface.SlackBuild b/misc/subsurface/subsurface.SlackBuild index 9af35068e6e1..5103d5288731 100644 --- a/misc/subsurface/subsurface.SlackBuild +++ b/misc/subsurface/subsurface.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=subsurface SRCNAM=Subsurface VERSION=${VERSION:-4.9.3} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sunwait/sunwait.SlackBuild b/misc/sunwait/sunwait.SlackBuild index dab9f605da46..593d0963fd8e 100644 --- a/misc/sunwait/sunwait.SlackBuild +++ b/misc/sunwait/sunwait.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sunwait VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/sutils/sutils.SlackBuild b/misc/sutils/sutils.SlackBuild index 69cba526a429..8d8122739161 100644 --- a/misc/sutils/sutils.SlackBuild +++ b/misc/sutils/sutils.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sutils VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/tal/tal.SlackBuild b/misc/tal/tal.SlackBuild index 91fc939bf3eb..443078001ec1 100644 --- a/misc/tal/tal.SlackBuild +++ b/misc/tal/tal.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tal VERSION=${VERSION:-1.9} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild b/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild index 1bdfbd3c620b..02448f4d56ed 100644 --- a/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild +++ b/misc/tegaki-zinnia-japanese/tegaki-zinnia-japanese.SlackBuild @@ -23,6 +23,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tegaki-zinnia-japanese VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/tidyp/tidyp.SlackBuild b/misc/tidyp/tidyp.SlackBuild index 371b42681b38..911088e9bcc6 100644 --- a/misc/tidyp/tidyp.SlackBuild +++ b/misc/tidyp/tidyp.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tidyp VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/toilet/toilet.SlackBuild b/misc/toilet/toilet.SlackBuild index aef0a5987e6e..1abe200c6a75 100644 --- a/misc/toilet/toilet.SlackBuild +++ b/misc/toilet/toilet.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=toilet VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/torrentinfo/torrentinfo.SlackBuild b/misc/torrentinfo/torrentinfo.SlackBuild index b27b91b68048..b03efb4e50d5 100644 --- a/misc/torrentinfo/torrentinfo.SlackBuild +++ b/misc/torrentinfo/torrentinfo.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=torrentinfo VERSION=${VERSION:-1.8.6} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/twa/twa.SlackBuild b/misc/twa/twa.SlackBuild index 3c934d1adf7e..9e9fe9c79ff4 100644 --- a/misc/twa/twa.SlackBuild +++ b/misc/twa/twa.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=twa VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/txt2regex/txt2regex.SlackBuild b/misc/txt2regex/txt2regex.SlackBuild index 4934fb4c1a45..43e8ac86054f 100644 --- a/misc/txt2regex/txt2regex.SlackBuild +++ b/misc/txt2regex/txt2regex.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=txt2regex VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/txt2tags/txt2tags.SlackBuild b/misc/txt2tags/txt2tags.SlackBuild index 564d8725a1fa..c9a0ef67c218 100644 --- a/misc/txt2tags/txt2tags.SlackBuild +++ b/misc/txt2tags/txt2tags.SlackBuild @@ -18,6 +18,8 @@ # # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=txt2tags VERSION=${VERSION:-r1172} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild index 5f5af7643555..fe4bed04d196 100644 --- a/misc/uni2ascii/uni2ascii.SlackBuild +++ b/misc/uni2ascii/uni2ascii.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for uni2ascii # Written by Oleg O. Chukaev <oleg.chukaev@mail.ru> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uni2ascii VERSION=${VERSION:-4.18} BUILD=${BUILD:-2} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/utimer/utimer.SlackBuild b/misc/utimer/utimer.SlackBuild index c98e173f1923..e92c57661514 100644 --- a/misc/utimer/utimer.SlackBuild +++ b/misc/utimer/utimer.SlackBuild @@ -4,6 +4,8 @@ # Written by Fah G. Ka (fgk@sdfeu.org) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=utimer VERSION=${VERSION:-0.4} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/vdpauinfo/vdpauinfo.SlackBuild b/misc/vdpauinfo/vdpauinfo.SlackBuild index 6740d8ac3e5c..118c26fc9a21 100644 --- a/misc/vdpauinfo/vdpauinfo.SlackBuild +++ b/misc/vdpauinfo/vdpauinfo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vdpauinfo VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/vttest/vttest.SlackBuild b/misc/vttest/vttest.SlackBuild index 8473dcabb928..91cf9a350e34 100644 --- a/misc/vttest/vttest.SlackBuild +++ b/misc/vttest/vttest.SlackBuild @@ -13,6 +13,8 @@ # 20180920 bkw: update for 2.7.20180911 (whoops!). # 20180915 bkw: update for 2.7.20180811. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vttest VERSION=${VERSION:-2.7.20210210} BUILD=${BUILD:-1} @@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild index 3d6f65e7f0c8..a68609e49745 100644 --- a/misc/wcd/wcd.SlackBuild +++ b/misc/wcd/wcd.SlackBuild @@ -30,6 +30,8 @@ # 20171219 bkw: updated for v6.0.1. also, add /etc/profile.d scripts # so wcd actually *works*. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wcd VERSION=${VERSION:-6.0.3} BUILD=${BUILD:-1} @@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/weather/weather.SlackBuild b/misc/weather/weather.SlackBuild index f45c4150d82a..7b825189c615 100644 --- a/misc/weather/weather.SlackBuild +++ b/misc/weather/weather.SlackBuild @@ -10,6 +10,8 @@ # +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=weather VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/with-readline/with-readline.SlackBuild b/misc/with-readline/with-readline.SlackBuild index 670a3dfaf084..931258676cfd 100644 --- a/misc/with-readline/with-readline.SlackBuild +++ b/misc/with-readline/with-readline.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=with-readline VERSION=${VERSION:-0.1.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild b/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild index 5e480b322d17..75d7d79a10e0 100644 --- a/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild +++ b/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wkhtmltopdf VERSION=${VERSION:-0.12.6} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/wkhtmltox/wkhtmltox.SlackBuild b/misc/wkhtmltox/wkhtmltox.SlackBuild index d79195f01acf..509876aa9148 100644 --- a/misc/wkhtmltox/wkhtmltox.SlackBuild +++ b/misc/wkhtmltox/wkhtmltox.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wkhtmltox VERSION=${VERSION:-0.12.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/wmbday/wmbday.SlackBuild b/misc/wmbday/wmbday.SlackBuild index b539ec08f799..cc7a813d5763 100644 --- a/misc/wmbday/wmbday.SlackBuild +++ b/misc/wmbday/wmbday.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wmbday VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xapian-omega/xapian-omega.SlackBuild b/misc/xapian-omega/xapian-omega.SlackBuild index 25c921d75764..04de0e1701a3 100644 --- a/misc/xapian-omega/xapian-omega.SlackBuild +++ b/misc/xapian-omega/xapian-omega.SlackBuild @@ -25,6 +25,8 @@ # Based on 1.2.4 version on which Robby Workman <rworkman@slackbuilds.org> # gave much help +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xapian-omega VERSION=${VERSION:-1.2.12} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xbanish/xbanish.SlackBuild b/misc/xbanish/xbanish.SlackBuild index c33618f120f6..1b439fbf6e4a 100644 --- a/misc/xbanish/xbanish.SlackBuild +++ b/misc/xbanish/xbanish.SlackBuild @@ -35,6 +35,8 @@ # - i486 => i586 # - use proper github download URL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xbanish VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} @@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xca/xca.SlackBuild b/misc/xca/xca.SlackBuild index 9433711fb564..a09405cb9b70 100644 --- a/misc/xca/xca.SlackBuild +++ b/misc/xca/xca.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xca VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xcape/xcape.SlackBuild b/misc/xcape/xcape.SlackBuild index 142177a820cd..4af2b6bb13df 100644 --- a/misc/xcape/xcape.SlackBuild +++ b/misc/xcape/xcape.SlackBuild @@ -4,6 +4,8 @@ # Maintained as of version 1.1 by SGMART <slackmart@gmail.com> # revision date: 2014/12/31 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xcape VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xclip/xclip.SlackBuild b/misc/xclip/xclip.SlackBuild index 3ac43409f256..af1337756d45 100644 --- a/misc/xclip/xclip.SlackBuild +++ b/misc/xclip/xclip.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xclip VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xdelta/xdelta.SlackBuild b/misc/xdelta/xdelta.SlackBuild index 596212b1e7e6..eb79144cfc73 100644 --- a/misc/xdelta/xdelta.SlackBuild +++ b/misc/xdelta/xdelta.SlackBuild @@ -4,6 +4,8 @@ # Written by Dario Nicodemi dario.sbo@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xdelta VERSION=${VERSION:-1.1.4} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xdelta3/xdelta3.SlackBuild b/misc/xdelta3/xdelta3.SlackBuild index d6bba0504f69..93a9df510ade 100644 --- a/misc/xdelta3/xdelta3.SlackBuild +++ b/misc/xdelta3/xdelta3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xdelta3 SRCNAM=${PRGNAM%3} VERSION=${VERSION:-3.1.0} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xvnkb/xvnkb.SlackBuild b/misc/xvnkb/xvnkb.SlackBuild index 24ee798611b1..35aea3989cf4 100644 --- a/misc/xvnkb/xvnkb.SlackBuild +++ b/misc/xvnkb/xvnkb.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xvnkb VERSION=${VERSION:-0.2.11} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/xwinwrap/xwinwrap.SlackBuild b/misc/xwinwrap/xwinwrap.SlackBuild index f6a2fb8497ad..262ef2f90003 100644 --- a/misc/xwinwrap/xwinwrap.SlackBuild +++ b/misc/xwinwrap/xwinwrap.SlackBuild @@ -22,12 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xwinwrap VERSION=${VERSION:-0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/yapet/yapet.SlackBuild b/misc/yapet/yapet.SlackBuild index 4765d24dc6e9..6b0e5b7168be 100644 --- a/misc/yapet/yapet.SlackBuild +++ b/misc/yapet/yapet.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yapet VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/yara/yara.SlackBuild b/misc/yara/yara.SlackBuild index 838bdaa62690..c61842ddea33 100644 --- a/misc/yara/yara.SlackBuild +++ b/misc/yara/yara.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yara VERSION=${VERSION:-3.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ydpdict/ydpdict.SlackBuild b/misc/ydpdict/ydpdict.SlackBuild index eaa2b2ade175..87113c335ae3 100644 --- a/misc/ydpdict/ydpdict.SlackBuild +++ b/misc/ydpdict/ydpdict.SlackBuild @@ -5,6 +5,8 @@ # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ydpdict VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} @@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/ykpers/ykpers.SlackBuild b/misc/ykpers/ykpers.SlackBuild index 26c93444f9ff..a79d8afd5c2a 100644 --- a/misc/ykpers/ykpers.SlackBuild +++ b/misc/ykpers/ykpers.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ykpers VERSION=${VERSION:-1.20.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild b/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild index cf7474b33a8a..46c4dfac3bf0 100644 --- a/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild +++ b/misc/yubikey-personalization-gui/yubikey-personalization-gui.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yubikey-personalization-gui VERSION=${VERSION:-3.1.25} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/yubioath-desktop/yubioath-desktop.SlackBuild b/misc/yubioath-desktop/yubioath-desktop.SlackBuild index 9b71c8459a60..5af99acad7ed 100644 --- a/misc/yubioath-desktop/yubioath-desktop.SlackBuild +++ b/misc/yubioath-desktop/yubioath-desktop.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yubioath-desktop VERSION=${VERSION:-5.0.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/misc/zinnia/zinnia.SlackBuild b/misc/zinnia/zinnia.SlackBuild index 7b5de6296c13..bc3f5cff4056 100644 --- a/misc/zinnia/zinnia.SlackBuild +++ b/misc/zinnia/zinnia.SlackBuild @@ -23,6 +23,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zinnia VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |