aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/CherryTree/CherryTree.SlackBuild3
-rw-r--r--office/FreeOffice/FreeOffice.SlackBuild3
-rw-r--r--office/JabRef/JabRef.SlackBuild3
-rw-r--r--office/LanguageTool/LanguageTool.SlackBuild3
-rw-r--r--office/LibreOffice/LibreOffice.SlackBuild3
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild3
-rw-r--r--office/NME/NME.SlackBuild3
-rw-r--r--office/ProjectLibre/ProjectLibre.SlackBuild3
-rw-r--r--office/ReText/ReText.SlackBuild3
-rw-r--r--office/SOGo/SOGo.SlackBuild3
-rw-r--r--office/TaskCoach/TaskCoach.SlackBuild3
-rw-r--r--office/Ted/Ted.SlackBuild3
-rw-r--r--office/abiword/abiword.SlackBuild3
-rw-r--r--office/abook/abook.SlackBuild3
-rw-r--r--office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild3
-rw-r--r--office/adobe-reader/adobe-reader.SlackBuild3
-rw-r--r--office/aigaion/aigaion.SlackBuild3
-rw-r--r--office/aiksaurus/aiksaurus.SlackBuild3
-rw-r--r--office/anorack/anorack.SlackBuild3
-rw-r--r--office/antiword/antiword.SlackBuild3
-rw-r--r--office/apvlv/apvlv.SlackBuild3
-rw-r--r--office/asymptote/asymptote.SlackBuild3
-rw-r--r--office/basket/basket.SlackBuild3
-rw-r--r--office/beaver/beaver.SlackBuild3
-rw-r--r--office/bibtex2html/bibtex2html.SlackBuild3
-rw-r--r--office/bibutils/bibutils.SlackBuild3
-rw-r--r--office/bookbinder/bookbinder.SlackBuild3
-rw-r--r--office/briss/briss.SlackBuild3
-rw-r--r--office/broffice.org/broffice.org.SlackBuild3
-rw-r--r--office/calcurse/calcurse.SlackBuild3
-rw-r--r--office/calibre-bin/calibre-bin.SlackBuild3
-rw-r--r--office/calibre/calibre.SlackBuild3
-rw-r--r--office/catdoc/catdoc.SlackBuild3
-rw-r--r--office/ccal/ccal.SlackBuild3
-rw-r--r--office/convertlit/convertlit.SlackBuild3
-rw-r--r--office/coolreader/coolreader.SlackBuild3
-rw-r--r--office/cups-pdf/cups-pdf.SlackBuild3
-rw-r--r--office/devtodo/devtodo.SlackBuild3
-rw-r--r--office/dictd/dictd.SlackBuild3
-rw-r--r--office/diction/diction.SlackBuild3
-rw-r--r--office/diffpdf/diffpdf.SlackBuild3
-rw-r--r--office/ding/ding.SlackBuild3
-rw-r--r--office/djvusmooth/djvusmooth.SlackBuild3
-rw-r--r--office/docx2txt/docx2txt.SlackBuild3
-rw-r--r--office/elyxer/elyxer.SlackBuild3
-rw-r--r--office/enpass/enpass.SlackBuild3
-rw-r--r--office/epdfview/epdfview.SlackBuild3
-rw-r--r--office/etmtk/etmtk.SlackBuild3
-rw-r--r--office/evince/evince.SlackBuild3
-rw-r--r--office/extractpdfmark/extractpdfmark.SlackBuild3
-rw-r--r--office/fbpdf/fbpdf.SlackBuild3
-rw-r--r--office/fbreader/fbreader.SlackBuild3
-rw-r--r--office/flowkeeper/flowkeeper.SlackBuild3
-rw-r--r--office/focuswriter-legacy/focuswriter-legacy.SlackBuild3
-rw-r--r--office/focuswriter/focuswriter.SlackBuild3
-rw-r--r--office/fop-legacy/fop-legacy.SlackBuild3
-rw-r--r--office/fop/fop.SlackBuild3
-rw-r--r--office/freemind/freemind.SlackBuild3
-rw-r--r--office/full-pack/full-pack.SlackBuild3
-rw-r--r--office/ganttproject/ganttproject.SlackBuild3
-rw-r--r--office/gbgoffice/gbgoffice.SlackBuild3
-rw-r--r--office/gcal/gcal.SlackBuild3
-rw-r--r--office/ghostwriter/ghostwriter.SlackBuild3
-rw-r--r--office/gnokii/gnokii.SlackBuild3
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild3
-rw-r--r--office/gnucash/gnucash.SlackBuild3
-rw-r--r--office/gnumeric/gnumeric.SlackBuild3
-rw-r--r--office/gocr/gocr.SlackBuild3
-rw-r--r--office/goldendict/goldendict.SlackBuild3
-rw-r--r--office/grisbi/grisbi.SlackBuild3
-rw-r--r--office/gummi/gummi.SlackBuild3
-rw-r--r--office/hamster/hamster.SlackBuild3
-rw-r--r--office/hebcal/hebcal.SlackBuild3
-rw-r--r--office/hevea/hevea.SlackBuild3
-rw-r--r--office/homebank/homebank.SlackBuild3
-rw-r--r--office/htmldoc/htmldoc.SlackBuild3
-rw-r--r--office/hunspell-de/hunspell-de.SlackBuild3
-rw-r--r--office/hunspell-en/hunspell-en.SlackBuild3
-rw-r--r--office/hunspell-es/hunspell-es.SlackBuild3
-rw-r--r--office/hunspell-id/hunspell-id.SlackBuild3
-rw-r--r--office/hunspell-pl/hunspell-pl.SlackBuild3
-rw-r--r--office/hyphen-id/hyphen-id.SlackBuild3
-rw-r--r--office/impressive/impressive.SlackBuild3
-rw-r--r--office/jpdfbookmarks/jpdfbookmarks.SlackBuild3
-rw-r--r--office/jstock/jstock.SlackBuild3
-rw-r--r--office/kate-latex-plugin/kate-latex-plugin.SlackBuild3
-rw-r--r--office/kbbi-qt/kbbi-qt.SlackBuild3
-rw-r--r--office/kbgoffice/kbgoffice.SlackBuild3
-rw-r--r--office/kbibtex/kbibtex.SlackBuild3
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.SlackBuild3
-rw-r--r--office/kchmviewer/kchmviewer.SlackBuild3
-rw-r--r--office/keepassx/keepassx.SlackBuild3
-rw-r--r--office/keepassxc/keepassxc.SlackBuild3
-rw-r--r--office/keepnote/keepnote.SlackBuild3
-rw-r--r--office/krop/krop.SlackBuild3
-rw-r--r--office/latex2rtf/latex2rtf.SlackBuild3
-rw-r--r--office/latexdiff/latexdiff.SlackBuild3
-rw-r--r--office/lcal/lcal.SlackBuild3
-rw-r--r--office/leafpad/leafpad.SlackBuild3
-rw-r--r--office/libreoffice-helppack/libreoffice-helppack.SlackBuild3
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.SlackBuild3
-rw-r--r--office/libreoffice/libreoffice.SlackBuild3
-rw-r--r--office/lout/lout.SlackBuild3
-rw-r--r--office/lowdown/lowdown.SlackBuild3
-rw-r--r--office/lumina-calculator/lumina-calculator.SlackBuild3
-rw-r--r--office/lumina-pdf/lumina-pdf.SlackBuild3
-rw-r--r--office/lyx/lyx.SlackBuild3
-rw-r--r--office/mairix/mairix.SlackBuild3
-rw-r--r--office/marave/marave.SlackBuild3
-rw-r--r--office/mate-calc/mate-calc.SlackBuild3
-rw-r--r--office/mathtex/mathtex.SlackBuild3
-rw-r--r--office/mdbtools/mdbtools.SlackBuild3
-rw-r--r--office/mdp/mdp.SlackBuild3
-rw-r--r--office/mined/mined.SlackBuild3
-rw-r--r--office/minidjvu/minidjvu.SlackBuild3
-rw-r--r--office/mobiperl/mobiperl.SlackBuild3
-rw-r--r--office/moneydance/moneydance.SlackBuild3
-rw-r--r--office/msee/msee.SlackBuild3
-rw-r--r--office/mtp2-fonts/mtp2-fonts.SlackBuild3
-rw-r--r--office/mu/mu.SlackBuild3
-rw-r--r--office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild3
-rw-r--r--office/mupdf-legacy/mupdf-legacy.SlackBuild3
-rw-r--r--office/mupdf/mupdf.SlackBuild3
-rw-r--r--office/muttprint/muttprint.SlackBuild3
-rw-r--r--office/mytetra/mytetra.SlackBuild3
-rw-r--r--office/mythes-id/mythes-id.SlackBuild3
-rw-r--r--office/mythes/mythes.SlackBuild3
-rw-r--r--office/neoleo/neoleo.SlackBuild3
-rw-r--r--office/notmuch/notmuch.SlackBuild3
-rw-r--r--office/nts/nts.SlackBuild3
-rw-r--r--office/odt2txt/odt2txt.SlackBuild3
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild3
-rw-r--r--office/openoffice-langpack/openoffice-langpack.SlackBuild3
-rw-r--r--office/openoffice.org/openoffice.org.SlackBuild3
-rw-r--r--office/osmo/osmo.SlackBuild3
-rw-r--r--office/pandoc-bin/pandoc-bin.SlackBuild3
-rw-r--r--office/pandoc/pandoc.SlackBuild3
-rw-r--r--office/paps/paps.SlackBuild3
-rw-r--r--office/pcal/pcal.SlackBuild3
-rw-r--r--office/pdf2djvu/pdf2djvu.SlackBuild3
-rw-r--r--office/pdfchain/pdfchain.SlackBuild3
-rw-r--r--office/pdfpc/pdfpc.SlackBuild3
-rw-r--r--office/pdfshuffler/pdfshuffler.SlackBuild3
-rw-r--r--office/pdfstudio/pdfstudio.SlackBuild3
-rw-r--r--office/pdfstudioviewer/pdfstudioviewer.SlackBuild3
-rw-r--r--office/pdftk/pdftk.SlackBuild3
-rw-r--r--office/plover/plover.SlackBuild3
-rw-r--r--office/ps2eps/ps2eps.SlackBuild3
-rw-r--r--office/pstoedit/pstoedit.SlackBuild3
-rw-r--r--office/pstotext/pstotext.SlackBuild3
-rw-r--r--office/pyspread/pyspread.SlackBuild3
-rw-r--r--office/python-gcalcli/python-gcalcli.SlackBuild3
-rw-r--r--office/qpdfview-qt5/qpdfview-qt5.SlackBuild3
-rw-r--r--office/qpdfview/qpdfview.SlackBuild3
-rw-r--r--office/qute/qute.SlackBuild3
-rw-r--r--office/re-typeset/re-typeset.SlackBuild3
-rw-r--r--office/referencer/referencer.SlackBuild3
-rw-r--r--office/remind/remind.SlackBuild3
-rw-r--r--office/scribus/scribus.SlackBuild3
-rw-r--r--office/siag/siag.SlackBuild3
-rw-r--r--office/sigil/sigil.SlackBuild3
-rw-r--r--office/smoffice2016/smoffice2016.SlackBuild3
-rw-r--r--office/smoffice2018/smoffice2018.SlackBuild3
-rw-r--r--office/smoffice2021/smoffice2021.SlackBuild3
-rw-r--r--office/sofastats/sofastats.SlackBuild3
-rw-r--r--office/t-prot/t-prot.SlackBuild3
-rw-r--r--office/task/task.SlackBuild3
-rw-r--r--office/taskd/taskd.SlackBuild3
-rw-r--r--office/taskjuggler/taskjuggler.SlackBuild3
-rw-r--r--office/taskopen/taskopen.SlackBuild3
-rw-r--r--office/tasksh/tasksh.SlackBuild3
-rw-r--r--office/teams-for-linux/teams-for-linux.SlackBuild3
-rw-r--r--office/teapot/teapot.SlackBuild3
-rw-r--r--office/tellico/tellico.SlackBuild3
-rw-r--r--office/texlive-docs/texlive-docs.SlackBuild3
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild3
-rw-r--r--office/texmacs/texmacs.SlackBuild3
-rw-r--r--office/texmaker/texmaker.SlackBuild3
-rw-r--r--office/texstudio/texstudio.SlackBuild3
-rw-r--r--office/text2pdf/text2pdf.SlackBuild3
-rw-r--r--office/texworks/texworks.SlackBuild3
-rw-r--r--office/timetrap/timetrap.SlackBuild3
-rw-r--r--office/timew/timew.SlackBuild3
-rw-r--r--office/tnote/tnote.SlackBuild3
-rw-r--r--office/todo.txt-cli/todo.txt-cli.SlackBuild3
-rw-r--r--office/tpp/tpp.SlackBuild3
-rw-r--r--office/traduisons/traduisons.SlackBuild3
-rw-r--r--office/treesheets/treesheets.SlackBuild3
-rw-r--r--office/trelby/trelby.SlackBuild3
-rw-r--r--office/trello-cli/trello-cli.SlackBuild3
-rw-r--r--office/tudu/tudu.SlackBuild3
-rw-r--r--office/turtl/turtl.SlackBuild3
-rw-r--r--office/uncsv/uncsv.SlackBuild3
-rw-r--r--office/unoconv/unoconv.SlackBuild3
-rw-r--r--office/verbiste/verbiste.SlackBuild3
-rw-r--r--office/vlna/vlna.SlackBuild3
-rw-r--r--office/vmd/vmd.SlackBuild3
-rw-r--r--office/vym/vym.SlackBuild3
-rw-r--r--office/wammu/wammu.SlackBuild3
-rw-r--r--office/watson/watson.SlackBuild3
-rw-r--r--office/when/when.SlackBuild3
-rw-r--r--office/wink/wink.SlackBuild3
-rw-r--r--office/wordgrinder/wordgrinder.SlackBuild3
-rw-r--r--office/wps-office/wps-office.SlackBuild3
-rw-r--r--office/wyrd/wyrd.SlackBuild3
-rw-r--r--office/x_x/x_x.SlackBuild3
-rw-r--r--office/xlsx2csv/xlsx2csv.SlackBuild3
-rw-r--r--office/xmind/xmind.SlackBuild3
-rw-r--r--office/xournal/xournal.SlackBuild3
-rw-r--r--office/xournalpp/xournalpp.SlackBuild3
-rw-r--r--office/xpad/xpad.SlackBuild3
-rw-r--r--office/xreader/xreader.SlackBuild3
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild3
-rw-r--r--office/zathura-cb/zathura-cb.SlackBuild3
-rw-r--r--office/zathura-djvu/zathura-djvu.SlackBuild3
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild3
-rw-r--r--office/zathura-ps/zathura-ps.SlackBuild3
-rw-r--r--office/zathura/zathura.SlackBuild3
-rw-r--r--office/zim/zim.SlackBuild3
219 files changed, 438 insertions, 219 deletions
diff --git a/office/CherryTree/CherryTree.SlackBuild b/office/CherryTree/CherryTree.SlackBuild
index bc5769e5785f1..fe27537ddb187 100644
--- a/office/CherryTree/CherryTree.SlackBuild
+++ b/office/CherryTree/CherryTree.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CherryTree
SRCNAM=${PRGNAM,,}
VERSION=${VERSION:-0.39.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/office/FreeOffice/FreeOffice.SlackBuild b/office/FreeOffice/FreeOffice.SlackBuild
index 847ece1976e40..6f908e9511155 100644
--- a/office/FreeOffice/FreeOffice.SlackBuild
+++ b/office/FreeOffice/FreeOffice.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeOffice
SRCNAM=softmaker-${PRGNAM,,}
VERSION=${VERSION:-2018_978}
@@ -60,7 +62,6 @@ else
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild
index 07875c39978d5..e891245b36d62 100644
--- a/office/JabRef/JabRef.SlackBuild
+++ b/office/JabRef/JabRef.SlackBuild
@@ -24,12 +24,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=JabRef
VERSION=${VERSION:-5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/LanguageTool/LanguageTool.SlackBuild b/office/LanguageTool/LanguageTool.SlackBuild
index 75963f82ac400..878905a47ab20 100644
--- a/office/LanguageTool/LanguageTool.SlackBuild
+++ b/office/LanguageTool/LanguageTool.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LanguageTool
VERSION=${VERSION:-3.5}
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/office/LibreOffice/LibreOffice.SlackBuild b/office/LibreOffice/LibreOffice.SlackBuild
index 3f16cf9f95147..5d496f7ae0d36 100644
--- a/office/LibreOffice/LibreOffice.SlackBuild
+++ b/office/LibreOffice/LibreOffice.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=LibreOffice
SRCNAM=libreoffice
VERSION=${VERSION:-7.1.4.2}
@@ -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/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index 4c32660fe825a..17e840ec04e14 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
VERSION=${VERSION:-5.7.60}
@@ -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/office/NME/NME.SlackBuild b/office/NME/NME.SlackBuild
index fd5430cf59ccd..85d9254a651f4 100644
--- a/office/NME/NME.SlackBuild
+++ b/office/NME/NME.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NME
VERSION=${VERSION:-130323}
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/office/ProjectLibre/ProjectLibre.SlackBuild b/office/ProjectLibre/ProjectLibre.SlackBuild
index 7d2f024829dba..d35a9e058c348 100644
--- a/office/ProjectLibre/ProjectLibre.SlackBuild
+++ b/office/ProjectLibre/ProjectLibre.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ProjectLibre
VERSION=${VERSION:-1.9.3}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCNAM=projectlibre
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/ReText/ReText.SlackBuild b/office/ReText/ReText.SlackBuild
index 6d26e0a069285..b1ff5f403d644 100644
--- a/office/ReText/ReText.SlackBuild
+++ b/office/ReText/ReText.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ReText
VERSION=${VERSION:-7.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/office/SOGo/SOGo.SlackBuild b/office/SOGo/SOGo.SlackBuild
index 1ebb8fe769ae0..f410a47cb8080 100644
--- a/office/SOGo/SOGo.SlackBuild
+++ b/office/SOGo/SOGo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SOGo
VERSION=${VERSION:-5.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/office/TaskCoach/TaskCoach.SlackBuild b/office/TaskCoach/TaskCoach.SlackBuild
index bb1a343a1dd0c..c4119f7a13ea1 100644
--- a/office/TaskCoach/TaskCoach.SlackBuild
+++ b/office/TaskCoach/TaskCoach.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=TaskCoach
VERSION=${VERSION:-1.4.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/office/Ted/Ted.SlackBuild b/office/Ted/Ted.SlackBuild
index 2400c2527461b..2c57f463bc184 100644
--- a/office/Ted/Ted.SlackBuild
+++ b/office/Ted/Ted.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=Ted
VERSION=${VERSION:-2.23}
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/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index 364b3ad043ce1..af8391c87e38b 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -29,6 +29,8 @@
# 20200622 bkw: updated for v3.0.4, which fixes the flickering issue.
# abiword-docs hasn't seen a new release, we're still on 3.0.2 there.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abiword
VERSION=${VERSION:-3.0.4}
DOCSVER=3.0.2 # version of abiword-docs
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/abook/abook.SlackBuild b/office/abook/abook.SlackBuild
index b994108028fdc..3ac2574d9782b 100644
--- a/office/abook/abook.SlackBuild
+++ b/office/abook/abook.SlackBuild
@@ -25,6 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abook
VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
index 23a7665813533..09e5d7d07e223 100644
--- a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
+++ b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.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=adobe-reader-fontpacks
VERSION=${VERSION:-9.1}
ARCH=i486
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild
index b6e13758f2be4..978c31b959338 100644
--- a/office/adobe-reader/adobe-reader.SlackBuild
+++ b/office/adobe-reader/adobe-reader.SlackBuild
@@ -26,13 +26,14 @@
# Thanks to Andrew Brouwers for the original SlackBuild script and for
# permission to modify it as needed.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adobe-reader
VERSION=${VERSION:-9.5.5}
ARCH=i486 # Leave this alone for acroread
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/aigaion/aigaion.SlackBuild b/office/aigaion/aigaion.SlackBuild
index 09fb2847ba28b..4ae435e699188 100644
--- a/office/aigaion/aigaion.SlackBuild
+++ b/office/aigaion/aigaion.SlackBuild
@@ -7,6 +7,8 @@
# Revision date: 2011/04/01
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aigaion
VERSION=${VERSION:-2.2.b}
ARCH=noarch
@@ -19,7 +21,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild
index 9fefeba3aefec..eb29495269e5e 100644
--- a/office/aiksaurus/aiksaurus.SlackBuild
+++ b/office/aiksaurus/aiksaurus.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aiksaurus
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/anorack/anorack.SlackBuild b/office/anorack/anorack.SlackBuild
index 75031c2a21463..5c7f906a279d3 100644
--- a/office/anorack/anorack.SlackBuild
+++ b/office/anorack/anorack.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=anorack
VERSION=${VERSION:-0.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/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild
index 6622a5ddd594d..8426a0836dc94 100644
--- a/office/antiword/antiword.SlackBuild
+++ b/office/antiword/antiword.SlackBuild
@@ -23,6 +23,8 @@
# Modified by the SlackBuilds.org Project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=antiword
VERSION=${VERSION:-0.37}
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/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild
index c612d0a1ace7e..9e6dbd7f186a5 100644
--- a/office/apvlv/apvlv.SlackBuild
+++ b/office/apvlv/apvlv.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=apvlv
VERSION=${VERSION:-20160627_9ab7626}
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/office/asymptote/asymptote.SlackBuild b/office/asymptote/asymptote.SlackBuild
index 089d8fded2e26..e488fdc1daca9 100644
--- a/office/asymptote/asymptote.SlackBuild
+++ b/office/asymptote/asymptote.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asymptote
VERSION=${VERSION:-2.70}
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/office/basket/basket.SlackBuild b/office/basket/basket.SlackBuild
index f66fea6d3d474..1eef0a1237148 100644
--- a/office/basket/basket.SlackBuild
+++ b/office/basket/basket.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=basket
VERSION=${VERSION:-2.49b}
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/office/beaver/beaver.SlackBuild b/office/beaver/beaver.SlackBuild
index c542bbbfd36c2..00c3d0ab9edd8 100644
--- a/office/beaver/beaver.SlackBuild
+++ b/office/beaver/beaver.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beaver
VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/bibtex2html/bibtex2html.SlackBuild b/office/bibtex2html/bibtex2html.SlackBuild
index 4a6fed2413fdb..a4f493e8b496d 100644
--- a/office/bibtex2html/bibtex2html.SlackBuild
+++ b/office/bibtex2html/bibtex2html.SlackBuild
@@ -23,6 +23,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bibtex2html
VERSION=${VERSION:-1.99}
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/office/bibutils/bibutils.SlackBuild b/office/bibutils/bibutils.SlackBuild
index af01e9e5a7ed2..fdffc73f646f0 100644
--- a/office/bibutils/bibutils.SlackBuild
+++ b/office/bibutils/bibutils.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bibutils
VERSION=${VERSION:-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/office/bookbinder/bookbinder.SlackBuild b/office/bookbinder/bookbinder.SlackBuild
index fc221df0cab9b..20746a7043a08 100644
--- a/office/bookbinder/bookbinder.SlackBuild
+++ b/office/bookbinder/bookbinder.SlackBuild
@@ -4,6 +4,8 @@
# Petr Kletecka petr@kle.cz <2013>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bookbinder
VERSION=${VERSION:-3.0}
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/office/briss/briss.SlackBuild b/office/briss/briss.SlackBuild
index 223ad9bee1ffa..8374558206841 100644
--- a/office/briss/briss.SlackBuild
+++ b/office/briss/briss.SlackBuild
@@ -28,6 +28,8 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=briss
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ ARCH=noarch
DOCS="*.txt"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/broffice.org/broffice.org.SlackBuild b/office/broffice.org/broffice.org.SlackBuild
index b4d248f060e7f..1270626dc4d70 100644
--- a/office/broffice.org/broffice.org.SlackBuild
+++ b/office/broffice.org/broffice.org.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=broffice.org
VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild
index 9185112d10979..1252edd672be4 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -26,6 +26,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calcurse
VERSION=${VERSION:-4.7.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/office/calibre-bin/calibre-bin.SlackBuild b/office/calibre-bin/calibre-bin.SlackBuild
index fb155ec86230f..c0964a46816a4 100644
--- a/office/calibre-bin/calibre-bin.SlackBuild
+++ b/office/calibre-bin/calibre-bin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calibre-bin
VERSION=${VERSION:-5.15.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ case "$ARCH" in
arm*) ARCH=arm ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index 7644c37edf96c..918edce66b750 100644
--- a/office/calibre/calibre.SlackBuild
+++ b/office/calibre/calibre.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calibre
VERSION=${VERSION:-3.48.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/catdoc/catdoc.SlackBuild b/office/catdoc/catdoc.SlackBuild
index b879968df3acf..94e15928a738f 100644
--- a/office/catdoc/catdoc.SlackBuild
+++ b/office/catdoc/catdoc.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=catdoc
VERSION=${VERSION:-0.94.2}
BUILD=${BUILD:-2}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/ccal/ccal.SlackBuild b/office/ccal/ccal.SlackBuild
index 4e3abf5149ebd..6c1ccf7acb786 100644
--- a/office/ccal/ccal.SlackBuild
+++ b/office/ccal/ccal.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ccal
VERSION=${VERSION:-2.5.3}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/convertlit/convertlit.SlackBuild b/office/convertlit/convertlit.SlackBuild
index 8e388e5d47115..7f04718fd4d19 100644
--- a/office/convertlit/convertlit.SlackBuild
+++ b/office/convertlit/convertlit.SlackBuild
@@ -13,6 +13,8 @@
# 20170131 bkw: BUILD=3, REQUIRES was ltm, now libtommath
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=convertlit
VERSION=${VERSION:-1.8}
BUILD=${BUILD:-3}
@@ -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/office/coolreader/coolreader.SlackBuild b/office/coolreader/coolreader.SlackBuild
index cb643bb36837b..e3a450e87b733 100644
--- a/office/coolreader/coolreader.SlackBuild
+++ b/office/coolreader/coolreader.SlackBuild
@@ -46,6 +46,8 @@
# - add supported filetypes to README and slack-desc
# - save/load settings (.ini file) to ~/.cr3, not /usr/share/cr3.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=coolreader
VERSION=${VERSION:-3.2.54}
BUILD=${BUILD:-1}
@@ -59,7 +61,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/cups-pdf/cups-pdf.SlackBuild b/office/cups-pdf/cups-pdf.SlackBuild
index 7af7005e18e65..f088fab4a0ba9 100644
--- a/office/cups-pdf/cups-pdf.SlackBuild
+++ b/office/cups-pdf/cups-pdf.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cups-pdf
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/devtodo/devtodo.SlackBuild b/office/devtodo/devtodo.SlackBuild
index 518ddc9042eb9..768795871a329 100644
--- a/office/devtodo/devtodo.SlackBuild
+++ b/office/devtodo/devtodo.SlackBuild
@@ -25,6 +25,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=devtodo
VERSION=${VERSION:-0.1.20}
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/office/dictd/dictd.SlackBuild b/office/dictd/dictd.SlackBuild
index 15a9c98f18c35..3f54ae060e187 100644
--- a/office/dictd/dictd.SlackBuild
+++ b/office/dictd/dictd.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dictd
# Written by sercari <sercari@esdebian.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dictd
VERSION=${VERSION:-1.12.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/office/diction/diction.SlackBuild b/office/diction/diction.SlackBuild
index e4e694e6dbb69..b1f692c41ba3a 100644
--- a/office/diction/diction.SlackBuild
+++ b/office/diction/diction.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diction
VERSION=${VERSION:-1.14}
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/office/diffpdf/diffpdf.SlackBuild b/office/diffpdf/diffpdf.SlackBuild
index 4f8ffe1bae887..d31743d8f9844 100644
--- a/office/diffpdf/diffpdf.SlackBuild
+++ b/office/diffpdf/diffpdf.SlackBuild
@@ -28,6 +28,8 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diffpdf
VERSION=${VERSION:-2.1.3}
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/office/ding/ding.SlackBuild b/office/ding/ding.SlackBuild
index ed7dab9a0cf1d..b348092ce49b3 100644
--- a/office/ding/ding.SlackBuild
+++ b/office/ding/ding.SlackBuild
@@ -9,13 +9,14 @@
# Heavily Modified by Michiel van Wessem <michiel@slackbuilds.org> 20081020
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ding
VERSION=${VERSION:-1.7}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/djvusmooth/djvusmooth.SlackBuild b/office/djvusmooth/djvusmooth.SlackBuild
index bd3dd1b54f571..eb5e02a872e15 100644
--- a/office/djvusmooth/djvusmooth.SlackBuild
+++ b/office/djvusmooth/djvusmooth.SlackBuild
@@ -8,6 +8,8 @@
# 20191130 bkw: update for v0.3, add required dep subprocess32
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=djvusmooth
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/docx2txt/docx2txt.SlackBuild b/office/docx2txt/docx2txt.SlackBuild
index 753c52538b711..6f05eba4db2a6 100644
--- a/office/docx2txt/docx2txt.SlackBuild
+++ b/office/docx2txt/docx2txt.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=docx2txt
VERSION=${VERSION:-1.4}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/elyxer/elyxer.SlackBuild b/office/elyxer/elyxer.SlackBuild
index 132a33b686229..9707e4febde68 100644
--- a/office/elyxer/elyxer.SlackBuild
+++ b/office/elyxer/elyxer.SlackBuild
@@ -4,6 +4,8 @@
# Written by Bending Unit 647 <bender647[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=elyxer
VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/enpass/enpass.SlackBuild b/office/enpass/enpass.SlackBuild
index 090a734d0c4aa..65927d75ea248 100644
--- a/office/enpass/enpass.SlackBuild
+++ b/office/enpass/enpass.SlackBuild
@@ -25,6 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=enpass
VERSION=${VERSION:-6.2.0.537}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ case "$ARCH" in
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/epdfview/epdfview.SlackBuild b/office/epdfview/epdfview.SlackBuild
index 205f84c79f729..982b5cbfae2f9 100644
--- a/office/epdfview/epdfview.SlackBuild
+++ b/office/epdfview/epdfview.SlackBuild
@@ -24,6 +24,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=epdfview
VERSION=${VERSION:-0.1.8}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/etmtk/etmtk.SlackBuild b/office/etmtk/etmtk.SlackBuild
index 4ed376d8d2fe1..caee6283bcae1 100644
--- a/office/etmtk/etmtk.SlackBuild
+++ b/office/etmtk/etmtk.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=etmtk
VERSION=${VERSION:-3.2.37}
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/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index ba4f0606c256c..7b1728f4f02c6 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -32,6 +32,8 @@
# Slack 14.2's rather outdated gtk+3 libraries. Actually it requires
# some fugly hackery to work, see shim.h for gory details and polemic.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=evince
VERSION=${VERSION:-3.34.2}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/extractpdfmark/extractpdfmark.SlackBuild b/office/extractpdfmark/extractpdfmark.SlackBuild
index 05e8e9510ef04..34cae16a72537 100644
--- a/office/extractpdfmark/extractpdfmark.SlackBuild
+++ b/office/extractpdfmark/extractpdfmark.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=extractpdfmark
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/fbpdf/fbpdf.SlackBuild b/office/fbpdf/fbpdf.SlackBuild
index bd97cd8380e78..32a7cae7e4ebe 100644
--- a/office/fbpdf/fbpdf.SlackBuild
+++ b/office/fbpdf/fbpdf.SlackBuild
@@ -11,6 +11,8 @@
# 20200218 bkw: mupdf got updated to an incompatible version, use mupdf-legacy.
# 20170313 bkw: update for 20161202 (commit e31a61b), need due to mupdf update.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbpdf
VERSION=${VERSION:-20161202}
BUILD=${BUILD:-2}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild
index df6f0822f34fe..cdc88b956bada 100644
--- a/office/fbreader/fbreader.SlackBuild
+++ b/office/fbreader/fbreader.SlackBuild
@@ -5,6 +5,8 @@
# Maintained as of version 0.12.1 by Niels Horn <niels.horn@gmail.com>
# revision date: 2011/03/09
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbreader
VERSION=${VERSION:-0.99.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/office/flowkeeper/flowkeeper.SlackBuild b/office/flowkeeper/flowkeeper.SlackBuild
index e27168385b7f4..0bb89f6e294ac 100644
--- a/office/flowkeeper/flowkeeper.SlackBuild
+++ b/office/flowkeeper/flowkeeper.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=flowkeeper
VERSION=${VERSION:-2010.12}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/focuswriter-legacy/focuswriter-legacy.SlackBuild b/office/focuswriter-legacy/focuswriter-legacy.SlackBuild
index 3616f40792f53..e2c2fd90b6b07 100644
--- a/office/focuswriter-legacy/focuswriter-legacy.SlackBuild
+++ b/office/focuswriter-legacy/focuswriter-legacy.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=focuswriter-legacy
VERSION=${VERSION:-1.5.7}
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/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild
index 54e0e10d3625f..ef5d95b67a1d0 100644
--- a/office/focuswriter/focuswriter.SlackBuild
+++ b/office/focuswriter/focuswriter.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=focuswriter
VERSION=${VERSION:-1.7.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/office/fop-legacy/fop-legacy.SlackBuild b/office/fop-legacy/fop-legacy.SlackBuild
index 4071274915d39..1935d64e8fadc 100644
--- a/office/fop-legacy/fop-legacy.SlackBuild
+++ b/office/fop-legacy/fop-legacy.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=fop-legacy
SRCNAM=fop
VERSION=2.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/office/fop/fop.SlackBuild b/office/fop/fop.SlackBuild
index 5585f27cb66ee..104598b84f284 100644
--- a/office/fop/fop.SlackBuild
+++ b/office/fop/fop.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=fop
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/freemind/freemind.SlackBuild b/office/freemind/freemind.SlackBuild
index d9f8fa81e1a49..3423c5e14fd17 100644
--- a/office/freemind/freemind.SlackBuild
+++ b/office/freemind/freemind.SlackBuild
@@ -26,6 +26,8 @@
# build for 14.1 (that one had apparently been abandoned and thus Bruno
# rewrote it, unaware that one had already existed).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freemind
VERSION=${VERSION:-1.0.1}
ARCH=noarch
@@ -34,7 +36,6 @@ TAG=${TAG:-_SBo}
#SRC_VERSION=$(echo $VERSION | tr . _)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/full-pack/full-pack.SlackBuild b/office/full-pack/full-pack.SlackBuild
index 4435f52ebc391..3d74e6d2a4647 100644
--- a/office/full-pack/full-pack.SlackBuild
+++ b/office/full-pack/full-pack.SlackBuild
@@ -11,6 +11,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org> 20101209
# * My changes are all good, so flames should still go to Martin... ;-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=full-pack
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild
index 1f0798e9f4f87..04471748a188c 100644
--- a/office/ganttproject/ganttproject.SlackBuild
+++ b/office/ganttproject/ganttproject.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ganttproject
VERSION=${VERSION:-2.8.11}
VERSION_BUILD=${VERSION_BUILD:-r2396}
@@ -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/office/gbgoffice/gbgoffice.SlackBuild b/office/gbgoffice/gbgoffice.SlackBuild
index ac29c6f2d5f05..7980c1d462b8b 100644
--- a/office/gbgoffice/gbgoffice.SlackBuild
+++ b/office/gbgoffice/gbgoffice.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gbgoffice
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-3}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/gcal/gcal.SlackBuild b/office/gcal/gcal.SlackBuild
index eca09cc85cb18..79c15e74f2284 100644
--- a/office/gcal/gcal.SlackBuild
+++ b/office/gcal/gcal.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=gcal
VERSION=${VERSION:-4.1}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/ghostwriter/ghostwriter.SlackBuild b/office/ghostwriter/ghostwriter.SlackBuild
index da9663ede4cb8..ca4a6399f24b8 100644
--- a/office/ghostwriter/ghostwriter.SlackBuild
+++ b/office/ghostwriter/ghostwriter.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ghostwriter
VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild
index 96b4516265e4c..1d1bd867338ca 100644
--- a/office/gnokii/gnokii.SlackBuild
+++ b/office/gnokii/gnokii.SlackBuild
@@ -26,6 +26,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnokii
VERSION=${VERSION:-0.6.31}
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/office/gnucash-docs/gnucash-docs.SlackBuild b/office/gnucash-docs/gnucash-docs.SlackBuild
index 15f8852ee220e..2cca5534a4704 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnucash-docs
DESTNAM=gnucash
VERSION=${VERSION:-4.5}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
# Docs only, no binaries
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 7f1f28e243abd..6a91f13b6f03b 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.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=gnucash
VERSION=${VERSION:-4.5}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/gnumeric/gnumeric.SlackBuild b/office/gnumeric/gnumeric.SlackBuild
index 3364c87c2e1f0..06957f17990de 100644
--- a/office/gnumeric/gnumeric.SlackBuild
+++ b/office/gnumeric/gnumeric.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnumeric
VERSION=${VERSION:-1.12.49}
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/office/gocr/gocr.SlackBuild b/office/gocr/gocr.SlackBuild
index ae50750f4bfe4..4414369e10459 100644
--- a/office/gocr/gocr.SlackBuild
+++ b/office/gocr/gocr.SlackBuild
@@ -25,6 +25,8 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="gocr"
VERSION=${VERSION:-0.50}
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/office/goldendict/goldendict.SlackBuild b/office/goldendict/goldendict.SlackBuild
index 1826c07859300..1dd1d19e6415f 100644
--- a/office/goldendict/goldendict.SlackBuild
+++ b/office/goldendict/goldendict.SlackBuild
@@ -26,6 +26,8 @@
# Contacts: Damien Goutte-Gattat <dgouttegattat@incenp.org> (original author)
# Andrey Butirsky <butirsky@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goldendict
VERSION=${VERSION:-1.5.0_RC2}
SRCVER=$(echo $VERSION | tr _ -)
@@ -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/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index 9aae47cea288d..ceb5aee3c16de 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.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=grisbi
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/gummi/gummi.SlackBuild b/office/gummi/gummi.SlackBuild
index 674e3089abb77..83ebb23540138 100644
--- a/office/gummi/gummi.SlackBuild
+++ b/office/gummi/gummi.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gummi
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/office/hamster/hamster.SlackBuild b/office/hamster/hamster.SlackBuild
index df8aebb2e6c79..6430ff323da01 100644
--- a/office/hamster/hamster.SlackBuild
+++ b/office/hamster/hamster.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hamster
VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hebcal/hebcal.SlackBuild b/office/hebcal/hebcal.SlackBuild
index aec4f3e5dfab7..558d6bb07881b 100644
--- a/office/hebcal/hebcal.SlackBuild
+++ b/office/hebcal/hebcal.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hebcal
VERSION=${VERSION:-4.24}
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/office/hevea/hevea.SlackBuild b/office/hevea/hevea.SlackBuild
index fc4cdf1f0427c..d5bff925703f8 100644
--- a/office/hevea/hevea.SlackBuild
+++ b/office/hevea/hevea.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hevea
VERSION=${VERSION:-2.29}
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/office/homebank/homebank.SlackBuild b/office/homebank/homebank.SlackBuild
index c9a09d731442c..084e4978abbc6 100644
--- a/office/homebank/homebank.SlackBuild
+++ b/office/homebank/homebank.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=homebank
VERSION=${VERSION:-5.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/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index 3657a7d2ec8ea..8badb70ba001d 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -39,6 +39,8 @@
# support was added. Misc updates and cleanups to install commands.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=htmldoc
VERSION=${VERSION:-1.9.8}
BUILD=${BUILD:-1}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hunspell-de/hunspell-de.SlackBuild b/office/hunspell-de/hunspell-de.SlackBuild
index 06f43b79e5463..988f78fd2ce3c 100644
--- a/office/hunspell-de/hunspell-de.SlackBuild
+++ b/office/hunspell-de/hunspell-de.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=hunspell-de
VERSION=${VERSION:-20161207}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hunspell-en/hunspell-en.SlackBuild b/office/hunspell-en/hunspell-en.SlackBuild
index a2005bb162da7..7ad14357fc198 100644
--- a/office/hunspell-en/hunspell-en.SlackBuild
+++ b/office/hunspell-en/hunspell-en.SlackBuild
@@ -25,13 +25,14 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-en
VERSION=${VERSION:-2018.04.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hunspell-es/hunspell-es.SlackBuild b/office/hunspell-es/hunspell-es.SlackBuild
index 398fc2075439c..43e245144b032 100644
--- a/office/hunspell-es/hunspell-es.SlackBuild
+++ b/office/hunspell-es/hunspell-es.SlackBuild
@@ -25,13 +25,14 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-es
VERSION=${VERSION:-2.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/office/hunspell-id/hunspell-id.SlackBuild b/office/hunspell-id/hunspell-id.SlackBuild
index 3d85f0a93cb30..8b291fb9681e7 100644
--- a/office/hunspell-id/hunspell-id.SlackBuild
+++ b/office/hunspell-id/hunspell-id.SlackBuild
@@ -24,13 +24,14 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-id
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hunspell-pl/hunspell-pl.SlackBuild b/office/hunspell-pl/hunspell-pl.SlackBuild
index 2c510adad6155..d14e9870361cc 100644
--- a/office/hunspell-pl/hunspell-pl.SlackBuild
+++ b/office/hunspell-pl/hunspell-pl.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=hunspell-pl
VERSION=${VERSION:-20170131}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/hyphen-id/hyphen-id.SlackBuild b/office/hyphen-id/hyphen-id.SlackBuild
index 0bcb99ccab5e2..77afd868075d8 100644
--- a/office/hyphen-id/hyphen-id.SlackBuild
+++ b/office/hyphen-id/hyphen-id.SlackBuild
@@ -24,13 +24,14 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hyphen-id
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/impressive/impressive.SlackBuild b/office/impressive/impressive.SlackBuild
index 2814d7eb216da..f0f80a59b748c 100644
--- a/office/impressive/impressive.SlackBuild
+++ b/office/impressive/impressive.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=impressive
SRCNAM=Impressive
VERSION=${VERSION:-0.12.1}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/jpdfbookmarks/jpdfbookmarks.SlackBuild b/office/jpdfbookmarks/jpdfbookmarks.SlackBuild
index eddbfd480d5dd..af65d924c4f48 100644
--- a/office/jpdfbookmarks/jpdfbookmarks.SlackBuild
+++ b/office/jpdfbookmarks/jpdfbookmarks.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=jpdfbookmarks
VERSION=${VERSION:-2.5.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/office/jstock/jstock.SlackBuild b/office/jstock/jstock.SlackBuild
index 085b79cefba62..d1400803d66c1 100644
--- a/office/jstock/jstock.SlackBuild
+++ b/office/jstock/jstock.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jstock
VERSION=${VERSION:-1.0.7.48}
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/office/kate-latex-plugin/kate-latex-plugin.SlackBuild b/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
index 4524266e5c016..42c2c058ce09b 100644
--- a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
+++ b/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kate-latex-plugin
SRCNAM=katelatexplugin
VERSION=${VERSION:-0.5}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/kbbi-qt/kbbi-qt.SlackBuild b/office/kbbi-qt/kbbi-qt.SlackBuild
index fd0dfc5abc70d..d6c5820000880 100644
--- a/office/kbbi-qt/kbbi-qt.SlackBuild
+++ b/office/kbbi-qt/kbbi-qt.SlackBuild
@@ -24,6 +24,8 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbbi-qt
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild
index c4ef2085b7644..b2532d61ce239 100644
--- a/office/kbgoffice/kbgoffice.SlackBuild
+++ b/office/kbgoffice/kbgoffice.SlackBuild
@@ -5,6 +5,8 @@
# Modified by Martin A. Ivanov <tramni@abv.bg>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbgoffice
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/kbibtex/kbibtex.SlackBuild b/office/kbibtex/kbibtex.SlackBuild
index 91a668aef3377..30e65159fd1e9 100644
--- a/office/kbibtex/kbibtex.SlackBuild
+++ b/office/kbibtex/kbibtex.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=kbibtex
VERSION=${VERSION:-0.9.81}
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/office/kchmviewer-qt/kchmviewer-qt.SlackBuild b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
index 6f8c9f74302b5..c1f0e7397bae1 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
+++ b/office/kchmviewer-qt/kchmviewer-qt.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=kchmviewer-qt
VERSION=${VERSION:-7.7}
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/office/kchmviewer/kchmviewer.SlackBuild b/office/kchmviewer/kchmviewer.SlackBuild
index e1dd1915c5e69..d343082ffd4ea 100644
--- a/office/kchmviewer/kchmviewer.SlackBuild
+++ b/office/kchmviewer/kchmviewer.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=kchmviewer
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/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild
index a73eb4eb42ca8..c09f2fcd1a370 100644
--- a/office/keepassx/keepassx.SlackBuild
+++ b/office/keepassx/keepassx.SlackBuild
@@ -21,6 +21,8 @@
## Please see the file COPYING in the source distribution.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepassx
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index 57162be54db9a..969d6f99c8e09 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepassxc
VERSION=${VERSION:-2.6.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/office/keepnote/keepnote.SlackBuild b/office/keepnote/keepnote.SlackBuild
index 6d01e0dd52625..68377d457cd98 100644
--- a/office/keepnote/keepnote.SlackBuild
+++ b/office/keepnote/keepnote.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=keepnote
VERSION=${VERSION:-0.6.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/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild
index 8ade9869a0ada..fe76fc268b2d5 100644
--- a/office/krop/krop.SlackBuild
+++ b/office/krop/krop.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=krop
VERSION=${VERSION:-0.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/office/latex2rtf/latex2rtf.SlackBuild b/office/latex2rtf/latex2rtf.SlackBuild
index 9d290e965386a..08ab6f2abbeee 100644
--- a/office/latex2rtf/latex2rtf.SlackBuild
+++ b/office/latex2rtf/latex2rtf.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=latex2rtf
VERSION=${VERSION:-2.3.17}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/latexdiff/latexdiff.SlackBuild b/office/latexdiff/latexdiff.SlackBuild
index f893d1b0b4f10..ece8d5cc87ec9 100644
--- a/office/latexdiff/latexdiff.SlackBuild
+++ b/office/latexdiff/latexdiff.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=latexdiff
VERSION=${VERSION:-1.3.1.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/lcal/lcal.SlackBuild b/office/lcal/lcal.SlackBuild
index d1a264b6d67bb..7e33ef4f5f838 100644
--- a/office/lcal/lcal.SlackBuild
+++ b/office/lcal/lcal.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lcal
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/leafpad/leafpad.SlackBuild b/office/leafpad/leafpad.SlackBuild
index e3741fc5ecf35..2c61f6920b5f4 100644
--- a/office/leafpad/leafpad.SlackBuild
+++ b/office/leafpad/leafpad.SlackBuild
@@ -21,6 +21,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leafpad
VERSION=${VERSION:-0.8.18.1}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/libreoffice-helppack/libreoffice-helppack.SlackBuild b/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
index 5c36e27e8d48f..5882933ea86d8 100644
--- a/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
+++ b/office/libreoffice-helppack/libreoffice-helppack.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=libreoffice-helppack
VERSION=${VERSION:-"7.1.4"}
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/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
index 1d9a145eac207..d474db409da93 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
+++ b/office/libreoffice-langpack/libreoffice-langpack.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=libreoffice-langpack
VERSION=${VERSION:-"7.1.4"}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index 0a69bb49dba07..5dcc8fd95028e 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.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=libreoffice
VERSION=${VERSION:-"7.1.4"}
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/office/lout/lout.SlackBuild b/office/lout/lout.SlackBuild
index d4acf846b1441..0ce95d334c85f 100644
--- a/office/lout/lout.SlackBuild
+++ b/office/lout/lout.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lout
VERSION=${VERSION:-3.42}
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/office/lowdown/lowdown.SlackBuild b/office/lowdown/lowdown.SlackBuild
index cf97fc5d42531..24ce04eb1f5cd 100644
--- a/office/lowdown/lowdown.SlackBuild
+++ b/office/lowdown/lowdown.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lowdown
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/lumina-calculator/lumina-calculator.SlackBuild b/office/lumina-calculator/lumina-calculator.SlackBuild
index 61bf1401446a8..594dd9c66f9ce 100644
--- a/office/lumina-calculator/lumina-calculator.SlackBuild
+++ b/office/lumina-calculator/lumina-calculator.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lumina-calculator
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/office/lumina-pdf/lumina-pdf.SlackBuild b/office/lumina-pdf/lumina-pdf.SlackBuild
index e12a9e8eb3188..7f9dbcdfc33a4 100644
--- a/office/lumina-pdf/lumina-pdf.SlackBuild
+++ b/office/lumina-pdf/lumina-pdf.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lumina-pdf
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/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index 45683c0cf0e26..2892ae2d9612e 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -4,6 +4,8 @@
# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
# Now maintained by R. S. Ananda Murthy (rsamurti@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lyx
VERSION=${VERSION:-2.3.6.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/office/mairix/mairix.SlackBuild b/office/mairix/mairix.SlackBuild
index f53c6da535886..3a748c3f8492e 100644
--- a/office/mairix/mairix.SlackBuild
+++ b/office/mairix/mairix.SlackBuild
@@ -24,6 +24,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mairix
VERSION=${VERSION:-0.24}
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/office/marave/marave.SlackBuild b/office/marave/marave.SlackBuild
index 5e846c49e97de..d561c3066565d 100644
--- a/office/marave/marave.SlackBuild
+++ b/office/marave/marave.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=marave
VERSION=${VERSION:-0.7}
SRCVER=${SRCVER:-master}
@@ -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/office/mate-calc/mate-calc.SlackBuild b/office/mate-calc/mate-calc.SlackBuild
index 9102d55a53f43..af871c6beaa87 100644
--- a/office/mate-calc/mate-calc.SlackBuild
+++ b/office/mate-calc/mate-calc.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=mate-calc
VERSION=${VERSION:-1.18.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/office/mathtex/mathtex.SlackBuild b/office/mathtex/mathtex.SlackBuild
index 6e6409641a96f..57d5784aa3068 100644
--- a/office/mathtex/mathtex.SlackBuild
+++ b/office/mathtex/mathtex.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=mathtex
VERSION=${VERSION:-1.05}
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/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild
index bc22b86184f36..6b4782958c3f1 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdbtools
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild
index 11c5938da2d2e..494ee52a2637c 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -23,6 +23,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdp
VERSION=${VERSION:-1.0.9}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mined/mined.SlackBuild b/office/mined/mined.SlackBuild
index 7aec823d9bf29..6ce5873342ae4 100644
--- a/office/mined/mined.SlackBuild
+++ b/office/mined/mined.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mined
VERSION=${VERSION:-2015.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/office/minidjvu/minidjvu.SlackBuild b/office/minidjvu/minidjvu.SlackBuild
index 9a77fc3e0d981..4154d47578e60 100644
--- a/office/minidjvu/minidjvu.SlackBuild
+++ b/office/minidjvu/minidjvu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=minidjvu
VERSION=${VERSION:-0.8.svn.2010.05.06}
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/office/mobiperl/mobiperl.SlackBuild b/office/mobiperl/mobiperl.SlackBuild
index d1a7c0de3c86d..c80c6c8770fbe 100644
--- a/office/mobiperl/mobiperl.SlackBuild
+++ b/office/mobiperl/mobiperl.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mobiperl
VERSION=${VERSION:-0.0.43}
BUILD=${BUILD:-1}
@@ -13,7 +15,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/moneydance/moneydance.SlackBuild b/office/moneydance/moneydance.SlackBuild
index 54c6f42b96c9a..52976576b2fe3 100644
--- a/office/moneydance/moneydance.SlackBuild
+++ b/office/moneydance/moneydance.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=moneydance
VERSION=${VERSION:-2021.1.3069}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/msee/msee.SlackBuild b/office/msee/msee.SlackBuild
index 21f827045c0c5..0810d83172834 100644
--- a/office/msee/msee.SlackBuild
+++ b/office/msee/msee.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=msee
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/office/mtp2-fonts/mtp2-fonts.SlackBuild b/office/mtp2-fonts/mtp2-fonts.SlackBuild
index a3c443c0120f1..aefcd9ca2bb54 100644
--- a/office/mtp2-fonts/mtp2-fonts.SlackBuild
+++ b/office/mtp2-fonts/mtp2-fonts.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=mtp2-fonts
VERSION=${VERSION:-2.1a}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mu/mu.SlackBuild b/office/mu/mu.SlackBuild
index 7d80423bcc2b0..199aa8fd3e429 100644
--- a/office/mu/mu.SlackBuild
+++ b/office/mu/mu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mu
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/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild b/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild
index bb9de1fda6552..4608531e1ee49 100644
--- a/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild
+++ b/office/multivalent-tool-pdf/multivalent-tool-pdf.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=multivalent-tool-pdf
VERSION=${VERSION:-0.8.5.20060102}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mupdf-legacy/mupdf-legacy.SlackBuild b/office/mupdf-legacy/mupdf-legacy.SlackBuild
index 8db29fa60a692..f8af802e687c1 100644
--- a/office/mupdf-legacy/mupdf-legacy.SlackBuild
+++ b/office/mupdf-legacy/mupdf-legacy.SlackBuild
@@ -18,6 +18,8 @@
# 20170621 bkw: fix build with -current's newer openjpeg, BUILD=2.
# 20170122 bkw: update for 1.10a.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mupdf-legacy
VERSION=${VERSION:-1.13.0}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index ad0e66cc57700..bd664a76fc1be 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -51,6 +51,8 @@
# and there's no bundled souce for it. So currently mupdf is being
# built without libcrypto. Hope that's OK.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mupdf
VERSION=${VERSION:-1.18.0}
BUILD=${BUILD:-1}
@@ -64,7 +66,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/muttprint/muttprint.SlackBuild b/office/muttprint/muttprint.SlackBuild
index 116bd50a5a341..79c6d9a8a2e66 100644
--- a/office/muttprint/muttprint.SlackBuild
+++ b/office/muttprint/muttprint.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=muttprint
VERSION=${VERSION:-0.72d}
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/office/mytetra/mytetra.SlackBuild b/office/mytetra/mytetra.SlackBuild
index 9b4a9bb3536ac..1344ffdaa5562 100644
--- a/office/mytetra/mytetra.SlackBuild
+++ b/office/mytetra/mytetra.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mytetra
VERSION=${VERSION:-1.30.1}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mythes-id/mythes-id.SlackBuild b/office/mythes-id/mythes-id.SlackBuild
index 03a34a2b08164..a108ac90f705b 100644
--- a/office/mythes-id/mythes-id.SlackBuild
+++ b/office/mythes-id/mythes-id.SlackBuild
@@ -24,13 +24,14 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythes-id
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/mythes/mythes.SlackBuild b/office/mythes/mythes.SlackBuild
index 7b1856c3edde7..382d30e1a374d 100644
--- a/office/mythes/mythes.SlackBuild
+++ b/office/mythes/mythes.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythes
VERSION=${VERSION:-1.2.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/office/neoleo/neoleo.SlackBuild b/office/neoleo/neoleo.SlackBuild
index 2e78443e583b9..e0e0bb3b5bf46 100644
--- a/office/neoleo/neoleo.SlackBuild
+++ b/office/neoleo/neoleo.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=neoleo
VERSION=${VERSION:-7.0.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/notmuch/notmuch.SlackBuild b/office/notmuch/notmuch.SlackBuild
index d50fbf94a6f82..89c9f32e8d0b4 100644
--- a/office/notmuch/notmuch.SlackBuild
+++ b/office/notmuch/notmuch.SlackBuild
@@ -24,6 +24,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=notmuch
VERSION=${VERSION:-0.28.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/office/nts/nts.SlackBuild b/office/nts/nts.SlackBuild
index b6ecc9a8bd777..0034fdc471b86 100644
--- a/office/nts/nts.SlackBuild
+++ b/office/nts/nts.SlackBuild
@@ -4,6 +4,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nts
VERSION=${VERSION:-82}
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/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild
index 18b8d6ac5dcd9..23229fdf4d880 100644
--- a/office/odt2txt/odt2txt.SlackBuild
+++ b/office/odt2txt/odt2txt.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=odt2txt
VERSION=${VERSION:-0.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/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
index 0bb99e3bb998d..0014a6219386e 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=onlyoffice-desktopeditors
VERSION=${VERSION:-6.2.0}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/openoffice-langpack/openoffice-langpack.SlackBuild b/office/openoffice-langpack/openoffice-langpack.SlackBuild
index 324677a7618a5..47b18f727fcb1 100644
--- a/office/openoffice-langpack/openoffice-langpack.SlackBuild
+++ b/office/openoffice-langpack/openoffice-langpack.SlackBuild
@@ -25,6 +25,8 @@
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openoffice-langpack
VERSION=${VERSION:-"4.1.6"}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild
index ffc8eef721e1e..dbb065b220383 100644
--- a/office/openoffice.org/openoffice.org.SlackBuild
+++ b/office/openoffice.org/openoffice.org.SlackBuild
@@ -28,6 +28,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openoffice.org
SRCNAM=openoffice
VERSION=${VERSION:-4.1.7}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/osmo/osmo.SlackBuild b/office/osmo/osmo.SlackBuild
index f9227078a0a6f..b73721bceb835 100644
--- a/office/osmo/osmo.SlackBuild
+++ b/office/osmo/osmo.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=osmo
VERSION=${VERSION:-0.4.2}
SRCVER=$(echo $VERSION | tr _ -)
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index 0388dadc4a406..0958c5910c44c 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pandoc-bin
SRCNAM=pandoc
VERSION=${VERSION:-2.13}
@@ -46,7 +48,6 @@ fi
set -e
TMP=${TMP:-/tmp/SBo}
-CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index 83aa9bd19fef7..24f22dd18aca0 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -6,6 +6,8 @@
# Public domain.
# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pandoc
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index 1ee45e3cbdb08..90fe576ad973e 100644
--- a/office/paps/paps.SlackBuild
+++ b/office/paps/paps.SlackBuild
@@ -35,6 +35,8 @@
# - Regenerate slack-desc from updated README.
# - Simplify script a bit.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=paps
VERSION=${VERSION:-0.7.1}
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/office/pcal/pcal.SlackBuild b/office/pcal/pcal.SlackBuild
index f494bf815a6d1..d0b43aa2bbc76 100644
--- a/office/pcal/pcal.SlackBuild
+++ b/office/pcal/pcal.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcal
VERSION=${VERSION:-4.11.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/office/pdf2djvu/pdf2djvu.SlackBuild b/office/pdf2djvu/pdf2djvu.SlackBuild
index 444f6e121caa6..7d2c659f66d22 100644
--- a/office/pdf2djvu/pdf2djvu.SlackBuild
+++ b/office/pdf2djvu/pdf2djvu.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=pdf2djvu
VERSION=${VERSION:-0.9.17.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/office/pdfchain/pdfchain.SlackBuild b/office/pdfchain/pdfchain.SlackBuild
index 6bc40e913db3f..d88c85f416ca4 100644
--- a/office/pdfchain/pdfchain.SlackBuild
+++ b/office/pdfchain/pdfchain.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfchain
VERSION=${VERSION:-0.4.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/office/pdfpc/pdfpc.SlackBuild b/office/pdfpc/pdfpc.SlackBuild
index 1c66c344aeb3f..e8580ea5fdcb8 100644
--- a/office/pdfpc/pdfpc.SlackBuild
+++ b/office/pdfpc/pdfpc.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfpc
VERSION=${VERSION:-4.4.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/office/pdfshuffler/pdfshuffler.SlackBuild b/office/pdfshuffler/pdfshuffler.SlackBuild
index b0e9586e3c27b..bb7e598798e65 100644
--- a/office/pdfshuffler/pdfshuffler.SlackBuild
+++ b/office/pdfshuffler/pdfshuffler.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfshuffler
VERSION=${VERSION:-0.6.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/office/pdfstudio/pdfstudio.SlackBuild b/office/pdfstudio/pdfstudio.SlackBuild
index 51ecce59df3aa..6b0c1ee6b0fe7 100644
--- a/office/pdfstudio/pdfstudio.SlackBuild
+++ b/office/pdfstudio/pdfstudio.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfstudio
VERSION=${VERSION:-2020.4.0}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild b/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
index 179b3aae01270..e9ad1fd0a570f 100644
--- a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
+++ b/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfstudioviewer
VERSION=${VERSION:-2020.4.0}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild
index c45756eb365e2..9655d63a987c6 100644
--- a/office/pdftk/pdftk.SlackBuild
+++ b/office/pdftk/pdftk.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=pdftk
VERSION=${VERSION:-2.02}
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/office/plover/plover.SlackBuild b/office/plover/plover.SlackBuild
index b60ed6c0601b6..6e7007109dea6 100644
--- a/office/plover/plover.SlackBuild
+++ b/office/plover/plover.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plover
VERSION=${VERSION:-4.0.0.dev8.66.g685bd33}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ $ARCH != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/ps2eps/ps2eps.SlackBuild b/office/ps2eps/ps2eps.SlackBuild
index 4057a1a3f8f40..3fd8870fdcc1e 100644
--- a/office/ps2eps/ps2eps.SlackBuild
+++ b/office/ps2eps/ps2eps.SlackBuild
@@ -4,6 +4,8 @@
# written by <pedro@gepasi.org>, hereby put in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ps2eps
VERSION=${VERSION:-1.64}
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/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild
index 63a309ce567e4..d1dd335118b22 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pstoedit
VERSION=${VERSION:-3.75}
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/office/pstotext/pstotext.SlackBuild b/office/pstotext/pstotext.SlackBuild
index 23bfe1aa2050b..dd1de57f4698d 100644
--- a/office/pstotext/pstotext.SlackBuild
+++ b/office/pstotext/pstotext.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Robby Workman - http://rlworkman.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pstotext
VERSION=${VERSION:-1.9}
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/office/pyspread/pyspread.SlackBuild b/office/pyspread/pyspread.SlackBuild
index 2aba8205c43b1..123ed073aa42c 100644
--- a/office/pyspread/pyspread.SlackBuild
+++ b/office/pyspread/pyspread.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyspread
VERSION=${VERSION:-1.1.3}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/python-gcalcli/python-gcalcli.SlackBuild b/office/python-gcalcli/python-gcalcli.SlackBuild
index 8e6b62ed88cfa..0fc2879073fc7 100644
--- a/office/python-gcalcli/python-gcalcli.SlackBuild
+++ b/office/python-gcalcli/python-gcalcli.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python-gcalcli
VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
index 8ca8275274b3b..c501b56fcea11 100644
--- a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
+++ b/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qpdfview-qt5
SRCNAM=qpdfview
VERSION=${VERSION:-0.4.18}
@@ -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/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild
index 3ee6c738f7c10..bce2eab729b90 100644
--- a/office/qpdfview/qpdfview.SlackBuild
+++ b/office/qpdfview/qpdfview.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qpdfview
VERSION=${VERSION:-0.4.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/office/qute/qute.SlackBuild b/office/qute/qute.SlackBuild
index 13f3754f572db..1daf927e067b7 100644
--- a/office/qute/qute.SlackBuild
+++ b/office/qute/qute.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qute
SRCNAM=${PRGNAM^}
VERSION=${VERSION:-0.4.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/office/re-typeset/re-typeset.SlackBuild b/office/re-typeset/re-typeset.SlackBuild
index 0bd56cf039e84..808168a6c779d 100644
--- a/office/re-typeset/re-typeset.SlackBuild
+++ b/office/re-typeset/re-typeset.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=re-typeset
VERSION=${VERSION:-1.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/office/referencer/referencer.SlackBuild b/office/referencer/referencer.SlackBuild
index 650b803415463..9ee7adfaaf484 100644
--- a/office/referencer/referencer.SlackBuild
+++ b/office/referencer/referencer.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=referencer
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/office/remind/remind.SlackBuild b/office/remind/remind.SlackBuild
index fa0278eb066d3..5b045a782f5a7 100644
--- a/office/remind/remind.SlackBuild
+++ b/office/remind/remind.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=remind
VERSION=${VERSION:-03.01.16}
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/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index 1d8499ca6fda1..f264e31a2905a 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -26,6 +26,8 @@
# Modified by the SlackBuilds.org project
# Including input by Yalla-One and some code cleanup by rworkman
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scribus
VERSION=${VERSION:-1.5.6.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/office/siag/siag.SlackBuild b/office/siag/siag.SlackBuild
index 70ab260ca03a9..ab19b3cddee83 100644
--- a/office/siag/siag.SlackBuild
+++ b/office/siag/siag.SlackBuild
@@ -4,6 +4,8 @@
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=siag
VERSION=${VERSION:-3.6.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/office/sigil/sigil.SlackBuild b/office/sigil/sigil.SlackBuild
index f5b8a8943de3f..ad0320c781cef 100644
--- a/office/sigil/sigil.SlackBuild
+++ b/office/sigil/sigil.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sigil
SRCNAM=Sigil
VERSION=${VERSION:-0.9.12}
@@ -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/office/smoffice2016/smoffice2016.SlackBuild b/office/smoffice2016/smoffice2016.SlackBuild
index 954b7315ae1e2..ac0b597e47d37 100644
--- a/office/smoffice2016/smoffice2016.SlackBuild
+++ b/office/smoffice2016/smoffice2016.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=smoffice2016
VERSION=${VERSION:-2016_765}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/smoffice2018/smoffice2018.SlackBuild b/office/smoffice2018/smoffice2018.SlackBuild
index 2d75c5da50c5e..13fe4dd35dbc0 100644
--- a/office/smoffice2018/smoffice2018.SlackBuild
+++ b/office/smoffice2018/smoffice2018.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=smoffice2018
VERSION=${VERSION:-2018_976}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/smoffice2021/smoffice2021.SlackBuild b/office/smoffice2021/smoffice2021.SlackBuild
index 6659a822092cf..b04744f626845 100644
--- a/office/smoffice2021/smoffice2021.SlackBuild
+++ b/office/smoffice2021/smoffice2021.SlackBuild
@@ -25,6 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smoffice2021
VERSION=${VERSION:-2021_1024}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported."
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/sofastats/sofastats.SlackBuild b/office/sofastats/sofastats.SlackBuild
index 56e15a201ce1d..65abf5969e276 100644
--- a/office/sofastats/sofastats.SlackBuild
+++ b/office/sofastats/sofastats.SlackBuild
@@ -24,6 +24,8 @@
# SUCH DAMAGE.
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sofastats
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
DOCS="README.txt copyright"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/t-prot/t-prot.SlackBuild b/office/t-prot/t-prot.SlackBuild
index 21a60a6dc1ece..33c7b53467f8c 100644
--- a/office/t-prot/t-prot.SlackBuild
+++ b/office/t-prot/t-prot.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=t-prot
VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/task/task.SlackBuild b/office/task/task.SlackBuild
index 6fa6a1d57e910..1c9e8ed6ebc0f 100644
--- a/office/task/task.SlackBuild
+++ b/office/task/task.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=task
VERSION=${VERSION:-2.5.3}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/taskd/taskd.SlackBuild b/office/taskd/taskd.SlackBuild
index db84701c7e686..b2bba77c4cd67 100644
--- a/office/taskd/taskd.SlackBuild
+++ b/office/taskd/taskd.SlackBuild
@@ -46,6 +46,8 @@
#
################################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=taskd
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
@@ -59,7 +61,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/taskjuggler/taskjuggler.SlackBuild b/office/taskjuggler/taskjuggler.SlackBuild
index 2645407f2e8e6..6db92e0ac1c15 100644
--- a/office/taskjuggler/taskjuggler.SlackBuild
+++ b/office/taskjuggler/taskjuggler.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=taskjuggler
VERSION=${VERSION:-3.7.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/office/taskopen/taskopen.SlackBuild b/office/taskopen/taskopen.SlackBuild
index b803f763515ad..19877f0d812da 100644
--- a/office/taskopen/taskopen.SlackBuild
+++ b/office/taskopen/taskopen.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=taskopen
VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/tasksh/tasksh.SlackBuild b/office/tasksh/tasksh.SlackBuild
index ee7a351371f7a..96fa052f9ca98 100644
--- a/office/tasksh/tasksh.SlackBuild
+++ b/office/tasksh/tasksh.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tasksh
VERSION=${VERSION:-1.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/office/teams-for-linux/teams-for-linux.SlackBuild b/office/teams-for-linux/teams-for-linux.SlackBuild
index aabebba4ae4eb..44b866216b6e8 100644
--- a/office/teams-for-linux/teams-for-linux.SlackBuild
+++ b/office/teams-for-linux/teams-for-linux.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teams-for-linux
VERSION=${VERSION:-0.0.7}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/teapot/teapot.SlackBuild b/office/teapot/teapot.SlackBuild
index 5efe5fc0f8609..6ab8c88a9447f 100644
--- a/office/teapot/teapot.SlackBuild
+++ b/office/teapot/teapot.SlackBuild
@@ -35,6 +35,8 @@
# consequently qt5!), pull the prebuilt docs out of upstream's
# binary package.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teapot
VERSION=${VERSION:-2.3.0}
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/office/tellico/tellico.SlackBuild b/office/tellico/tellico.SlackBuild
index 001b067864bc5..7e9987668ae70 100644
--- a/office/tellico/tellico.SlackBuild
+++ b/office/tellico/tellico.SlackBuild
@@ -26,6 +26,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tellico
VERSION=${VERSION:-3.4}
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/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index dbe8e49de7edc..0f9df46a81680 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -24,12 +24,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=texlive-docs
VERSION=${VERSION:-2020.200608}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/texlive-extra/texlive-extra.SlackBuild b/office/texlive-extra/texlive-extra.SlackBuild
index 3e9e2a56a1145..a5de8aa312bdc 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -24,12 +24,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=texlive-extra
VERSION=${VERSION:-2020.200608}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild
index b3ad0742d96bd..59f0c8c18bec4 100644
--- a/office/texmacs/texmacs.SlackBuild
+++ b/office/texmacs/texmacs.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texmacs
VERSION=${VERSION:-2.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/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild
index 4166cce85765a..7d69631a06dfc 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texmaker
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/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index 9f87b779211d7..a6335e8c84d43 100644
--- a/office/texstudio/texstudio.SlackBuild
+++ b/office/texstudio/texstudio.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texstudio
VERSION=${VERSION:-2.12.22}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/text2pdf/text2pdf.SlackBuild b/office/text2pdf/text2pdf.SlackBuild
index afaa80dc6471a..7cd74df5b644d 100644
--- a/office/text2pdf/text2pdf.SlackBuild
+++ b/office/text2pdf/text2pdf.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=text2pdf
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/office/texworks/texworks.SlackBuild b/office/texworks/texworks.SlackBuild
index 7326f43db663b..c26261192bc2a 100644
--- a/office/texworks/texworks.SlackBuild
+++ b/office/texworks/texworks.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=texworks
VERSION=${VERSION:-0.6.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/office/timetrap/timetrap.SlackBuild b/office/timetrap/timetrap.SlackBuild
index 62d713ad5cde7..6ca45accbefca 100644
--- a/office/timetrap/timetrap.SlackBuild
+++ b/office/timetrap/timetrap.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=timetrap
VERSION=${VERSION:-1.15.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/office/timew/timew.SlackBuild b/office/timew/timew.SlackBuild
index a22892a09fc5b..8799999b64f71 100644
--- a/office/timew/timew.SlackBuild
+++ b/office/timew/timew.SlackBuild
@@ -21,6 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#Set initial variables
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=timew
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/tnote/tnote.SlackBuild b/office/tnote/tnote.SlackBuild
index 57a8dae312018..b80530585635c 100644
--- a/office/tnote/tnote.SlackBuild
+++ b/office/tnote/tnote.SlackBuild
@@ -5,6 +5,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tnote
VERSION=${VERSION:-0.2.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/office/todo.txt-cli/todo.txt-cli.SlackBuild b/office/todo.txt-cli/todo.txt-cli.SlackBuild
index 0e8ee06624571..8cb1d559c7c90 100644
--- a/office/todo.txt-cli/todo.txt-cli.SlackBuild
+++ b/office/todo.txt-cli/todo.txt-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=todo.txt-cli
VERSION=${VERSION:-2.12.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/office/tpp/tpp.SlackBuild b/office/tpp/tpp.SlackBuild
index 7751c7132c1aa..1c3e9bb54eb58 100644
--- a/office/tpp/tpp.SlackBuild
+++ b/office/tpp/tpp.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tpp
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/traduisons/traduisons.SlackBuild b/office/traduisons/traduisons.SlackBuild
index 24b9bac6bfcb0..2ea4c9c69b33c 100644
--- a/office/traduisons/traduisons.SlackBuild
+++ b/office/traduisons/traduisons.SlackBuild
@@ -4,6 +4,8 @@
# Written by John Tyree johntyree@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=traduisons
VERSION=${VERSION:-0.6.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/office/treesheets/treesheets.SlackBuild b/office/treesheets/treesheets.SlackBuild
index 34cca2b4e33d1..5ba00b98ce1e7 100644
--- a/office/treesheets/treesheets.SlackBuild
+++ b/office/treesheets/treesheets.SlackBuild
@@ -6,6 +6,8 @@
# Written by Luke Williams ( xocel@iquidus.org )
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=treesheets
VERSION=${VERSION:-150616}
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/office/trelby/trelby.SlackBuild b/office/trelby/trelby.SlackBuild
index a18ad0d114840..5047798feab6d 100644
--- a/office/trelby/trelby.SlackBuild
+++ b/office/trelby/trelby.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=trelby
VERSION=${VERSION:-2.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/office/trello-cli/trello-cli.SlackBuild b/office/trello-cli/trello-cli.SlackBuild
index 967b8dc301c29..6a10a3a2f6f95 100644
--- a/office/trello-cli/trello-cli.SlackBuild
+++ b/office/trello-cli/trello-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=trello-cli
VERSION=${VERSION:-0.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/office/tudu/tudu.SlackBuild b/office/tudu/tudu.SlackBuild
index 5352bf8efc8f1..a9240ae0c4bc8 100644
--- a/office/tudu/tudu.SlackBuild
+++ b/office/tudu/tudu.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tudu
VERSION=${VERSION:-0.10.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/office/turtl/turtl.SlackBuild b/office/turtl/turtl.SlackBuild
index 99a4821b52573..e8d97eafb5b04 100644
--- a/office/turtl/turtl.SlackBuild
+++ b/office/turtl/turtl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=turtl
VERSION=${VERSION:-0.7.2.6}
SUFFIX=-pre-sync-fix
@@ -39,7 +41,6 @@ case "$( uname -m )" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/uncsv/uncsv.SlackBuild b/office/uncsv/uncsv.SlackBuild
index 5e72579320a62..3d699f199e5dd 100644
--- a/office/uncsv/uncsv.SlackBuild
+++ b/office/uncsv/uncsv.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uncsv
VERSION=${VERSION:-0.9.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/office/unoconv/unoconv.SlackBuild b/office/unoconv/unoconv.SlackBuild
index 38adf32742cdf..bc77fcfb52485 100644
--- a/office/unoconv/unoconv.SlackBuild
+++ b/office/unoconv/unoconv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unoconv
VERSION=${VERSION:-0.8.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/office/verbiste/verbiste.SlackBuild b/office/verbiste/verbiste.SlackBuild
index 402eccb533139..ad4f1abcb2044 100644
--- a/office/verbiste/verbiste.SlackBuild
+++ b/office/verbiste/verbiste.SlackBuild
@@ -9,12 +9,13 @@
# http://slackbuilds.org/templates/
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verbiste
VERSION=${VERSION:-0.1.40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/vlna/vlna.SlackBuild b/office/vlna/vlna.SlackBuild
index 8b1c28d5e601f..fbc8f11872978 100644
--- a/office/vlna/vlna.SlackBuild
+++ b/office/vlna/vlna.SlackBuild
@@ -4,6 +4,8 @@
# Petr Kletecka petr@kle.cz <2014>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vlna
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/vmd/vmd.SlackBuild b/office/vmd/vmd.SlackBuild
index 40d9cf11cab2a..c8a1ab87c8eac 100644
--- a/office/vmd/vmd.SlackBuild
+++ b/office/vmd/vmd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vmd
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/office/vym/vym.SlackBuild b/office/vym/vym.SlackBuild
index 0b87ce348a115..72c2861696f40 100644
--- a/office/vym/vym.SlackBuild
+++ b/office/vym/vym.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vym
VERSION=${VERSION:-2.2.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/office/wammu/wammu.SlackBuild b/office/wammu/wammu.SlackBuild
index e274baebb1a1d..391daf274a41c 100644
--- a/office/wammu/wammu.SlackBuild
+++ b/office/wammu/wammu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wammu
VERSION=${VERSION:-0.43}
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/office/watson/watson.SlackBuild b/office/watson/watson.SlackBuild
index 2354397fd7e30..1075ba1ca6dcd 100644
--- a/office/watson/watson.SlackBuild
+++ b/office/watson/watson.SlackBuild
@@ -24,6 +24,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=watson
SRCNAM=Watson
VERSION=${VERSION:-1.8.0}
@@ -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/office/when/when.SlackBuild b/office/when/when.SlackBuild
index 13b812346235c..9692be10e31c6 100644
--- a/office/when/when.SlackBuild
+++ b/office/when/when.SlackBuild
@@ -24,6 +24,8 @@
# Modified by slackbuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=when
VERSION=${VERSION:-1.1.40}
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/office/wink/wink.SlackBuild b/office/wink/wink.SlackBuild
index e04339a8446a0..5e1485a8d1922 100644
--- a/office/wink/wink.SlackBuild
+++ b/office/wink/wink.SlackBuild
@@ -1,4 +1,6 @@
#!/bin/bash
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wink
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
@@ -12,7 +14,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/wordgrinder/wordgrinder.SlackBuild b/office/wordgrinder/wordgrinder.SlackBuild
index 31daa641d7851..30b4fc25321b9 100644
--- a/office/wordgrinder/wordgrinder.SlackBuild
+++ b/office/wordgrinder/wordgrinder.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wordgrinder
VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/wps-office/wps-office.SlackBuild b/office/wps-office/wps-office.SlackBuild
index e59344ed41086..f44270e18adc1 100644
--- a/office/wps-office/wps-office.SlackBuild
+++ b/office/wps-office/wps-office.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wps-office
VERSION=${VERSION:-11.1.0.9719.XA}
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/office/wyrd/wyrd.SlackBuild b/office/wyrd/wyrd.SlackBuild
index 233849988cb22..a8a6b7d47245a 100644
--- a/office/wyrd/wyrd.SlackBuild
+++ b/office/wyrd/wyrd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wyrd
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-2}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/x_x/x_x.SlackBuild b/office/x_x/x_x.SlackBuild
index 3a2b1e6f858cf..28e65aa2fd217 100644
--- a/office/x_x/x_x.SlackBuild
+++ b/office/x_x/x_x.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x_x
VERSION=${VERSION:-20150330_d236f8f}
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/office/xlsx2csv/xlsx2csv.SlackBuild b/office/xlsx2csv/xlsx2csv.SlackBuild
index 4c7e11744912b..9287c32f3b03a 100644
--- a/office/xlsx2csv/xlsx2csv.SlackBuild
+++ b/office/xlsx2csv/xlsx2csv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xlsx2csv
VERSION=${VERSION:-0.7.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/office/xmind/xmind.SlackBuild b/office/xmind/xmind.SlackBuild
index c0bdd0c6d10d2..5306517bba5a4 100644
--- a/office/xmind/xmind.SlackBuild
+++ b/office/xmind/xmind.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=xmind
VERSION=${VERSION:-8update5}
SRCVERSION=${SRCVERSION:-8-update5}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/xournal/xournal.SlackBuild b/office/xournal/xournal.SlackBuild
index 87f994ea6f572..517c0c6ea4773 100644
--- a/office/xournal/xournal.SlackBuild
+++ b/office/xournal/xournal.SlackBuild
@@ -4,6 +4,8 @@
# Written by Michael Filz <the_emmel@gmx.net>
# Updated by Rob van Nues <sborg63@disroot.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xournal
VERSION=${VERSION:-0.4.8.2016}
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/office/xournalpp/xournalpp.SlackBuild b/office/xournalpp/xournalpp.SlackBuild
index fc82b73adf403..821aed28ff5ab 100644
--- a/office/xournalpp/xournalpp.SlackBuild
+++ b/office/xournalpp/xournalpp.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xournalpp
VERSION=${VERSION:-1.0.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/office/xpad/xpad.SlackBuild b/office/xpad/xpad.SlackBuild
index 73129db44ebbb..a666ff642bb97 100644
--- a/office/xpad/xpad.SlackBuild
+++ b/office/xpad/xpad.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=xpad
VERSION=${VERSION:-4.8.0}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/xreader/xreader.SlackBuild b/office/xreader/xreader.SlackBuild
index 5e29dc27845d9..2883054583b1b 100644
--- a/office/xreader/xreader.SlackBuild
+++ b/office/xreader/xreader.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xreader
VERSION=${VERSION:-1.4.4}
# To configure the source we need macros that exist in mate-common
@@ -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/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index 6fd7450ffc307..24c87aa5c2b00 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtrkcad
VERSION=${VERSION:-5.1.2a}
SRCVERSION=$(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/office/zathura-cb/zathura-cb.SlackBuild b/office/zathura-cb/zathura-cb.SlackBuild
index fa9206439f2fa..6cd6d1327f79c 100644
--- a/office/zathura-cb/zathura-cb.SlackBuild
+++ b/office/zathura-cb/zathura-cb.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-cb
VERSION=${VERSION:-0.1.7}
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/office/zathura-djvu/zathura-djvu.SlackBuild b/office/zathura-djvu/zathura-djvu.SlackBuild
index 16adf83003987..b5280d71ea0f9 100644
--- a/office/zathura-djvu/zathura-djvu.SlackBuild
+++ b/office/zathura-djvu/zathura-djvu.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-djvu
VERSION=${VERSION:-0.2.7}
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/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index 9c41246f3494e..84b7f52bd6c53 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-pdf-mupdf
VERSION=${VERSION:-0.3.2}
BUILD=${BUILD:-2}
@@ -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/office/zathura-ps/zathura-ps.SlackBuild b/office/zathura-ps/zathura-ps.SlackBuild
index 9b5b4c08c6ade..fbff03a21bf1d 100644
--- a/office/zathura-ps/zathura-ps.SlackBuild
+++ b/office/zathura-ps/zathura-ps.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-ps
VERSION=${VERSION:-0.2.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/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild
index b0555bb9c51e2..783763f4500ba 100644
--- a/office/zathura/zathura.SlackBuild
+++ b/office/zathura/zathura.SlackBuild
@@ -78,6 +78,8 @@
# - Include generated man pages
# - fix homepage URL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura
VERSION=${VERSION:-0.3.8}
BUILD=${BUILD:-1}
@@ -91,7 +93,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/office/zim/zim.SlackBuild b/office/zim/zim.SlackBuild
index a12775e6dbeab..9053c1d4a613a 100644
--- a/office/zim/zim.SlackBuild
+++ b/office/zim/zim.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=zim
VERSION=${VERSION:-0.73.5}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}