aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 11:41:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-05 16:01:32 +0700
commit7f26b9929fe95171f3719de3f601b696a2def263 (patch)
treec695221c62ff155a5a657883822af40538d24f23 /academic
parente6362e61d4cb76998694df32c864f5ceb3d95d54 (diff)
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/CAFS_divergence/CAFS_divergence.SlackBuild3
-rw-r--r--academic/CAPS_coevolution/CAPS_coevolution.SlackBuild3
-rw-r--r--academic/Data2FCS/Data2FCS.SlackBuild3
-rw-r--r--academic/DendroPy/DendroPy.SlackBuild3
-rw-r--r--academic/EMBASSY/EMBASSY.SlackBuild3
-rw-r--r--academic/EMBOSS/EMBOSS.SlackBuild3
-rw-r--r--academic/FCSalyzer/FCSalyzer.SlackBuild3
-rw-r--r--academic/FreeFem/FreeFem.SlackBuild3
-rw-r--r--academic/Gblocks/Gblocks.SlackBuild3
-rw-r--r--academic/GeoGebra/GeoGebra.SlackBuild3
-rw-r--r--academic/Gridcoin-Research/Gridcoin-Research.SlackBuild3
-rw-r--r--academic/HMMER/HMMER.SlackBuild3
-rw-r--r--academic/IGV/IGV.SlackBuild3
-rw-r--r--academic/ITK/ITK.SlackBuild3
-rw-r--r--academic/Kst/Kst.SlackBuild3
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.SlackBuild3
-rw-r--r--academic/Mnemosyne/Mnemosyne.SlackBuild3
-rw-r--r--academic/OpenFOAM/OpenFOAM.SlackBuild3
-rw-r--r--academic/PhyML/PhyML.SlackBuild3
-rw-r--r--academic/PyAMG/PyAMG.SlackBuild3
-rw-r--r--academic/QtiPlot/QtiPlot.SlackBuild3
-rw-r--r--academic/R/R.SlackBuild3
-rw-r--r--academic/RAxML/RAxML.SlackBuild3
-rw-r--r--academic/RepeatMasker/RepeatMasker.SlackBuild3
-rw-r--r--academic/STAR/STAR.SlackBuild3
-rw-r--r--academic/SU2/SU2.SlackBuild3
-rw-r--r--academic/SeqMonk/SeqMonk.SlackBuild3
-rw-r--r--academic/Shark/Shark.SlackBuild3
-rw-r--r--academic/TreeGraph/TreeGraph.SlackBuild3
-rw-r--r--academic/ViennaRNA/ViennaRNA.SlackBuild3
-rw-r--r--academic/WEVOTE/WEVOTE.SlackBuild3
-rw-r--r--academic/WordNet/WordNet.SlackBuild3
-rw-r--r--academic/Xyce/Xyce.SlackBuild3
-rw-r--r--academic/ZeGrapher/ZeGrapher.SlackBuild3
-rw-r--r--academic/abella/abella.SlackBuild3
-rw-r--r--academic/abntex/abntex.SlackBuild3
-rw-r--r--academic/aenig4/aenig4.SlackBuild3
-rw-r--r--academic/aline/aline.SlackBuild3
-rw-r--r--academic/aliview/aliview.SlackBuild3
-rw-r--r--academic/amd/amd.SlackBuild3
-rw-r--r--academic/amplicon/amplicon.SlackBuild3
-rw-r--r--academic/amplifx/amplifx.SlackBuild3
-rw-r--r--academic/antiprism/antiprism.SlackBuild3
-rw-r--r--academic/archaeopteryx/archaeopteryx.SlackBuild3
-rw-r--r--academic/aris/aris.SlackBuild3
-rw-r--r--academic/arka/arka.SlackBuild3
-rw-r--r--academic/armadillo/armadillo.SlackBuild3
-rw-r--r--academic/arpack-ng/arpack-ng.SlackBuild3
-rw-r--r--academic/arpack/arpack.SlackBuild3
-rw-r--r--academic/artha/artha.SlackBuild3
-rw-r--r--academic/avl/avl.SlackBuild3
-rw-r--r--academic/avogadro/avogadro.SlackBuild3
-rw-r--r--academic/bcftools/bcftools.SlackBuild3
-rw-r--r--academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild3
-rw-r--r--academic/bedtools/bedtools.SlackBuild3
-rw-r--r--academic/biblesync/biblesync.SlackBuild3
-rw-r--r--academic/bibletime/bibletime.SlackBuild3
-rw-r--r--academic/bibus/bibus.SlackBuild3
-rw-r--r--academic/biopython/biopython.SlackBuild3
-rw-r--r--academic/boinc/boinc.SlackBuild3
-rw-r--r--academic/bowtie/bowtie.SlackBuild3
-rw-r--r--academic/bowtie2-legacy/bowtie2-legacy.SlackBuild3
-rw-r--r--academic/bowtie2/bowtie2.SlackBuild3
-rw-r--r--academic/bpp-core/bpp-core.SlackBuild3
-rw-r--r--academic/bpp-phyl-omics/bpp-phyl-omics.SlackBuild3
-rw-r--r--academic/bpp-phyl/bpp-phyl.SlackBuild3
-rw-r--r--academic/bpp-popgen/bpp-popgen.SlackBuild3
-rw-r--r--academic/bpp-seq-omics/bpp-seq-omics.SlackBuild3
-rw-r--r--academic/bpp-seq/bpp-seq.SlackBuild3
-rw-r--r--academic/bpp1.9-numcalc/bpp1.9-numcalc.SlackBuild3
-rw-r--r--academic/bpp1.9-phyl/bpp1.9-phyl.SlackBuild3
-rw-r--r--academic/bpp1.9-seq/bpp1.9-seq.SlackBuild3
-rw-r--r--academic/bpp1.9-utils/bpp1.9-utils.SlackBuild3
-rw-r--r--academic/bppsuite/bppsuite.SlackBuild3
-rw-r--r--academic/btf/btf.SlackBuild3
-rw-r--r--academic/bwa/bwa.SlackBuild3
-rw-r--r--academic/cadabra2/cadabra2.SlackBuild3
-rw-r--r--academic/calc/calc.SlackBuild3
-rw-r--r--academic/calcoo/calcoo.SlackBuild3
-rw-r--r--academic/camd/camd.SlackBuild3
-rw-r--r--academic/cap3/cap3.SlackBuild3
-rw-r--r--academic/cblas/cblas.SlackBuild3
-rw-r--r--academic/ccolamd/ccolamd.SlackBuild3
-rw-r--r--academic/cdo/cdo.SlackBuild3
-rw-r--r--academic/celestia/celestia.SlackBuild3
-rw-r--r--academic/chartgeany/chartgeany.SlackBuild3
-rw-r--r--academic/chemtool/chemtool.SlackBuild3
-rw-r--r--academic/cholmod/cholmod.SlackBuild3
-rw-r--r--academic/cistrome-CEAS/cistrome-CEAS.SlackBuild3
-rw-r--r--academic/cistrome-MACS/cistrome-MACS.SlackBuild3
-rw-r--r--academic/cistrome-conductGO/cistrome-conductGO.SlackBuild3
-rw-r--r--academic/cistrome-extra/cistrome-extra.SlackBuild3
-rw-r--r--academic/cistrome-mdseqpos/cistrome-mdseqpos.SlackBuild3
-rw-r--r--academic/clark-ugene/clark-ugene.SlackBuild3
-rw-r--r--academic/cld2/cld2.SlackBuild3
-rw-r--r--academic/clustalo/clustalo.SlackBuild3
-rw-r--r--academic/clustalw/clustalw.SlackBuild3
-rw-r--r--academic/clustalx/clustalx.SlackBuild3
-rw-r--r--academic/colamd/colamd.SlackBuild3
-rw-r--r--academic/colin/colin.SlackBuild3
-rw-r--r--academic/convertall/convertall.SlackBuild3
-rw-r--r--academic/copasi/copasi.SlackBuild3
-rw-r--r--academic/coq/coq.SlackBuild3
-rw-r--r--academic/cryptominisat/cryptominisat.SlackBuild3
-rw-r--r--academic/csparse/csparse.SlackBuild3
-rw-r--r--academic/cufflinks/cufflinks.SlackBuild3
-rw-r--r--academic/cutadapt/cutadapt.SlackBuild3
-rw-r--r--academic/cvc4/cvc4.SlackBuild3
-rw-r--r--academic/cxsparse/cxsparse.SlackBuild3
-rw-r--r--academic/dakota/dakota.SlackBuild3
-rw-r--r--academic/datamash/datamash.SlackBuild3
-rw-r--r--academic/diamond/diamond.SlackBuild3
-rw-r--r--academic/drawtiming/drawtiming.SlackBuild3
-rw-r--r--academic/ds9/ds9.SlackBuild3
-rw-r--r--academic/easy_spice/easy_spice.SlackBuild3
-rw-r--r--academic/ed-v6/ed-v6.SlackBuild3
-rw-r--r--academic/edsim51di/edsim51di.SlackBuild3
-rw-r--r--academic/engauge/engauge.SlackBuild3
-rw-r--r--academic/ent/ent.SlackBuild3
-rw-r--r--academic/eprover/eprover.SlackBuild3
-rw-r--r--academic/equalx/equalx.SlackBuild3
-rw-r--r--academic/ess/ess.SlackBuild3
-rw-r--r--academic/evopedia_qt/evopedia_qt.SlackBuild3
-rw-r--r--academic/exonerate/exonerate.SlackBuild3
-rw-r--r--academic/extrema/extrema.SlackBuild3
-rw-r--r--academic/fann/fann.SlackBuild3
-rw-r--r--academic/fastqc/fastqc.SlackBuild3
-rw-r--r--academic/fet/fet.SlackBuild3
-rw-r--r--academic/fiji/fiji.SlackBuild3
-rw-r--r--academic/finchtv/finchtv.SlackBuild3
-rw-r--r--academic/fityk/fityk.SlackBuild3
-rw-r--r--academic/flann/flann.SlackBuild3
-rw-r--r--academic/flashqard/flashqard.SlackBuild3
-rw-r--r--academic/flexbar/flexbar.SlackBuild3
-rw-r--r--academic/free42/free42.SlackBuild3
-rw-r--r--academic/g3data/g3data.SlackBuild3
-rw-r--r--academic/galculator/galculator.SlackBuild3
-rw-r--r--academic/gaw3/gaw3.SlackBuild3
-rw-r--r--academic/gchemutils/gchemutils.SlackBuild3
-rw-r--r--academic/gcompris-qt/gcompris-qt.SlackBuild3
-rw-r--r--academic/gcompris/gcompris.SlackBuild3
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild3
-rw-r--r--academic/gelemental/gelemental.SlackBuild3
-rw-r--r--academic/geneconv/geneconv.SlackBuild3
-rw-r--r--academic/genius/genius.SlackBuild3
-rw-r--r--academic/genometools/genometools.SlackBuild3
-rw-r--r--academic/genpak/genpak.SlackBuild3
-rw-r--r--academic/geomview/geomview.SlackBuild3
-rw-r--r--academic/gerbv/gerbv.SlackBuild3
-rw-r--r--academic/getdp/getdp.SlackBuild3
-rw-r--r--academic/ggobi/ggobi.SlackBuild3
-rw-r--r--academic/ghemical/ghemical.SlackBuild3
-rw-r--r--academic/glpk/glpk.SlackBuild3
-rw-r--r--academic/gmsh/gmsh.SlackBuild3
-rw-r--r--academic/gnucap/gnucap.SlackBuild3
-rw-r--r--academic/gp2fasta/gp2fasta.SlackBuild3
-rw-r--r--academic/gpredict/gpredict.SlackBuild3
-rw-r--r--academic/grace/grace.SlackBuild3
-rw-r--r--academic/gresistor/gresistor.SlackBuild3
-rw-r--r--academic/gretl/gretl.SlackBuild3
-rw-r--r--academic/gri/gri.SlackBuild3
-rw-r--r--academic/grpn/grpn.SlackBuild3
-rw-r--r--academic/gspiceui/gspiceui.SlackBuild3
-rw-r--r--academic/gtkwave/gtkwave.SlackBuild3
-rw-r--r--academic/gtypist/gtypist.SlackBuild3
-rw-r--r--academic/gwyddion/gwyddion.SlackBuild3
-rw-r--r--academic/h5utils/h5utils.SlackBuild3
-rw-r--r--academic/harminv/harminv.SlackBuild3
-rw-r--r--academic/hyphy/hyphy.SlackBuild3
-rw-r--r--academic/iTest/iTest.SlackBuild3
-rw-r--r--academic/io_lib/io_lib.SlackBuild3
-rw-r--r--academic/irsim/irsim.SlackBuild3
-rw-r--r--academic/isoelectric-point/isoelectric-point.SlackBuild3
-rw-r--r--academic/itex2mml/itex2mml.SlackBuild3
-rw-r--r--academic/jalview/jalview.SlackBuild3
-rw-r--r--academic/jellyfish_k-mer/jellyfish_k-mer.SlackBuild3
-rw-r--r--academic/jpicedt/jpicedt.SlackBuild3
-rw-r--r--academic/jugglinglab/jugglinglab.SlackBuild3
-rw-r--r--academic/karma/karma.SlackBuild3
-rw-r--r--academic/kiwisolver/kiwisolver.SlackBuild3
-rw-r--r--academic/klavaro/klavaro.SlackBuild3
-rw-r--r--academic/klu/klu.SlackBuild3
-rw-r--r--academic/knime/knime.SlackBuild3
-rw-r--r--academic/kraken/kraken.SlackBuild3
-rw-r--r--academic/ktikz/ktikz.SlackBuild3
-rw-r--r--academic/kurso/kurso.SlackBuild3
-rw-r--r--academic/labplot2/labplot2.SlackBuild3
-rw-r--r--academic/ladr/ladr.SlackBuild3
-rw-r--r--academic/lalnview/lalnview.SlackBuild3
-rw-r--r--academic/lapack95/lapack95.SlackBuild3
-rw-r--r--academic/lapacke/lapacke.SlackBuild3
-rw-r--r--academic/latex2html/latex2html.SlackBuild3
-rw-r--r--academic/ldl/ldl.SlackBuild3
-rw-r--r--academic/libghemical/libghemical.SlackBuild3
-rw-r--r--academic/link-grammar/link-grammar.SlackBuild3
-rw-r--r--academic/locarna/locarna.SlackBuild3
-rw-r--r--academic/lpsolve/lpsolve.SlackBuild3
-rw-r--r--academic/mafft/mafft.SlackBuild3
-rw-r--r--academic/magic/magic.SlackBuild3
-rw-r--r--academic/mathics/mathics.SlackBuild3
-rw-r--r--academic/mathomatic/mathomatic.SlackBuild3
-rw-r--r--academic/matio/matio.SlackBuild3
-rw-r--r--academic/maxima/maxima.SlackBuild3
-rw-r--r--academic/meep/meep.SlackBuild3
-rw-r--r--academic/megax/megax.SlackBuild3
-rw-r--r--academic/meme-db-gomo/meme-db-gomo.SlackBuild3
-rw-r--r--academic/meme-db-motif/meme-db-motif.SlackBuild3
-rw-r--r--academic/meme-db-tgene/meme-db-tgene.SlackBuild3
-rw-r--r--academic/meme-suite/meme-suite.SlackBuild3
-rw-r--r--academic/mendeleydesktop/mendeleydesktop.SlackBuild3
-rw-r--r--academic/metis/metis.SlackBuild3
-rw-r--r--academic/mkDSSP/mkDSSP.SlackBuild3
-rw-r--r--academic/mpb/mpb.SlackBuild3
-rw-r--r--academic/mrbayes/mrbayes.SlackBuild3
-rw-r--r--academic/muscle/muscle.SlackBuild3
-rw-r--r--academic/ncbi-blast+/ncbi-blast+.SlackBuild3
-rw-r--r--academic/ncbi-blast/ncbi-blast.SlackBuild3
-rw-r--r--academic/ncbi-rmblastn/ncbi-rmblastn.SlackBuild3
-rw-r--r--academic/nco/nco.SlackBuild3
-rw-r--r--academic/ncview/ncview.SlackBuild3
-rw-r--r--academic/ngspice/ngspice.SlackBuild3
-rw-r--r--academic/novocraft/novocraft.SlackBuild3
-rw-r--r--academic/octave/octave.SlackBuild3
-rw-r--r--academic/openboard/openboard.SlackBuild3
-rw-r--r--academic/pal2nal/pal2nal.SlackBuild3
-rw-r--r--academic/paml/paml.SlackBuild3
-rw-r--r--academic/pamlX/pamlX.SlackBuild3
-rw-r--r--academic/papi/papi.SlackBuild3
-rw-r--r--academic/pari/pari.SlackBuild3
-rw-r--r--academic/parmetis/parmetis.SlackBuild3
-rw-r--r--academic/patsy/patsy.SlackBuild3
-rw-r--r--academic/pcalc/pcalc.SlackBuild3
-rw-r--r--academic/pcb/pcb.SlackBuild3
-rw-r--r--academic/perlprimer/perlprimer.SlackBuild3
-rw-r--r--academic/pianobooster/pianobooster.SlackBuild3
-rw-r--r--academic/plasmidomics/plasmidomics.SlackBuild3
-rw-r--r--academic/prank-msa/prank-msa.SlackBuild3
-rw-r--r--academic/primer3/primer3.SlackBuild3
-rw-r--r--academic/pspp/pspp.SlackBuild3
-rw-r--r--academic/pulseview/pulseview.SlackBuild3
-rw-r--r--academic/pyCRAC/pyCRAC.SlackBuild3
-rw-r--r--academic/pyfits/pyfits.SlackBuild3
-rw-r--r--academic/pysam/pysam.SlackBuild3
-rw-r--r--academic/qalculate-gtk/qalculate-gtk.SlackBuild3
-rw-r--r--academic/qcl/qcl.SlackBuild3
-rw-r--r--academic/qhull/qhull.SlackBuild3
-rw-r--r--academic/qrupdate/qrupdate.SlackBuild3
-rw-r--r--academic/qucs/qucs.SlackBuild3
-rw-r--r--academic/rbio/rbio.SlackBuild3
-rw-r--r--academic/reduce-algebra/reduce-algebra.SlackBuild3
-rw-r--r--academic/root/root.SlackBuild3
-rw-r--r--academic/rpy2/rpy2.SlackBuild3
-rw-r--r--academic/sage-bin/sage-bin.SlackBuild3
-rw-r--r--academic/sage/sage.SlackBuild3
-rw-r--r--academic/samtools-legacy/samtools-legacy.SlackBuild3
-rw-r--r--academic/samtools/samtools.SlackBuild3
-rw-r--r--academic/scidavis/scidavis.SlackBuild3
-rw-r--r--academic/scilab/scilab.SlackBuild3
-rw-r--r--academic/scipy/scipy.SlackBuild3
-rw-r--r--academic/scipy3/scipy3.SlackBuild3
-rw-r--r--academic/seaview/seaview.SlackBuild3
-rw-r--r--academic/seqkit/seqkit.SlackBuild3
-rw-r--r--academic/sequence-analysis/sequence-analysis.SlackBuild3
-rw-r--r--academic/sigrok-cli/sigrok-cli.SlackBuild3
-rw-r--r--academic/siril/siril.SlackBuild3
-rw-r--r--academic/smath-studio/smath-studio.SlackBuild3
-rw-r--r--academic/snpEff/snpEff.SlackBuild3
-rw-r--r--academic/solfege/solfege.SlackBuild3
-rw-r--r--academic/spades/spades.SlackBuild3
-rw-r--r--academic/speedcrunch/speedcrunch.SlackBuild3
-rw-r--r--academic/spiceopus/spiceopus.SlackBuild3
-rw-r--r--academic/spidey/spidey.SlackBuild3
-rw-r--r--academic/spqr/spqr.SlackBuild3
-rw-r--r--academic/squizz/squizz.SlackBuild3
-rw-r--r--academic/staden/staden.SlackBuild3
-rw-r--r--academic/stellarium/stellarium.SlackBuild3
-rw-r--r--academic/stringtie/stringtie.SlackBuild3
-rw-r--r--academic/suitesparse/suitesparse.SlackBuild3
-rw-r--r--academic/suitesparseconfig/suitesparseconfig.SlackBuild3
-rw-r--r--academic/sundials/sundials.SlackBuild3
-rw-r--r--academic/sword-data-kjv/sword-data-kjv.SlackBuild3
-rw-r--r--academic/sword/sword.SlackBuild3
-rw-r--r--academic/t_coffee/t_coffee.SlackBuild3
-rw-r--r--academic/tabix-legacy/tabix-legacy.SlackBuild3
-rw-r--r--academic/tiemu/tiemu.SlackBuild3
-rw-r--r--academic/tilem/tilem.SlackBuild3
-rw-r--r--academic/tilem2/tilem2.SlackBuild3
-rw-r--r--academic/tkgate/tkgate.SlackBuild3
-rw-r--r--academic/topdraw/topdraw.SlackBuild3
-rw-r--r--academic/tophat/tophat.SlackBuild3
-rw-r--r--academic/treebest-ensembl/treebest-ensembl.SlackBuild3
-rw-r--r--academic/treerecs/treerecs.SlackBuild3
-rw-r--r--academic/treeviewx/treeviewx.SlackBuild3
-rw-r--r--academic/trfind/trfind.SlackBuild3
-rw-r--r--academic/trimmomatic/trimmomatic.SlackBuild3
-rw-r--r--academic/tuxmath/tuxmath.SlackBuild3
-rw-r--r--academic/tuxtype2/tuxtype2.SlackBuild3
-rw-r--r--academic/ucsc-blat/ucsc-blat.SlackBuild3
-rw-r--r--academic/ugene/ugene.SlackBuild3
-rw-r--r--academic/umfpack/umfpack.SlackBuild3
-rw-r--r--academic/units/units.SlackBuild3
-rw-r--r--academic/vCAPS_coevolution/vCAPS_coevolution.SlackBuild3
-rw-r--r--academic/vcftools/vcftools.SlackBuild3
-rw-r--r--academic/verilator/verilator.SlackBuild3
-rw-r--r--academic/verilog/verilog.SlackBuild3
-rw-r--r--academic/veusz/veusz.SlackBuild3
-rw-r--r--academic/wehi-cellsymphony/wehi-cellsymphony.SlackBuild3
-rw-r--r--academic/wehi-deid/wehi-deid.SlackBuild3
-rw-r--r--academic/wehi-hackit/wehi-hackit.SlackBuild3
-rw-r--r--academic/wehi-weasel/wehi-weasel.SlackBuild3
-rw-r--r--academic/wmcalc/wmcalc.SlackBuild3
-rw-r--r--academic/wxMaxima/wxMaxima.SlackBuild3
-rw-r--r--academic/xcircuit/xcircuit.SlackBuild3
-rw-r--r--academic/xephem/xephem.SlackBuild3
-rw-r--r--academic/xflr5/xflr5.SlackBuild3
-rw-r--r--academic/xfoil/xfoil.SlackBuild3
-rw-r--r--academic/xiphos/xiphos.SlackBuild3
-rw-r--r--academic/xoscope/xoscope.SlackBuild3
-rw-r--r--academic/z3/z3.SlackBuild3
-rw-r--r--academic/zotero/zotero.SlackBuild3
320 files changed, 640 insertions, 320 deletions
diff --git a/academic/CAFS_divergence/CAFS_divergence.SlackBuild b/academic/CAFS_divergence/CAFS_divergence.SlackBuild
index fae39fc8640a5..7e4226aee2089 100644
--- a/academic/CAFS_divergence/CAFS_divergence.SlackBuild
+++ b/academic/CAFS_divergence/CAFS_divergence.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CAFS_divergence
BINNAM=cafs
SYSTOS=linux
@@ -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/academic/CAPS_coevolution/CAPS_coevolution.SlackBuild b/academic/CAPS_coevolution/CAPS_coevolution.SlackBuild
index 90f1cc1fd3a1e..0ae60664ccd2f 100644
--- a/academic/CAPS_coevolution/CAPS_coevolution.SlackBuild
+++ b/academic/CAPS_coevolution/CAPS_coevolution.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CAPS_coevolution
VERSION=${VERSION:-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/academic/Data2FCS/Data2FCS.SlackBuild b/academic/Data2FCS/Data2FCS.SlackBuild
index 05ed763793dd0..93bb8a0b9ec65 100644
--- a/academic/Data2FCS/Data2FCS.SlackBuild
+++ b/academic/Data2FCS/Data2FCS.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Data2FCS
PRGADD=FCS2Data
VERSION=${VERSION:-1.0}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/DendroPy/DendroPy.SlackBuild b/academic/DendroPy/DendroPy.SlackBuild
index 7011fca1ae326..2d52d072a6d7f 100644
--- a/academic/DendroPy/DendroPy.SlackBuild
+++ b/academic/DendroPy/DendroPy.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=DendroPy
VERSION=${VERSION:-4.4.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/EMBASSY/EMBASSY.SlackBuild b/academic/EMBASSY/EMBASSY.SlackBuild
index b5e8e9d5a7b82..6d89d976aa731 100644
--- a/academic/EMBASSY/EMBASSY.SlackBuild
+++ b/academic/EMBASSY/EMBASSY.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=EMBASSY
VERSION=${VERSION:-6.6.0} # Keep this the same version as EMBOSS
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/academic/EMBOSS/EMBOSS.SlackBuild b/academic/EMBOSS/EMBOSS.SlackBuild
index 39a868ea11b96..5175dcc1a90f4 100644
--- a/academic/EMBOSS/EMBOSS.SlackBuild
+++ b/academic/EMBOSS/EMBOSS.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=EMBOSS
VERSION=${VERSION:-6.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/academic/FCSalyzer/FCSalyzer.SlackBuild b/academic/FCSalyzer/FCSalyzer.SlackBuild
index 8e424344ed3e9..30d4c6127d58e 100644
--- a/academic/FCSalyzer/FCSalyzer.SlackBuild
+++ b/academic/FCSalyzer/FCSalyzer.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FCSalyzer
VERSION=${VERSION:-0.9.22_alpha}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCVER=0.9.22-alpha
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/FreeFem/FreeFem.SlackBuild b/academic/FreeFem/FreeFem.SlackBuild
index 7eaf4bce3a165..769bda6f38a1f 100644
--- a/academic/FreeFem/FreeFem.SlackBuild
+++ b/academic/FreeFem/FreeFem.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=FreeFem
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/academic/Gblocks/Gblocks.SlackBuild b/academic/Gblocks/Gblocks.SlackBuild
index d437123696ad5..b423d3f71f129 100644
--- a/academic/Gblocks/Gblocks.SlackBuild
+++ b/academic/Gblocks/Gblocks.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Gblocks
VERSION=${VERSION:-0.91b}
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/academic/GeoGebra/GeoGebra.SlackBuild b/academic/GeoGebra/GeoGebra.SlackBuild
index 75f63fad4efec..d51b79d524e6e 100644
--- a/academic/GeoGebra/GeoGebra.SlackBuild
+++ b/academic/GeoGebra/GeoGebra.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GeoGebra
VERSION=${VERSION:-5.0.361.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/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
index 7df197912f04b..976de25838c42 100644
--- a/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
+++ b/academic/Gridcoin-Research/Gridcoin-Research.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Gridcoin-Research
VERSION=${VERSION:-5.3.1.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/HMMER/HMMER.SlackBuild b/academic/HMMER/HMMER.SlackBuild
index fad194ea74e4a..5f81eb1ad5511 100644
--- a/academic/HMMER/HMMER.SlackBuild
+++ b/academic/HMMER/HMMER.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=HMMER
VERSION=${VERSION:-3.3.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/academic/IGV/IGV.SlackBuild b/academic/IGV/IGV.SlackBuild
index 7943af51215b3..478a4167823b5 100644
--- a/academic/IGV/IGV.SlackBuild
+++ b/academic/IGV/IGV.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=IGV
VERSION=${VERSION:-2.9.4}
BUILD=${BUILD:-1}
@@ -38,7 +40,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/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index 5582ce62f0c5c..03051594c4dcc 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.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=ITK
SRCNAM=InsightToolkit
VERSION=${VERSION:-4.13.2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/Kst/Kst.SlackBuild b/academic/Kst/Kst.SlackBuild
index cd9358d987505..939745c1f904a 100644
--- a/academic/Kst/Kst.SlackBuild
+++ b/academic/Kst/Kst.SlackBuild
@@ -4,6 +4,8 @@
# Written by Fellype do Nascimento <fellype(at)gmail.com>
# last modification of this build script: 2014/12/10
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Kst
VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
index e3bc787e47901..45b2eae30b836 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
+++ b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MetaPhlAn2
VERSION=${VERSION:-20201202_git4e4416}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/Mnemosyne/Mnemosyne.SlackBuild b/academic/Mnemosyne/Mnemosyne.SlackBuild
index aa0e5dbaf51bf..fa1f94a640c4d 100644
--- a/academic/Mnemosyne/Mnemosyne.SlackBuild
+++ b/academic/Mnemosyne/Mnemosyne.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Mnemosyne
VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/OpenFOAM/OpenFOAM.SlackBuild b/academic/OpenFOAM/OpenFOAM.SlackBuild
index c60222aa8ce2d..7eda62975e566 100644
--- a/academic/OpenFOAM/OpenFOAM.SlackBuild
+++ b/academic/OpenFOAM/OpenFOAM.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenFOAM
VERSION=${VERSION:-8}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/PhyML/PhyML.SlackBuild b/academic/PhyML/PhyML.SlackBuild
index 78ab655510ecd..7ee7fbe430b2d 100644
--- a/academic/PhyML/PhyML.SlackBuild
+++ b/academic/PhyML/PhyML.SlackBuild
@@ -24,6 +24,8 @@
# Thanks to Niels Horn for some handy modifications and corrections.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PhyML
VERSION=${VERSION:-3.3.20200621}
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/academic/PyAMG/PyAMG.SlackBuild b/academic/PyAMG/PyAMG.SlackBuild
index e7059b3aafc90..432f7d5bde7f4 100644
--- a/academic/PyAMG/PyAMG.SlackBuild
+++ b/academic/PyAMG/PyAMG.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PyAMG
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/academic/QtiPlot/QtiPlot.SlackBuild b/academic/QtiPlot/QtiPlot.SlackBuild
index 5c6e70a460526..c7e06fd8913f7 100644
--- a/academic/QtiPlot/QtiPlot.SlackBuild
+++ b/academic/QtiPlot/QtiPlot.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=QtiPlot
VERSION=${VERSION:-0.9.8.9}
BUILD=${BUILD:-2}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild
index 992a3bf56f408..27ae826ce42d6 100644
--- a/academic/R/R.SlackBuild
+++ b/academic/R/R.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=R
VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/RAxML/RAxML.SlackBuild b/academic/RAxML/RAxML.SlackBuild
index 79cdcce877b7a..c86165eedab79 100644
--- a/academic/RAxML/RAxML.SlackBuild
+++ b/academic/RAxML/RAxML.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=RAxML
VERSION=${VERSION:-8.2.12}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/RepeatMasker/RepeatMasker.SlackBuild b/academic/RepeatMasker/RepeatMasker.SlackBuild
index af4f5262a2df2..14c60200db0bc 100644
--- a/academic/RepeatMasker/RepeatMasker.SlackBuild
+++ b/academic/RepeatMasker/RepeatMasker.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=RepeatMasker
VERSION=${VERSION:-4.1.2_p1}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCVER=4.1.2-p1
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/STAR/STAR.SlackBuild b/academic/STAR/STAR.SlackBuild
index be33af1afd4fe..32d7db99c5a7b 100644
--- a/academic/STAR/STAR.SlackBuild
+++ b/academic/STAR/STAR.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=STAR
VERSION=${VERSION:-2.7.8a}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/SU2/SU2.SlackBuild b/academic/SU2/SU2.SlackBuild
index 2a452c87019ad..fd13d4cb0e85e 100644
--- a/academic/SU2/SU2.SlackBuild
+++ b/academic/SU2/SU2.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SU2
VERSION=${VERSION:-6.2.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/academic/SeqMonk/SeqMonk.SlackBuild b/academic/SeqMonk/SeqMonk.SlackBuild
index 429ca9250f7dd..5e20cd7af2597 100644
--- a/academic/SeqMonk/SeqMonk.SlackBuild
+++ b/academic/SeqMonk/SeqMonk.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SeqMonk
VERSION=${VERSION:-1.47.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/academic/Shark/Shark.SlackBuild b/academic/Shark/Shark.SlackBuild
index 0c8934d475b7c..296cc434f963a 100644
--- a/academic/Shark/Shark.SlackBuild
+++ b/academic/Shark/Shark.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=Shark
VERSION=${VERSION:-4.0.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/academic/TreeGraph/TreeGraph.SlackBuild b/academic/TreeGraph/TreeGraph.SlackBuild
index ea04a55bf2f75..1352b07dcf61a 100644
--- a/academic/TreeGraph/TreeGraph.SlackBuild
+++ b/academic/TreeGraph/TreeGraph.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=TreeGraph
VERSION=${VERSION:-2.15.0_887_beta}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ZIPVER=2.15.0-887_beta
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ViennaRNA/ViennaRNA.SlackBuild b/academic/ViennaRNA/ViennaRNA.SlackBuild
index b7ad073c7da2e..c79a15b86245f 100644
--- a/academic/ViennaRNA/ViennaRNA.SlackBuild
+++ b/academic/ViennaRNA/ViennaRNA.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ViennaRNA
VERSION=${VERSION:-2.4.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/academic/WEVOTE/WEVOTE.SlackBuild b/academic/WEVOTE/WEVOTE.SlackBuild
index cf6a4f2a9a9bd..d395f7266f530 100644
--- a/academic/WEVOTE/WEVOTE.SlackBuild
+++ b/academic/WEVOTE/WEVOTE.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=WEVOTE
VERSION=${VERSION:-1.8.0} # The version number is found in "install.sh"
COMMIT=645523db5aba843b2681e83146783b18e92866b1
@@ -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/academic/WordNet/WordNet.SlackBuild b/academic/WordNet/WordNet.SlackBuild
index d69cb5216acac..709f114b39273 100644
--- a/academic/WordNet/WordNet.SlackBuild
+++ b/academic/WordNet/WordNet.SlackBuild
@@ -5,6 +5,8 @@
# Written by Michael Gabilondo <mgabilo{at}gmail{dot}com>
# This work is in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=WordNet
VERSION=${VERSION:-3.0}
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/academic/Xyce/Xyce.SlackBuild b/academic/Xyce/Xyce.SlackBuild
index 2c06bc42a27db..d0121b929eeea 100644
--- a/academic/Xyce/Xyce.SlackBuild
+++ b/academic/Xyce/Xyce.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Xyce
VERSION=${VERSION:-6.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/academic/ZeGrapher/ZeGrapher.SlackBuild b/academic/ZeGrapher/ZeGrapher.SlackBuild
index 18b835637de55..a1f1b8a9cb00a 100644
--- a/academic/ZeGrapher/ZeGrapher.SlackBuild
+++ b/academic/ZeGrapher/ZeGrapher.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ZeGrapher
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/academic/abella/abella.SlackBuild b/academic/abella/abella.SlackBuild
index 9910ba5a56d85..b5e9b6dca4051 100644
--- a/academic/abella/abella.SlackBuild
+++ b/academic/abella/abella.SlackBuild
@@ -21,12 +21,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#==========================VARS
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abella
VERSION=${VERSION:-2.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/abntex/abntex.SlackBuild b/academic/abntex/abntex.SlackBuild
index f892d72f565cc..6cb1b45e55361 100644
--- a/academic/abntex/abntex.SlackBuild
+++ b/academic/abntex/abntex.SlackBuild
@@ -24,6 +24,8 @@
# Slightly modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abntex
VERSION=${VERSION:-0.9_beta2}
ARCH=noarch
@@ -33,7 +35,6 @@ TAG=${TAG:-_SBo}
MAJOR=$(echo $VERSION | cut -d _ -f 1)
MINOR=$(echo $VERSION | cut -d _ -f 2)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/aenig4/aenig4.SlackBuild b/academic/aenig4/aenig4.SlackBuild
index ac460f8001026..25d200a3ae916 100644
--- a/academic/aenig4/aenig4.SlackBuild
+++ b/academic/aenig4/aenig4.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aenig4
VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/aline/aline.SlackBuild b/academic/aline/aline.SlackBuild
index bd03f27f663f5..867fa3e5974f4 100644
--- a/academic/aline/aline.SlackBuild
+++ b/academic/aline/aline.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aline
VERSION=${VERSION:-1.0.025}
BUILD=${BUILD:-2}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
SRCVER=011208
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/aliview/aliview.SlackBuild b/academic/aliview/aliview.SlackBuild
index 9439fb95ed33c..d334b7070a0be 100644
--- a/academic/aliview/aliview.SlackBuild
+++ b/academic/aliview/aliview.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=aliview
VERSION=${VERSION:-1.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/amd/amd.SlackBuild b/academic/amd/amd.SlackBuild
index b25e4f8304e75..eb03ed25b9b17 100644
--- a/academic/amd/amd.SlackBuild
+++ b/academic/amd/amd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amd
SRCNAM=SuiteSparse
SUBDIR=AMD
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/amplicon/amplicon.SlackBuild b/academic/amplicon/amplicon.SlackBuild
index 91be823ff7eef..5ac7b045b6142 100644
--- a/academic/amplicon/amplicon.SlackBuild
+++ b/academic/amplicon/amplicon.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amplicon
VERSION=${VERSION:-b09.1}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/amplifx/amplifx.SlackBuild b/academic/amplifx/amplifx.SlackBuild
index d2c5ed5831517..cc86bccbd3720 100644
--- a/academic/amplifx/amplifx.SlackBuild
+++ b/academic/amplifx/amplifx.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amplifx
SRCNAM=AmplifX_Lin_Latest
VERSION=${VERSION:-1.7.0}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=i386
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/antiprism/antiprism.SlackBuild b/academic/antiprism/antiprism.SlackBuild
index 5fa9b9337ad8f..4d2998fe51d06 100644
--- a/academic/antiprism/antiprism.SlackBuild
+++ b/academic/antiprism/antiprism.SlackBuild
@@ -4,6 +4,8 @@
# Written by (Jorge Barros de Abreu) (ficmatin10 at gmail dot com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=antiprism
VERSION=${VERSION:-0.23}
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/academic/archaeopteryx/archaeopteryx.SlackBuild b/academic/archaeopteryx/archaeopteryx.SlackBuild
index 1624fb7bb114a..68a1d82ef96a0 100644
--- a/academic/archaeopteryx/archaeopteryx.SlackBuild
+++ b/academic/archaeopteryx/archaeopteryx.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=archaeopteryx
VERSION=${VERSION:-0.9928b}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=forester
SRCVER=1050
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/aris/aris.SlackBuild b/academic/aris/aris.SlackBuild
index 45891c9ef7bd7..46a6b911e9c68 100644
--- a/academic/aris/aris.SlackBuild
+++ b/academic/aris/aris.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aris
VERSION=${VERSION:-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/academic/arka/arka.SlackBuild b/academic/arka/arka.SlackBuild
index e76d6c6f573fd..801542d87bbc4 100644
--- a/academic/arka/arka.SlackBuild
+++ b/academic/arka/arka.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arka
VERSION=${VERSION:-0.11}
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/academic/armadillo/armadillo.SlackBuild b/academic/armadillo/armadillo.SlackBuild
index 3f4ec3e78db97..cf1bc4a8f928a 100644
--- a/academic/armadillo/armadillo.SlackBuild
+++ b/academic/armadillo/armadillo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=armadillo
VERSION=${VERSION:-8.100.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/academic/arpack-ng/arpack-ng.SlackBuild b/academic/arpack-ng/arpack-ng.SlackBuild
index 5e0e69b692e5c..6ab572c110683 100644
--- a/academic/arpack-ng/arpack-ng.SlackBuild
+++ b/academic/arpack-ng/arpack-ng.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arpack-ng
VERSION=${VERSION:-3.8.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/arpack/arpack.SlackBuild b/academic/arpack/arpack.SlackBuild
index 17fd689e23ab5..3d12583808b10 100644
--- a/academic/arpack/arpack.SlackBuild
+++ b/academic/arpack/arpack.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=arpack
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/artha/artha.SlackBuild b/academic/artha/artha.SlackBuild
index aec9fd69d7dbe..ef69b8fed0bf2 100644
--- a/academic/artha/artha.SlackBuild
+++ b/academic/artha/artha.SlackBuild
@@ -4,6 +4,8 @@
#
# Written by Mikhail Zotov <mikhail dot ru at gmail dot com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=artha
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/avl/avl.SlackBuild b/academic/avl/avl.SlackBuild
index 2b05a0ce486d3..edaebcd8e43d4 100644
--- a/academic/avl/avl.SlackBuild
+++ b/academic/avl/avl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avl
VERSION=${VERSION:-3.36}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild
index 436de706a1e0a..2346bc27c57e0 100644
--- a/academic/avogadro/avogadro.SlackBuild
+++ b/academic/avogadro/avogadro.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avogadro
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/academic/bcftools/bcftools.SlackBuild b/academic/bcftools/bcftools.SlackBuild
index 1a1d0797f771f..1021c0d762dda 100644
--- a/academic/bcftools/bcftools.SlackBuild
+++ b/academic/bcftools/bcftools.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bcftools
VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild b/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
index 6877ba2e612bf..d6092a4ba6e63 100644
--- a/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
+++ b/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bedGraphToBigWig
VERSION=${VERSION:-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/academic/bedtools/bedtools.SlackBuild b/academic/bedtools/bedtools.SlackBuild
index 1f736b60d35a4..27170a62bbe31 100644
--- a/academic/bedtools/bedtools.SlackBuild
+++ b/academic/bedtools/bedtools.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bedtools
DIRNAM=bedtools2
VERSION=${VERSION:-2.30.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/biblesync/biblesync.SlackBuild b/academic/biblesync/biblesync.SlackBuild
index 65d4b56b03ec1..a41bebcc074d3 100644
--- a/academic/biblesync/biblesync.SlackBuild
+++ b/academic/biblesync/biblesync.SlackBuild
@@ -30,6 +30,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=biblesync
VERSION=${VERSION:-2.1.0}
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/academic/bibletime/bibletime.SlackBuild b/academic/bibletime/bibletime.SlackBuild
index c98a6a3bfc68a..a76c7bd5d5348 100644
--- a/academic/bibletime/bibletime.SlackBuild
+++ b/academic/bibletime/bibletime.SlackBuild
@@ -29,6 +29,8 @@
# Modified 2018/19/20 by Tim Dickson (dickson.tim@googlemail.com)
# Modified 20200918 by B. Watson <yalhcru@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bibletime
VERSION=${VERSION:-3.0}
BUILD=${BUILD:-2}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bibus/bibus.SlackBuild b/academic/bibus/bibus.SlackBuild
index cfbf6e2873c1b..2463d07ccaf09 100644
--- a/academic/bibus/bibus.SlackBuild
+++ b/academic/bibus/bibus.SlackBuild
@@ -27,13 +27,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=bibus
VERSION=${VERSION:-1.5.2}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/biopython/biopython.SlackBuild b/academic/biopython/biopython.SlackBuild
index c87da86b5d7b8..32c23d9ca4a2f 100644
--- a/academic/biopython/biopython.SlackBuild
+++ b/academic/biopython/biopython.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=biopython
VERSION=${VERSION:-1.78}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/boinc/boinc.SlackBuild b/academic/boinc/boinc.SlackBuild
index 74b7927d16ef7..6e264aff01c88 100644
--- a/academic/boinc/boinc.SlackBuild
+++ b/academic/boinc/boinc.SlackBuild
@@ -24,6 +24,8 @@
#
# TODO: add rc.boinc.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=boinc
VERSION=${VERSION:-7.16.16}
BRANCH=${BRANCH:-7.16}
@@ -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/academic/bowtie/bowtie.SlackBuild b/academic/bowtie/bowtie.SlackBuild
index 7a6270347f6bb..92293fccef100 100644
--- a/academic/bowtie/bowtie.SlackBuild
+++ b/academic/bowtie/bowtie.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bowtie
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bowtie2-legacy/bowtie2-legacy.SlackBuild b/academic/bowtie2-legacy/bowtie2-legacy.SlackBuild
index ccb586e848487..f0f62a2c78071 100644
--- a/academic/bowtie2-legacy/bowtie2-legacy.SlackBuild
+++ b/academic/bowtie2-legacy/bowtie2-legacy.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bowtie2-legacy
VERSION=${VERSION:-2.1.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/academic/bowtie2/bowtie2.SlackBuild b/academic/bowtie2/bowtie2.SlackBuild
index 905da2ea97cf6..e9f4c3933a9e8 100644
--- a/academic/bowtie2/bowtie2.SlackBuild
+++ b/academic/bowtie2/bowtie2.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=bowtie2
VERSION=${VERSION:-2.4.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/academic/bpp-core/bpp-core.SlackBuild b/academic/bpp-core/bpp-core.SlackBuild
index 9d2bfa3f3bf38..85c937c246b88 100644
--- a/academic/bpp-core/bpp-core.SlackBuild
+++ b/academic/bpp-core/bpp-core.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-core
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp-phyl-omics/bpp-phyl-omics.SlackBuild b/academic/bpp-phyl-omics/bpp-phyl-omics.SlackBuild
index 5a64b3506b5db..6fe498d01f303 100644
--- a/academic/bpp-phyl-omics/bpp-phyl-omics.SlackBuild
+++ b/academic/bpp-phyl-omics/bpp-phyl-omics.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-phyl-omics
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp-phyl/bpp-phyl.SlackBuild b/academic/bpp-phyl/bpp-phyl.SlackBuild
index 07144afa5888f..2a0994e9fde32 100644
--- a/academic/bpp-phyl/bpp-phyl.SlackBuild
+++ b/academic/bpp-phyl/bpp-phyl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-phyl
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp-popgen/bpp-popgen.SlackBuild b/academic/bpp-popgen/bpp-popgen.SlackBuild
index fe21ba423aa93..c9daf4f63c81c 100644
--- a/academic/bpp-popgen/bpp-popgen.SlackBuild
+++ b/academic/bpp-popgen/bpp-popgen.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-popgen
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp-seq-omics/bpp-seq-omics.SlackBuild b/academic/bpp-seq-omics/bpp-seq-omics.SlackBuild
index df7cd5ef38a72..66261fdac7e96 100644
--- a/academic/bpp-seq-omics/bpp-seq-omics.SlackBuild
+++ b/academic/bpp-seq-omics/bpp-seq-omics.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-seq-omics
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp-seq/bpp-seq.SlackBuild b/academic/bpp-seq/bpp-seq.SlackBuild
index 6450800ec7e01..a87c2688526fe 100644
--- a/academic/bpp-seq/bpp-seq.SlackBuild
+++ b/academic/bpp-seq/bpp-seq.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp-seq
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp1.9-numcalc/bpp1.9-numcalc.SlackBuild b/academic/bpp1.9-numcalc/bpp1.9-numcalc.SlackBuild
index 06b06af0d94b6..9c37c139f9d50 100644
--- a/academic/bpp1.9-numcalc/bpp1.9-numcalc.SlackBuild
+++ b/academic/bpp1.9-numcalc/bpp1.9-numcalc.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp1.9-numcalc
SRCNAM=bpp-numcalc
VERSION=${VERSION:-1.8.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp1.9-phyl/bpp1.9-phyl.SlackBuild b/academic/bpp1.9-phyl/bpp1.9-phyl.SlackBuild
index e2730706080d0..beb36d52cde1e 100644
--- a/academic/bpp1.9-phyl/bpp1.9-phyl.SlackBuild
+++ b/academic/bpp1.9-phyl/bpp1.9-phyl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp1.9-phyl
SRCNAM=bpp-phyl
VERSION=${VERSION:-1.9.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp1.9-seq/bpp1.9-seq.SlackBuild b/academic/bpp1.9-seq/bpp1.9-seq.SlackBuild
index 2dfe19d36b2d2..55248f41a3536 100644
--- a/academic/bpp1.9-seq/bpp1.9-seq.SlackBuild
+++ b/academic/bpp1.9-seq/bpp1.9-seq.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp1.9-seq
SRCNAM=bpp-seq
VERSION=${VERSION:-1.7.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bpp1.9-utils/bpp1.9-utils.SlackBuild b/academic/bpp1.9-utils/bpp1.9-utils.SlackBuild
index d12f03158ec61..c6b6661908588 100644
--- a/academic/bpp1.9-utils/bpp1.9-utils.SlackBuild
+++ b/academic/bpp1.9-utils/bpp1.9-utils.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bpp1.9-utils
SRCNAM=bpp-utils
VERSION=${VERSION:-1.5.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bppsuite/bppsuite.SlackBuild b/academic/bppsuite/bppsuite.SlackBuild
index 377465f95ee7c..e2893a0cc7ff9 100644
--- a/academic/bppsuite/bppsuite.SlackBuild
+++ b/academic/bppsuite/bppsuite.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bppsuite
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/btf/btf.SlackBuild b/academic/btf/btf.SlackBuild
index cb66554c6486b..63c203236dd11 100644
--- a/academic/btf/btf.SlackBuild
+++ b/academic/btf/btf.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=btf
SRCNAM=SuiteSparse
SUBDIR=BTF
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/bwa/bwa.SlackBuild b/academic/bwa/bwa.SlackBuild
index d73376a18a294..123f51f9032ae 100644
--- a/academic/bwa/bwa.SlackBuild
+++ b/academic/bwa/bwa.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bwa
VERSION=${VERSION:-0.7.17}
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/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild
index 4b21bc8771f17..0f0dc13acf640 100644
--- a/academic/cadabra2/cadabra2.SlackBuild
+++ b/academic/cadabra2/cadabra2.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cadabra2
VERSION=${VERSION:-2.3.6.3}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/calc/calc.SlackBuild b/academic/calc/calc.SlackBuild
index f4c71376e14bc..4f1f754736856 100644
--- a/academic/calc/calc.SlackBuild
+++ b/academic/calc/calc.SlackBuild
@@ -23,6 +23,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calc
VERSION=${VERSION:-2.12.9.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/calcoo/calcoo.SlackBuild b/academic/calcoo/calcoo.SlackBuild
index 228edb67fa487..d33f9cb2ad6a0 100644
--- a/academic/calcoo/calcoo.SlackBuild
+++ b/academic/calcoo/calcoo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calcoo
VERSION=${VERSION:-2.1.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/academic/camd/camd.SlackBuild b/academic/camd/camd.SlackBuild
index d8fbcd2764080..180b37d7e35dc 100644
--- a/academic/camd/camd.SlackBuild
+++ b/academic/camd/camd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=camd
SRCNAM=SuiteSparse
SUBDIR=CAMD
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cap3/cap3.SlackBuild b/academic/cap3/cap3.SlackBuild
index 81cf8fecdb1c5..dd998af16bf3f 100644
--- a/academic/cap3/cap3.SlackBuild
+++ b/academic/cap3/cap3.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cap3
VERSION=${VERSION:-20091029} # Use the last modification date as version
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/academic/cblas/cblas.SlackBuild b/academic/cblas/cblas.SlackBuild
index ba8ce269aa628..d794e65868d82 100644
--- a/academic/cblas/cblas.SlackBuild
+++ b/academic/cblas/cblas.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cblas
SRCNAM=lapack
VERSION=${VERSION:-3.9.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ccolamd/ccolamd.SlackBuild b/academic/ccolamd/ccolamd.SlackBuild
index 75d8a8b4f1cd7..e6ee89956eaa7 100644
--- a/academic/ccolamd/ccolamd.SlackBuild
+++ b/academic/ccolamd/ccolamd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ccolamd
SRCNAM=SuiteSparse
SUBDIR=CCOLAMD
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild
index 2628fd43245ea..4b62214e7a8a2 100644
--- a/academic/cdo/cdo.SlackBuild
+++ b/academic/cdo/cdo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cdo
VERSION=${VERSION:-1.9.10}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index a5dba88839969..7acb8a9cd085a 100644
--- a/academic/celestia/celestia.SlackBuild
+++ b/academic/celestia/celestia.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=celestia
VERSION=${VERSION:-1.6.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/academic/chartgeany/chartgeany.SlackBuild b/academic/chartgeany/chartgeany.SlackBuild
index e899be17fafe0..fa6946f75c7db 100644
--- a/academic/chartgeany/chartgeany.SlackBuild
+++ b/academic/chartgeany/chartgeany.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chartgeany
VERSION=${VERSION:-6.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/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild
index 8a0b51d7bd4b3..7a5d142bb7263 100644
--- a/academic/chemtool/chemtool.SlackBuild
+++ b/academic/chemtool/chemtool.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chemtool
VERSION=${VERSION:-1.6.14}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cholmod/cholmod.SlackBuild b/academic/cholmod/cholmod.SlackBuild
index ffadc35537b62..be40997e224d2 100644
--- a/academic/cholmod/cholmod.SlackBuild
+++ b/academic/cholmod/cholmod.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cholmod
SRCNAM=SuiteSparse
SUBDIR=CHOLMOD
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cistrome-CEAS/cistrome-CEAS.SlackBuild b/academic/cistrome-CEAS/cistrome-CEAS.SlackBuild
index aedbb05118ef9..593712e4fc318 100644
--- a/academic/cistrome-CEAS/cistrome-CEAS.SlackBuild
+++ b/academic/cistrome-CEAS/cistrome-CEAS.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cistrome-CEAS
VERSION=${VERSION:-1.0.2}
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/academic/cistrome-MACS/cistrome-MACS.SlackBuild b/academic/cistrome-MACS/cistrome-MACS.SlackBuild
index 7f11c6cdd70a8..3913008b1602a 100644
--- a/academic/cistrome-MACS/cistrome-MACS.SlackBuild
+++ b/academic/cistrome-MACS/cistrome-MACS.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cistrome-MACS
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cistrome-conductGO/cistrome-conductGO.SlackBuild b/academic/cistrome-conductGO/cistrome-conductGO.SlackBuild
index f5ef3b3509f23..aef0ce953b24b 100644
--- a/academic/cistrome-conductGO/cistrome-conductGO.SlackBuild
+++ b/academic/cistrome-conductGO/cistrome-conductGO.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cistrome-conductGO
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cistrome-extra/cistrome-extra.SlackBuild b/academic/cistrome-extra/cistrome-extra.SlackBuild
index 307914bd1a7b6..54897d795e93d 100644
--- a/academic/cistrome-extra/cistrome-extra.SlackBuild
+++ b/academic/cistrome-extra/cistrome-extra.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cistrome-extra
VERSION=${VERSION:-git_20170829_6334683}
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/academic/cistrome-mdseqpos/cistrome-mdseqpos.SlackBuild b/academic/cistrome-mdseqpos/cistrome-mdseqpos.SlackBuild
index efe14e83a953a..238881a234063 100644
--- a/academic/cistrome-mdseqpos/cistrome-mdseqpos.SlackBuild
+++ b/academic/cistrome-mdseqpos/cistrome-mdseqpos.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cistrome-mdseqpos
VERSION=${VERSION:-git_20170829_6334683}
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/academic/clark-ugene/clark-ugene.SlackBuild b/academic/clark-ugene/clark-ugene.SlackBuild
index fea52897b03bd..79a3c120f595b 100644
--- a/academic/clark-ugene/clark-ugene.SlackBuild
+++ b/academic/clark-ugene/clark-ugene.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clark-ugene
VERSION=${VERSION:-git_6917bf9}
COMMIT=${COMMIT:-6917bf93df9a8c2b80155db367f6672c1b143d9b}
@@ -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/academic/cld2/cld2.SlackBuild b/academic/cld2/cld2.SlackBuild
index 51d3812e28501..c317cc6f43a64 100644
--- a/academic/cld2/cld2.SlackBuild
+++ b/academic/cld2/cld2.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=cld2
VERSION=${VERSION:-20150820}
SRCREV=b56fa78a2fe44ac2851bae5bf4f4693a0644da7b
@@ -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/academic/clustalo/clustalo.SlackBuild b/academic/clustalo/clustalo.SlackBuild
index 5c54dfec94cee..d5bcbfdf2018e 100644
--- a/academic/clustalo/clustalo.SlackBuild
+++ b/academic/clustalo/clustalo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clustalo
VERSION=${VERSION:-1.2.4}
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/academic/clustalw/clustalw.SlackBuild b/academic/clustalw/clustalw.SlackBuild
index 8eedb0b794d37..191e70091a73e 100644
--- a/academic/clustalw/clustalw.SlackBuild
+++ b/academic/clustalw/clustalw.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clustalw
VERSION=${VERSION:-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/academic/clustalx/clustalx.SlackBuild b/academic/clustalx/clustalx.SlackBuild
index 8d24ef10a5371..df7d2d4a04f05 100644
--- a/academic/clustalx/clustalx.SlackBuild
+++ b/academic/clustalx/clustalx.SlackBuild
@@ -25,6 +25,8 @@
# With help from http://aur.archlinux.org/packages.php?ID=25080
# PKGBUILD submitter is mickelliot and maintainer is machoo02
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clustalx
VERSION=${VERSION:-2.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/academic/colamd/colamd.SlackBuild b/academic/colamd/colamd.SlackBuild
index 8da546ead1095..2676609541c09 100644
--- a/academic/colamd/colamd.SlackBuild
+++ b/academic/colamd/colamd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=colamd
SRCNAM=SuiteSparse
SUBDIR=COLAMD
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/colin/colin.SlackBuild b/academic/colin/colin.SlackBuild
index d2870b64d0e1d..d2f960cc86a1a 100644
--- a/academic/colin/colin.SlackBuild
+++ b/academic/colin/colin.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=colin
VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-2}
@@ -49,7 +51,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/convertall/convertall.SlackBuild b/academic/convertall/convertall.SlackBuild
index 7181116f07068..fcea05ed8b80d 100644
--- a/academic/convertall/convertall.SlackBuild
+++ b/academic/convertall/convertall.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=convertall
SRCNAM=ConvertAll
VERSION=${VERSION:-0.8.0}
@@ -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/academic/copasi/copasi.SlackBuild b/academic/copasi/copasi.SlackBuild
index a806eb99491c5..5f6739fec5721 100644
--- a/academic/copasi/copasi.SlackBuild
+++ b/academic/copasi/copasi.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=copasi
VERSION=${VERSION:-4.28.226}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/coq/coq.SlackBuild b/academic/coq/coq.SlackBuild
index 4ff57a01aa430..afe67b491e725 100644
--- a/academic/coq/coq.SlackBuild
+++ b/academic/coq/coq.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=coq
VERSION=${VERSION:-8.9.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cryptominisat/cryptominisat.SlackBuild b/academic/cryptominisat/cryptominisat.SlackBuild
index d3fed4b115fe0..1f92e0b6232e6 100644
--- a/academic/cryptominisat/cryptominisat.SlackBuild
+++ b/academic/cryptominisat/cryptominisat.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cryptominisat
VERSION=${VERSION:-5.7.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/academic/csparse/csparse.SlackBuild b/academic/csparse/csparse.SlackBuild
index f15064844ff5c..b9c352b822e9c 100644
--- a/academic/csparse/csparse.SlackBuild
+++ b/academic/csparse/csparse.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=csparse
SRCNAM=SuiteSparse
SUBDIR=CSparse
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cufflinks/cufflinks.SlackBuild b/academic/cufflinks/cufflinks.SlackBuild
index a09f08153b66a..d3b80b7700078 100644
--- a/academic/cufflinks/cufflinks.SlackBuild
+++ b/academic/cufflinks/cufflinks.SlackBuild
@@ -26,6 +26,8 @@
# When I find a patch that fixes the build against boost and a bunch of other
# fixes, I will revert back to source build. Let's have ot like this for now.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cufflinks
VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-2}
@@ -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/academic/cutadapt/cutadapt.SlackBuild b/academic/cutadapt/cutadapt.SlackBuild
index 499dd8f868d51..e85ef5c5bdc3b 100644
--- a/academic/cutadapt/cutadapt.SlackBuild
+++ b/academic/cutadapt/cutadapt.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cutadapt
VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cvc4/cvc4.SlackBuild b/academic/cvc4/cvc4.SlackBuild
index 14b49bcb6722e..79ccc92ec6614 100644
--- a/academic/cvc4/cvc4.SlackBuild
+++ b/academic/cvc4/cvc4.SlackBuild
@@ -26,6 +26,8 @@
# Add new Python bindings (requires a newer version of Cython?)
# Add Java bindings (requires a newer version of CMake?)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cvc4
VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/cxsparse/cxsparse.SlackBuild b/academic/cxsparse/cxsparse.SlackBuild
index 0449a750ec8ef..5f85e87f38c50 100644
--- a/academic/cxsparse/cxsparse.SlackBuild
+++ b/academic/cxsparse/cxsparse.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cxsparse
SRCNAM=SuiteSparse
SUBDIR=CXSparse
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/dakota/dakota.SlackBuild b/academic/dakota/dakota.SlackBuild
index e56917bb93da2..3c4d86255c328 100644
--- a/academic/dakota/dakota.SlackBuild
+++ b/academic/dakota/dakota.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dakota
VERSION=${VERSION:-6.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/academic/datamash/datamash.SlackBuild b/academic/datamash/datamash.SlackBuild
index 6c6b786bd298d..6856c290d4425 100644
--- a/academic/datamash/datamash.SlackBuild
+++ b/academic/datamash/datamash.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=datamash
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/diamond/diamond.SlackBuild b/academic/diamond/diamond.SlackBuild
index 7dbf8eeef7821..c577c27b5f3c0 100644
--- a/academic/diamond/diamond.SlackBuild
+++ b/academic/diamond/diamond.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diamond
VERSION=${VERSION:-0.9.36}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/drawtiming/drawtiming.SlackBuild b/academic/drawtiming/drawtiming.SlackBuild
index 2092fb1c193ac..368d4ae3192a4 100644
--- a/academic/drawtiming/drawtiming.SlackBuild
+++ b/academic/drawtiming/drawtiming.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=drawtiming
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
STARTDIR=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
diff --git a/academic/ds9/ds9.SlackBuild b/academic/ds9/ds9.SlackBuild
index 87645fb791c8b..059b8e8daeeff 100644
--- a/academic/ds9/ds9.SlackBuild
+++ b/academic/ds9/ds9.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ds9
VERSION=${VERSION:-8.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/academic/easy_spice/easy_spice.SlackBuild b/academic/easy_spice/easy_spice.SlackBuild
index ec257745f3d2c..19a29ba4a2286 100644
--- a/academic/easy_spice/easy_spice.SlackBuild
+++ b/academic/easy_spice/easy_spice.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=easy_spice
VERSION=${VERSION:-0.6.8}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ed-v6/ed-v6.SlackBuild b/academic/ed-v6/ed-v6.SlackBuild
index 49e6ab381b3fd..3e26151efb3df 100644
--- a/academic/ed-v6/ed-v6.SlackBuild
+++ b/academic/ed-v6/ed-v6.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=ed-v6
VERSION=${VERSION:-c72c0e}
SRCVERSION=${SRCVERSION:-c72c0e9445af26bd9fde2d39da5628e6dabf36dd}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/edsim51di/edsim51di.SlackBuild b/academic/edsim51di/edsim51di.SlackBuild
index e90b6b4083c3b..9c3c04d135c4e 100644
--- a/academic/edsim51di/edsim51di.SlackBuild
+++ b/academic/edsim51di/edsim51di.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=edsim51di
VERSION=${VERSION:-2.1.20}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
STARTDIR=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
diff --git a/academic/engauge/engauge.SlackBuild b/academic/engauge/engauge.SlackBuild
index 5497c13fefc8a..523307e90780e 100644
--- a/academic/engauge/engauge.SlackBuild
+++ b/academic/engauge/engauge.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=engauge
VERSION=${VERSION:-10.10}
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/academic/ent/ent.SlackBuild b/academic/ent/ent.SlackBuild
index 3ffe23f9fbe47..019918ebb9c05 100644
--- a/academic/ent/ent.SlackBuild
+++ b/academic/ent/ent.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ent
VERSION=${VERSION:-20080128}
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/academic/eprover/eprover.SlackBuild b/academic/eprover/eprover.SlackBuild
index eb4f07bd24ac2..81ec8a2a884a0 100644
--- a/academic/eprover/eprover.SlackBuild
+++ b/academic/eprover/eprover.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eprover
VERSION=${VERSION:-2.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/academic/equalx/equalx.SlackBuild b/academic/equalx/equalx.SlackBuild
index 3c255a389b329..2a73e0f0f7e76 100644
--- a/academic/equalx/equalx.SlackBuild
+++ b/academic/equalx/equalx.SlackBuild
@@ -34,6 +34,8 @@
# - use a .desktop file that validates
# - minor cleanups/etc in script, slack-desc, README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=equalx
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-2}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ess/ess.SlackBuild b/academic/ess/ess.SlackBuild
index 4e2a394336578..62bbc3ddcead0 100644
--- a/academic/ess/ess.SlackBuild
+++ b/academic/ess/ess.SlackBuild
@@ -5,6 +5,8 @@
# Written by Joel J. Adamson <adamsonj@email.unc.edu>
# Maintained by Nicky Chorley <nick.chorley@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ess
VERSION=${VERSION:-17.11}
BUILD=${BUILD:-1}
@@ -12,7 +14,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/evopedia_qt/evopedia_qt.SlackBuild b/academic/evopedia_qt/evopedia_qt.SlackBuild
index 637d75e5d3d35..091db6e125393 100644
--- a/academic/evopedia_qt/evopedia_qt.SlackBuild
+++ b/academic/evopedia_qt/evopedia_qt.SlackBuild
@@ -4,6 +4,8 @@
#
# Written by Dan-Simon Myrland <dansimon@radiotube.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=evopedia_qt
VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/exonerate/exonerate.SlackBuild b/academic/exonerate/exonerate.SlackBuild
index e744217d8663d..55afeb59b5713 100644
--- a/academic/exonerate/exonerate.SlackBuild
+++ b/academic/exonerate/exonerate.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exonerate
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/extrema/extrema.SlackBuild b/academic/extrema/extrema.SlackBuild
index 0c5496b8aa15a..cb3a067b59d4d 100644
--- a/academic/extrema/extrema.SlackBuild
+++ b/academic/extrema/extrema.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=extrema
VERSION=${VERSION:-4.4.5}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/fann/fann.SlackBuild b/academic/fann/fann.SlackBuild
index 50a811cb221f0..eec6baa13eda1 100644
--- a/academic/fann/fann.SlackBuild
+++ b/academic/fann/fann.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrew Conway (ajc AT countingthoughts DOT com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fann
VERSION=${VERSION:-2.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/academic/fastqc/fastqc.SlackBuild b/academic/fastqc/fastqc.SlackBuild
index aac67d92b26ba..4804b53d3b016 100644
--- a/academic/fastqc/fastqc.SlackBuild
+++ b/academic/fastqc/fastqc.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fastqc
SRCNAM=FastQC
VERSION=${VERSION:-0.11.9}
@@ -37,7 +39,6 @@ JBZIP=jbzip2-0.9.jar
SAM=sam-1.103.jar
CISD=cisd-jhdf5.jar
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/fet/fet.SlackBuild b/academic/fet/fet.SlackBuild
index 01a200b559525..b4419262d5d04 100644
--- a/academic/fet/fet.SlackBuild
+++ b/academic/fet/fet.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fet
VERSION=${VERSION:-5.49.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/academic/fiji/fiji.SlackBuild b/academic/fiji/fiji.SlackBuild
index a745abbaee27b..1efcfbe4b4633 100644
--- a/academic/fiji/fiji.SlackBuild
+++ b/academic/fiji/fiji.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fiji
VERSION=${VERSION:-20200902_2101}
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/academic/finchtv/finchtv.SlackBuild b/academic/finchtv/finchtv.SlackBuild
index d0e30838974be..1551ff992826f 100644
--- a/academic/finchtv/finchtv.SlackBuild
+++ b/academic/finchtv/finchtv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=finchtv
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
SRCVER=1_3_1
ARCH=i386 # This will work on a stock Slackware64 as well.
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/fityk/fityk.SlackBuild b/academic/fityk/fityk.SlackBuild
index f16df4106ac9f..78c652d38329b 100644
--- a/academic/fityk/fityk.SlackBuild
+++ b/academic/fityk/fityk.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fityk
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/flann/flann.SlackBuild b/academic/flann/flann.SlackBuild
index 3e21ce7deef63..216f412f4fb1a 100644
--- a/academic/flann/flann.SlackBuild
+++ b/academic/flann/flann.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=flann
VERSION=${VERSION:-1.9.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/academic/flashqard/flashqard.SlackBuild b/academic/flashqard/flashqard.SlackBuild
index de4f73a8d689d..ba1c144dbf251 100644
--- a/academic/flashqard/flashqard.SlackBuild
+++ b/academic/flashqard/flashqard.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for flashqard
# written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flashqard
VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/flexbar/flexbar.SlackBuild b/academic/flexbar/flexbar.SlackBuild
index 4cb43ad9faad5..9763818f2abcd 100644
--- a/academic/flexbar/flexbar.SlackBuild
+++ b/academic/flexbar/flexbar.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flexbar
VERSION=${VERSION:-3.5.0}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/free42/free42.SlackBuild b/academic/free42/free42.SlackBuild
index 995fdd1bf0c50..36e66a65098b6 100644
--- a/academic/free42/free42.SlackBuild
+++ b/academic/free42/free42.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=free42
VERSION=${VERSION:-2.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/academic/g3data/g3data.SlackBuild b/academic/g3data/g3data.SlackBuild
index 14fc2fa6081d4..e331dbb794da9 100644
--- a/academic/g3data/g3data.SlackBuild
+++ b/academic/g3data/g3data.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=g3data
VERSION=${VERSION:-1.5.4}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/galculator/galculator.SlackBuild b/academic/galculator/galculator.SlackBuild
index 3c6bdfa3b9834..523b05de9ec12 100644
--- a/academic/galculator/galculator.SlackBuild
+++ b/academic/galculator/galculator.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=galculator
VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gaw3/gaw3.SlackBuild b/academic/gaw3/gaw3.SlackBuild
index 063d6f7e8e0ee..e99409a3d8e46 100644
--- a/academic/gaw3/gaw3.SlackBuild
+++ b/academic/gaw3/gaw3.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gaw3
VERSION=${VERSION:-20170716}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gchemutils/gchemutils.SlackBuild b/academic/gchemutils/gchemutils.SlackBuild
index 4b3c4f43ebc44..ea703bb0d9904 100644
--- a/academic/gchemutils/gchemutils.SlackBuild
+++ b/academic/gchemutils/gchemutils.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gchemutils
VERSION=${VERSION:-0.14.17}
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/academic/gcompris-qt/gcompris-qt.SlackBuild b/academic/gcompris-qt/gcompris-qt.SlackBuild
index b94cd35eb5fc0..0ed77ec171cae 100644
--- a/academic/gcompris-qt/gcompris-qt.SlackBuild
+++ b/academic/gcompris-qt/gcompris-qt.SlackBuild
@@ -32,6 +32,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gcompris-qt
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -56,7 +58,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gcompris/gcompris.SlackBuild b/academic/gcompris/gcompris.SlackBuild
index 938c17479d1e2..7be5021d9e1f2 100644
--- a/academic/gcompris/gcompris.SlackBuild
+++ b/academic/gcompris/gcompris.SlackBuild
@@ -27,6 +27,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=gcompris
VERSION=${VERSION:-17.05}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index 064d1b16ec28b..3e165b1af06a6 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -5,6 +5,8 @@
# Written by Stephen Van Berg stephen_van_berg@earlicker.com
# Updated by Kyle Guinn <elyk03@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geda-gaf
VERSION=${VERSION:-1.10.2}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gelemental/gelemental.SlackBuild b/academic/gelemental/gelemental.SlackBuild
index dcab5ae34ed25..ac96ad6ca4eaa 100644
--- a/academic/gelemental/gelemental.SlackBuild
+++ b/academic/gelemental/gelemental.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gelemental
VERSION=${VERSION:-2.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/academic/geneconv/geneconv.SlackBuild b/academic/geneconv/geneconv.SlackBuild
index e364defcbf621..755d84fae91f1 100644
--- a/academic/geneconv/geneconv.SlackBuild
+++ b/academic/geneconv/geneconv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geneconv
VERSION=${VERSION:-1.81a}
BUILD=${BUILD:-3}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild
index 1d054abc0c89e..e6cb2ddb5235d 100644
--- a/academic/genius/genius.SlackBuild
+++ b/academic/genius/genius.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=genius
VERSION=${VERSION:-1.0.23}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/genometools/genometools.SlackBuild b/academic/genometools/genometools.SlackBuild
index 812f0bc4faf9b..50a69f14882a4 100644
--- a/academic/genometools/genometools.SlackBuild
+++ b/academic/genometools/genometools.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=genometools
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/genpak/genpak.SlackBuild b/academic/genpak/genpak.SlackBuild
index 42a836396a198..2cf5b5221cccf 100644
--- a/academic/genpak/genpak.SlackBuild
+++ b/academic/genpak/genpak.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=genpak
VERSION=${VERSION:-0.26}
BUILD=${BUILD:-6}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/geomview/geomview.SlackBuild b/academic/geomview/geomview.SlackBuild
index 326e7d7a86078..1152344a839d7 100644
--- a/academic/geomview/geomview.SlackBuild
+++ b/academic/geomview/geomview.SlackBuild
@@ -5,6 +5,8 @@
# Written by (Jorge Barros de Abreu)
# (http://sites.google.com/site/ficmatinf)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geomview
VERSION=${VERSION:-1.9.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/academic/gerbv/gerbv.SlackBuild b/academic/gerbv/gerbv.SlackBuild
index 7c2c46d58b557..51cd64bb47753 100644
--- a/academic/gerbv/gerbv.SlackBuild
+++ b/academic/gerbv/gerbv.SlackBuild
@@ -4,6 +4,8 @@
# Written by Felix Pfeifer (pfeifer [dot] felix [at] googlemail [dot] com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gerbv
VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/getdp/getdp.SlackBuild b/academic/getdp/getdp.SlackBuild
index 41fb3d678e63e..9921f09008f55 100644
--- a/academic/getdp/getdp.SlackBuild
+++ b/academic/getdp/getdp.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=getdp
VERSION=${VERSION:-3.3.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/academic/ggobi/ggobi.SlackBuild b/academic/ggobi/ggobi.SlackBuild
index 2df9f1ef35b3f..03355e3d4d720 100644
--- a/academic/ggobi/ggobi.SlackBuild
+++ b/academic/ggobi/ggobi.SlackBuild
@@ -4,6 +4,8 @@
# Written by Pedro Mendes pedro@gepasi.org
# hereby put in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ggobi
VERSION=${VERSION:-2.1.8}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ghemical/ghemical.SlackBuild b/academic/ghemical/ghemical.SlackBuild
index 0fb705a091651..effe0b809fa0e 100644
--- a/academic/ghemical/ghemical.SlackBuild
+++ b/academic/ghemical/ghemical.SlackBuild
@@ -4,6 +4,8 @@
# Written by Daniil Bratashov (dn2010@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ghemical
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-2}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild
index c2bb68fec8861..64a4bf01a7659 100644
--- a/academic/glpk/glpk.SlackBuild
+++ b/academic/glpk/glpk.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=glpk
VERSION=${VERSION:-4.61}
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/academic/gmsh/gmsh.SlackBuild b/academic/gmsh/gmsh.SlackBuild
index ab1a60aea293c..1e350532e0a22 100644
--- a/academic/gmsh/gmsh.SlackBuild
+++ b/academic/gmsh/gmsh.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gmsh
VERSION=${VERSION:-4.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/academic/gnucap/gnucap.SlackBuild b/academic/gnucap/gnucap.SlackBuild
index eccd0961a145d..9451927c8136f 100644
--- a/academic/gnucap/gnucap.SlackBuild
+++ b/academic/gnucap/gnucap.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnucap
VERSION=${VERSION:-20091207}
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/academic/gp2fasta/gp2fasta.SlackBuild b/academic/gp2fasta/gp2fasta.SlackBuild
index 04429f610b3c4..7eb8787969f6a 100644
--- a/academic/gp2fasta/gp2fasta.SlackBuild
+++ b/academic/gp2fasta/gp2fasta.SlackBuild
@@ -26,6 +26,8 @@
# http://kde-look.org/content/show.php/Fasta+icons?content=54012
# Author is Luis-Miguel Rodriguez. Thank you!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gp2fasta
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gpredict/gpredict.SlackBuild b/academic/gpredict/gpredict.SlackBuild
index 292896ebecab5..97def589e6221 100644
--- a/academic/gpredict/gpredict.SlackBuild
+++ b/academic/gpredict/gpredict.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=gpredict
VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild
index 8af988128ca9c..1e3b11dfe97b1 100644
--- a/academic/grace/grace.SlackBuild
+++ b/academic/grace/grace.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=grace
VERSION=${VERSION:-5.1.25}
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/academic/gresistor/gresistor.SlackBuild b/academic/gresistor/gresistor.SlackBuild
index 10998e8ed037e..078e9576a25ff 100644
--- a/academic/gresistor/gresistor.SlackBuild
+++ b/academic/gresistor/gresistor.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for gresistor
# Written by Erwin van Zanten <e.van.zanten.evz@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gresistor
VERSION=${VERSION:-0.0.1}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gretl/gretl.SlackBuild b/academic/gretl/gretl.SlackBuild
index 166d4084019c4..95c47d5b83505 100644
--- a/academic/gretl/gretl.SlackBuild
+++ b/academic/gretl/gretl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gretl
VERSION=${VERSION:-2017c}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gri/gri.SlackBuild b/academic/gri/gri.SlackBuild
index a13681cc5136c..09fbe578168f9 100644
--- a/academic/gri/gri.SlackBuild
+++ b/academic/gri/gri.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gri
VERSION=${VERSION:-2.12.23}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/grpn/grpn.SlackBuild b/academic/grpn/grpn.SlackBuild
index a1a08dd12729e..154125c6b7f41 100644
--- a/academic/grpn/grpn.SlackBuild
+++ b/academic/grpn/grpn.SlackBuild
@@ -6,6 +6,8 @@
# Released into the public domain June 6, 2009
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grpn
VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gspiceui/gspiceui.SlackBuild b/academic/gspiceui/gspiceui.SlackBuild
index bd1a49a7db45f..4b6598e0b24af 100644
--- a/academic/gspiceui/gspiceui.SlackBuild
+++ b/academic/gspiceui/gspiceui.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gspiceui
VERSION=${VERSION:-1.2.36}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gtkwave/gtkwave.SlackBuild b/academic/gtkwave/gtkwave.SlackBuild
index c92e1069a6fc0..b67aeffcbb4e3 100644
--- a/academic/gtkwave/gtkwave.SlackBuild
+++ b/academic/gtkwave/gtkwave.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for Icarus Verilog compiler
# Written by Stephen Van Berg stephen_van_berg@earlicker.com.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkwave
VERSION=${VERSION:-3.3.51}
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/academic/gtypist/gtypist.SlackBuild b/academic/gtypist/gtypist.SlackBuild
index 76b27b0ad18fa..819b4aae9e93f 100644
--- a/academic/gtypist/gtypist.SlackBuild
+++ b/academic/gtypist/gtypist.SlackBuild
@@ -20,6 +20,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtypist
VERSION=${VERSION:-2.9.5}
BUILD=${BUILD:-3}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/gwyddion/gwyddion.SlackBuild b/academic/gwyddion/gwyddion.SlackBuild
index d10f93855188c..041f31c564166 100644
--- a/academic/gwyddion/gwyddion.SlackBuild
+++ b/academic/gwyddion/gwyddion.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gwyddion
VERSION=${VERSION:-2.58}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/h5utils/h5utils.SlackBuild b/academic/h5utils/h5utils.SlackBuild
index af859c0690f04..49c357ea13ba6 100644
--- a/academic/h5utils/h5utils.SlackBuild
+++ b/academic/h5utils/h5utils.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=h5utils
VERSION=${VERSION:-1.13.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/academic/harminv/harminv.SlackBuild b/academic/harminv/harminv.SlackBuild
index 7ac6827978829..fca63f1fd868f 100644
--- a/academic/harminv/harminv.SlackBuild
+++ b/academic/harminv/harminv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=harminv
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/hyphy/hyphy.SlackBuild b/academic/hyphy/hyphy.SlackBuild
index c9f744d7ddadf..0b6489a50f7ed 100644
--- a/academic/hyphy/hyphy.SlackBuild
+++ b/academic/hyphy/hyphy.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hyphy
VERSION=${VERSION:-2.5.31}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/iTest/iTest.SlackBuild b/academic/iTest/iTest.SlackBuild
index 8afb87259a2fc..614b40ab49c6a 100644
--- a/academic/iTest/iTest.SlackBuild
+++ b/academic/iTest/iTest.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iTest
VERSION=${VERSION:-1.4.2_PREVIEW4}
SRCVER=$(echo $VERSION | tr _ -)
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/io_lib/io_lib.SlackBuild b/academic/io_lib/io_lib.SlackBuild
index 5a40b841a60e1..23d9235d23c17 100644
--- a/academic/io_lib/io_lib.SlackBuild
+++ b/academic/io_lib/io_lib.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=io_lib
VERSION=${VERSION:-1.14.14}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/irsim/irsim.SlackBuild b/academic/irsim/irsim.SlackBuild
index 48a67880ebbf2..28780202fedfb 100644
--- a/academic/irsim/irsim.SlackBuild
+++ b/academic/irsim/irsim.SlackBuild
@@ -14,6 +14,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=irsim
VERSION=${VERSION:-9.7.94}
BUILD=${BUILD:-1}
@@ -27,7 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/isoelectric-point/isoelectric-point.SlackBuild b/academic/isoelectric-point/isoelectric-point.SlackBuild
index 0b0ab5466d30a..50d5f0053077e 100644
--- a/academic/isoelectric-point/isoelectric-point.SlackBuild
+++ b/academic/isoelectric-point/isoelectric-point.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=isoelectric-point
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/itex2mml/itex2mml.SlackBuild b/academic/itex2mml/itex2mml.SlackBuild
index 9fbc998fc6841..1a785644a3a86 100644
--- a/academic/itex2mml/itex2mml.SlackBuild
+++ b/academic/itex2mml/itex2mml.SlackBuild
@@ -4,6 +4,8 @@
# Written by David Matthew Jerry Koenig <koenigdavidmj@gmail.com>
# Public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=itex2mml
VERSION=${VERSION:-1.5.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/academic/jalview/jalview.SlackBuild b/academic/jalview/jalview.SlackBuild
index 26220228d9a12..fcf0d856ede6d 100644
--- a/academic/jalview/jalview.SlackBuild
+++ b/academic/jalview/jalview.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jalview
VERSION=${VERSION:-2.11.1.4}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ ARCH=noarch
JAVA=j1.8
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/jellyfish_k-mer/jellyfish_k-mer.SlackBuild b/academic/jellyfish_k-mer/jellyfish_k-mer.SlackBuild
index adf22b080cb9e..7e0559e0ba355 100644
--- a/academic/jellyfish_k-mer/jellyfish_k-mer.SlackBuild
+++ b/academic/jellyfish_k-mer/jellyfish_k-mer.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jellyfish_k-mer
VERSION=${VERSION:-1.1.12}
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/academic/jpicedt/jpicedt.SlackBuild b/academic/jpicedt/jpicedt.SlackBuild
index 3fd935e926a05..80678f7f8fd30 100644
--- a/academic/jpicedt/jpicedt.SlackBuild
+++ b/academic/jpicedt/jpicedt.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpicedt
VERSION=${VERSION:-1.4.1_03}
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/academic/jugglinglab/jugglinglab.SlackBuild b/academic/jugglinglab/jugglinglab.SlackBuild
index 7c9c88bcd3deb..d61cd9becc082 100644
--- a/academic/jugglinglab/jugglinglab.SlackBuild
+++ b/academic/jugglinglab/jugglinglab.SlackBuild
@@ -4,6 +4,8 @@
# Petr Kletecka admin@zonglovani.info <2014>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jugglinglab
VERSION=${VERSION:-0.6.2}
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/academic/karma/karma.SlackBuild b/academic/karma/karma.SlackBuild
index c82206ddaa857..68a1f59f7eab7 100644
--- a/academic/karma/karma.SlackBuild
+++ b/academic/karma/karma.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=karma
VERSION=${VERSION:-1.7.25}
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/academic/kiwisolver/kiwisolver.SlackBuild b/academic/kiwisolver/kiwisolver.SlackBuild
index b5280c66218ff..c923a476362cf 100644
--- a/academic/kiwisolver/kiwisolver.SlackBuild
+++ b/academic/kiwisolver/kiwisolver.SlackBuild
@@ -23,6 +23,8 @@
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kiwisolver
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/klavaro/klavaro.SlackBuild b/academic/klavaro/klavaro.SlackBuild
index 0ee5953d6ee2b..1c897529ee7a1 100644
--- a/academic/klavaro/klavaro.SlackBuild
+++ b/academic/klavaro/klavaro.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=klavaro
VERSION=${VERSION:-3.03}
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/academic/klu/klu.SlackBuild b/academic/klu/klu.SlackBuild
index 307b252d5cd7f..7b9003b589aae 100644
--- a/academic/klu/klu.SlackBuild
+++ b/academic/klu/klu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=klu
SRCNAM=SuiteSparse
SUBDIR=KLU
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/knime/knime.SlackBuild b/academic/knime/knime.SlackBuild
index a5546aea1bd9b..a8f2194664187 100644
--- a/academic/knime/knime.SlackBuild
+++ b/academic/knime/knime.SlackBuild
@@ -23,6 +23,8 @@
# Stephen Van Berg 2014-4-17
# Updated 2015-07-31 for knime version 2.12.0
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=knime
VERSION=${VERSION:-2.12.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/academic/kraken/kraken.SlackBuild b/academic/kraken/kraken.SlackBuild
index ff1686c51e106..0be73ac71f769 100644
--- a/academic/kraken/kraken.SlackBuild
+++ b/academic/kraken/kraken.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kraken
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ktikz/ktikz.SlackBuild b/academic/ktikz/ktikz.SlackBuild
index a70aaad07266f..7602cb61d3163 100644
--- a/academic/ktikz/ktikz.SlackBuild
+++ b/academic/ktikz/ktikz.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ktikz
VERSION=${VERSION:-0.13.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/academic/kurso/kurso.SlackBuild b/academic/kurso/kurso.SlackBuild
index a941526592c78..47bad348cf841 100644
--- a/academic/kurso/kurso.SlackBuild
+++ b/academic/kurso/kurso.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kurso
VERSION=${VERSION:-4.1.2}
BUILD=${BUILD:-2}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/labplot2/labplot2.SlackBuild b/academic/labplot2/labplot2.SlackBuild
index 8e1d11e4384f6..3adc58c8eb700 100644
--- a/academic/labplot2/labplot2.SlackBuild
+++ b/academic/labplot2/labplot2.SlackBuild
@@ -22,6 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NAME=labplot
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=labplot2
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ladr/ladr.SlackBuild b/academic/ladr/ladr.SlackBuild
index df24f66d4b5bb..068b20267dc21 100644
--- a/academic/ladr/ladr.SlackBuild
+++ b/academic/ladr/ladr.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ladr
VERSION=${VERSION:-2009_11A}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/lalnview/lalnview.SlackBuild b/academic/lalnview/lalnview.SlackBuild
index 4dcf55d0bfac2..41bfbba341ece 100644
--- a/academic/lalnview/lalnview.SlackBuild
+++ b/academic/lalnview/lalnview.SlackBuild
@@ -24,6 +24,8 @@
# Thanks to Niels Horn for correcting the CFLAGS.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lalnview
VERSION=${VERSION:-3.0}
BUILD=${BUILD:-3}
@@ -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/academic/lapack95/lapack95.SlackBuild b/academic/lapack95/lapack95.SlackBuild
index 3c9fb272973e5..ddf426f17d9a4 100644
--- a/academic/lapack95/lapack95.SlackBuild
+++ b/academic/lapack95/lapack95.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=lapack95
VERSION=${VERSION:-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/academic/lapacke/lapacke.SlackBuild b/academic/lapacke/lapacke.SlackBuild
index 8c3d26ee11bbd..925d6704f0a28 100644
--- a/academic/lapacke/lapacke.SlackBuild
+++ b/academic/lapacke/lapacke.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lapacke
SRCNAM=lapack
VERSION=${VERSION:-3.9.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/latex2html/latex2html.SlackBuild b/academic/latex2html/latex2html.SlackBuild
index 38bc8110fca8b..71deb5c48be61 100644
--- a/academic/latex2html/latex2html.SlackBuild
+++ b/academic/latex2html/latex2html.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=latex2html
VERSION=${VERSION:-2020}
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/academic/ldl/ldl.SlackBuild b/academic/ldl/ldl.SlackBuild
index 436aa1e66d214..8c03a512ccaa2 100644
--- a/academic/ldl/ldl.SlackBuild
+++ b/academic/ldl/ldl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ldl
SRCNAM=SuiteSparse
SUBDIR=LDL
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/libghemical/libghemical.SlackBuild b/academic/libghemical/libghemical.SlackBuild
index 5b2fb65fc15f8..bf31d3f68a0a4 100644
--- a/academic/libghemical/libghemical.SlackBuild
+++ b/academic/libghemical/libghemical.SlackBuild
@@ -4,6 +4,8 @@
# Written by Daniil Bratashov (dn2010@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libghemical
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/link-grammar/link-grammar.SlackBuild b/academic/link-grammar/link-grammar.SlackBuild
index 3a44f104955a0..dd6aefb413b96 100644
--- a/academic/link-grammar/link-grammar.SlackBuild
+++ b/academic/link-grammar/link-grammar.SlackBuild
@@ -5,6 +5,8 @@
# Written by Michael Gabilondo <mgabilo{at}gmail{dot}com>
# This work is in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=link-grammar
VERSION=${VERSION:-4.8.0}
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/academic/locarna/locarna.SlackBuild b/academic/locarna/locarna.SlackBuild
index 220a6d071a4ac..2c1ae25e9459e 100644
--- a/academic/locarna/locarna.SlackBuild
+++ b/academic/locarna/locarna.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=locarna
VERSION=${VERSION:-1.9.2.3}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/lpsolve/lpsolve.SlackBuild b/academic/lpsolve/lpsolve.SlackBuild
index c1d1842bd9561..f56f90edfe535 100644
--- a/academic/lpsolve/lpsolve.SlackBuild
+++ b/academic/lpsolve/lpsolve.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lpsolve
VERSION=${VERSION:-5.5.2.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/academic/mafft/mafft.SlackBuild b/academic/mafft/mafft.SlackBuild
index c66426d7b718a..476dca0c0fa9c 100644
--- a/academic/mafft/mafft.SlackBuild
+++ b/academic/mafft/mafft.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mafft
VERSION=${VERSION:-7.475}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/magic/magic.SlackBuild b/academic/magic/magic.SlackBuild
index d2b7b7d80a70c..065e84ffedea2 100644
--- a/academic/magic/magic.SlackBuild
+++ b/academic/magic/magic.SlackBuild
@@ -14,6 +14,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=magic
VERSION=${VERSION:-8.0.211}
BUILD=${BUILD:-1}
@@ -27,7 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/mathics/mathics.SlackBuild b/academic/mathics/mathics.SlackBuild
index 690e881a70810..e0d109894ed13 100644
--- a/academic/mathics/mathics.SlackBuild
+++ b/academic/mathics/mathics.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mathics
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/mathomatic/mathomatic.SlackBuild b/academic/mathomatic/mathomatic.SlackBuild
index 5167a7b75da41..d743c6b5efe7a 100644
--- a/academic/mathomatic/mathomatic.SlackBuild
+++ b/academic/mathomatic/mathomatic.SlackBuild
@@ -24,6 +24,8 @@
#
# Originally written by Dylan Armitage <d.armitage89@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mathomatic
VERSION=${VERSION:-16.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/academic/matio/matio.SlackBuild b/academic/matio/matio.SlackBuild
index badc48e9865ed..b045eb41d220b 100644
--- a/academic/matio/matio.SlackBuild
+++ b/academic/matio/matio.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=matio
VERSION=${VERSION:-1.5.9}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild
index b96f1e205a3f2..28f26a62aa69f 100644
--- a/academic/maxima/maxima.SlackBuild
+++ b/academic/maxima/maxima.SlackBuild
@@ -33,6 +33,8 @@
# Glenn Becker -> update to version 5.38.1
# JM -> update version 5.39 -> 5.44
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maxima
VERSION=${VERSION:-5.44.0}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/meep/meep.SlackBuild b/academic/meep/meep.SlackBuild
index 84c160688c035..a4c7977f5aa05 100644
--- a/academic/meep/meep.SlackBuild
+++ b/academic/meep/meep.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meep
VERSION=${VERSION:-1.17.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/academic/megax/megax.SlackBuild b/academic/megax/megax.SlackBuild
index f1fb4a444202d..f8d4632dbfde4 100644
--- a/academic/megax/megax.SlackBuild
+++ b/academic/megax/megax.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=megax
VERSION=${VERSION:-10.2.5_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/academic/meme-db-gomo/meme-db-gomo.SlackBuild b/academic/meme-db-gomo/meme-db-gomo.SlackBuild
index 1dbcfd7f342d5..a462f9e695589 100644
--- a/academic/meme-db-gomo/meme-db-gomo.SlackBuild
+++ b/academic/meme-db-gomo/meme-db-gomo.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meme-db-gomo
VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=gomo_databases
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/meme-db-motif/meme-db-motif.SlackBuild b/academic/meme-db-motif/meme-db-motif.SlackBuild
index 8c4f18a86f889..8c466b2d4a4ad 100644
--- a/academic/meme-db-motif/meme-db-motif.SlackBuild
+++ b/academic/meme-db-motif/meme-db-motif.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meme-db-motif
VERSION=${VERSION:-12.21}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=motif_databases
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/meme-db-tgene/meme-db-tgene.SlackBuild b/academic/meme-db-tgene/meme-db-tgene.SlackBuild
index 5f1acb3887251..d4d2540d1922e 100644
--- a/academic/meme-db-tgene/meme-db-tgene.SlackBuild
+++ b/academic/meme-db-tgene/meme-db-tgene.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meme-db-tgene
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=tgene_databases
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/meme-suite/meme-suite.SlackBuild b/academic/meme-suite/meme-suite.SlackBuild
index 4bf704c23c6ab..a223babdaa1ff 100644
--- a/academic/meme-suite/meme-suite.SlackBuild
+++ b/academic/meme-suite/meme-suite.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meme-suite
VERSION=${VERSION:-5.3.3}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/mendeleydesktop/mendeleydesktop.SlackBuild b/academic/mendeleydesktop/mendeleydesktop.SlackBuild
index b0d3a4d4fcfd1..0e9910413b22e 100644
--- a/academic/mendeleydesktop/mendeleydesktop.SlackBuild
+++ b/academic/mendeleydesktop/mendeleydesktop.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=mendeleydesktop
VERSION=${VERSION:-1.17.9}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/metis/metis.SlackBuild b/academic/metis/metis.SlackBuild
index e9813c100e0d2..df98181484d7f 100644
--- a/academic/metis/metis.SlackBuild
+++ b/academic/metis/metis.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=metis
VERSION=${VERSION:-5.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-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/mkDSSP/mkDSSP.SlackBuild b/academic/mkDSSP/mkDSSP.SlackBuild
index cfa8f29b99995..db635412024cd 100644
--- a/academic/mkDSSP/mkDSSP.SlackBuild
+++ b/academic/mkDSSP/mkDSSP.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mkDSSP
VERSION=${VERSION:-4.0_git6338c83}
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/academic/mpb/mpb.SlackBuild b/academic/mpb/mpb.SlackBuild
index a4586b9ba9e35..75bed7b17992c 100644
--- a/academic/mpb/mpb.SlackBuild
+++ b/academic/mpb/mpb.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpb
VERSION=${VERSION:-1.11.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/academic/mrbayes/mrbayes.SlackBuild b/academic/mrbayes/mrbayes.SlackBuild
index c696afee215ef..e3a50baad02f5 100644
--- a/academic/mrbayes/mrbayes.SlackBuild
+++ b/academic/mrbayes/mrbayes.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mrbayes
SRCNAM=MrBayes
VERSION=${VERSION:-3.2.7a}
@@ -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/academic/muscle/muscle.SlackBuild b/academic/muscle/muscle.SlackBuild
index 34fa8cb028f36..e1ae24cdaa557 100644
--- a/academic/muscle/muscle.SlackBuild
+++ b/academic/muscle/muscle.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=muscle
VERSION=${VERSION:-3.8.1551}
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/academic/ncbi-blast+/ncbi-blast+.SlackBuild b/academic/ncbi-blast+/ncbi-blast+.SlackBuild
index d0d4eb8a8cd95..2d346af3678ef 100644
--- a/academic/ncbi-blast+/ncbi-blast+.SlackBuild
+++ b/academic/ncbi-blast+/ncbi-blast+.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=ncbi-blast+
VERSION=${VERSION:-2.11.0}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ncbi-blast/ncbi-blast.SlackBuild b/academic/ncbi-blast/ncbi-blast.SlackBuild
index 5480bf50cdebe..fa8966595976b 100644
--- a/academic/ncbi-blast/ncbi-blast.SlackBuild
+++ b/academic/ncbi-blast/ncbi-blast.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncbi-blast
VERSION=${VERSION:-2.2.26}
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/academic/ncbi-rmblastn/ncbi-rmblastn.SlackBuild b/academic/ncbi-rmblastn/ncbi-rmblastn.SlackBuild
index f563c52988a94..aecd482270cef 100644
--- a/academic/ncbi-rmblastn/ncbi-rmblastn.SlackBuild
+++ b/academic/ncbi-rmblastn/ncbi-rmblastn.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncbi-rmblastn
VERSION=${VERSION:-2.2.28}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/nco/nco.SlackBuild b/academic/nco/nco.SlackBuild
index 0bb634e4747b2..8a4ed5c55d1ac 100644
--- a/academic/nco/nco.SlackBuild
+++ b/academic/nco/nco.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nco
VERSION=${VERSION:-4.9.7}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/ncview/ncview.SlackBuild b/academic/ncview/ncview.SlackBuild
index e8c0e42ac74ea..fbc0b82609ad1 100644
--- a/academic/ncview/ncview.SlackBuild
+++ b/academic/ncview/ncview.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=ncview
VERSION=${VERSION:-2.1.8}
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/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index 49e1c982f4432..4d28a289fed8f 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -6,6 +6,8 @@
# Set initial variables:
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ngspice
VERSION=${VERSION:-34}
BUILD=${BUILD:-5}
@@ -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/academic/novocraft/novocraft.SlackBuild b/academic/novocraft/novocraft.SlackBuild
index e41750a2f8e30..121310e9e1283 100644
--- a/academic/novocraft/novocraft.SlackBuild
+++ b/academic/novocraft/novocraft.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=novocraft
VERSION=${VERSION:-3.09.03}
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/academic/octave/octave.SlackBuild b/academic/octave/octave.SlackBuild
index 4416390a51b9d..c650055eeb83a 100644
--- a/academic/octave/octave.SlackBuild
+++ b/academic/octave/octave.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=octave
VERSION=${VERSION:-6.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-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/openboard/openboard.SlackBuild b/academic/openboard/openboard.SlackBuild
index cd40eea4d7ab6..f36cc8f659ecd 100644
--- a/academic/openboard/openboard.SlackBuild
+++ b/academic/openboard/openboard.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openboard
SRCNAM=OpenBoard
VERSION=${VERSION:-1.6.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/academic/pal2nal/pal2nal.SlackBuild b/academic/pal2nal/pal2nal.SlackBuild
index 858ddab78d17d..eab822a38a08b 100644
--- a/academic/pal2nal/pal2nal.SlackBuild
+++ b/academic/pal2nal/pal2nal.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pal2nal
VERSION=${VERSION:-14.1}
SRCVER=v14.1
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/paml/paml.SlackBuild b/academic/paml/paml.SlackBuild
index d7055a184afa9..fce70063eb61c 100644
--- a/academic/paml/paml.SlackBuild
+++ b/academic/paml/paml.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=paml
VERSION=${VERSION:-4.9j}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pamlX/pamlX.SlackBuild b/academic/pamlX/pamlX.SlackBuild
index 898fee3b4672d..044a03ef306ef 100644
--- a/academic/pamlX/pamlX.SlackBuild
+++ b/academic/pamlX/pamlX.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pamlX
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-6}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/papi/papi.SlackBuild b/academic/papi/papi.SlackBuild
index 6ec67836db44b..1d29378ea2692 100644
--- a/academic/papi/papi.SlackBuild
+++ b/academic/papi/papi.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=papi
VERSION=${VERSION:-5.5.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/academic/pari/pari.SlackBuild b/academic/pari/pari.SlackBuild
index c2f07350af158..845e2eef9849b 100644
--- a/academic/pari/pari.SlackBuild
+++ b/academic/pari/pari.SlackBuild
@@ -30,6 +30,8 @@
# Joachim Kruth -> update to version 2.11.1
# Joachim Kruth -> update to version 2.11.2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pari
VERSION=${VERSION:-2.13.1}
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/academic/parmetis/parmetis.SlackBuild b/academic/parmetis/parmetis.SlackBuild
index c6ca89ad91e1c..20eaa2848fcad 100644
--- a/academic/parmetis/parmetis.SlackBuild
+++ b/academic/parmetis/parmetis.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=parmetis
VERSION=${VERSION:-4.0.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/academic/patsy/patsy.SlackBuild b/academic/patsy/patsy.SlackBuild
index eb9855320ca07..d856bb5269d45 100644
--- a/academic/patsy/patsy.SlackBuild
+++ b/academic/patsy/patsy.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=patsy
VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pcalc/pcalc.SlackBuild b/academic/pcalc/pcalc.SlackBuild
index 290268df1c6e3..5261cea0ff022 100644
--- a/academic/pcalc/pcalc.SlackBuild
+++ b/academic/pcalc/pcalc.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcalc
VERSION=${VERSION:-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/academic/pcb/pcb.SlackBuild b/academic/pcb/pcb.SlackBuild
index 52e807458f6a7..a9c15a1b3a8b3 100644
--- a/academic/pcb/pcb.SlackBuild
+++ b/academic/pcb/pcb.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcb
VERSION=${VERSION:-4.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/academic/perlprimer/perlprimer.SlackBuild b/academic/perlprimer/perlprimer.SlackBuild
index aa421bcf9611b..ad20109df188c 100644
--- a/academic/perlprimer/perlprimer.SlackBuild
+++ b/academic/perlprimer/perlprimer.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perlprimer
VERSION=${VERSION:-1.2.4}
COMMIT=${COMMIT:-f415ea6d0170f2f62f10c678adac8fdc69a3298f}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pianobooster/pianobooster.SlackBuild b/academic/pianobooster/pianobooster.SlackBuild
index 1c4ccc89a677d..ed1bdb6cbb064 100644
--- a/academic/pianobooster/pianobooster.SlackBuild
+++ b/academic/pianobooster/pianobooster.SlackBuild
@@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pianobooster
VERSION=${VERSION:-0.6.4b}
BUILD=${BUILD:-2}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/plasmidomics/plasmidomics.SlackBuild b/academic/plasmidomics/plasmidomics.SlackBuild
index 34e612d7c30a5..2256cbbc298f3 100644
--- a/academic/plasmidomics/plasmidomics.SlackBuild
+++ b/academic/plasmidomics/plasmidomics.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plasmidomics
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-2}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/prank-msa/prank-msa.SlackBuild b/academic/prank-msa/prank-msa.SlackBuild
index 7db23355b1c28..7931f85ba9a81 100644
--- a/academic/prank-msa/prank-msa.SlackBuild
+++ b/academic/prank-msa/prank-msa.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prank-msa
SRCNAM=prank.source
VERSION=${VERSION:-170427}
@@ -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/academic/primer3/primer3.SlackBuild b/academic/primer3/primer3.SlackBuild
index af0af4c31125c..6e3f4c3876709 100644
--- a/academic/primer3/primer3.SlackBuild
+++ b/academic/primer3/primer3.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=primer3
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pspp/pspp.SlackBuild b/academic/pspp/pspp.SlackBuild
index 23e8143f82144..b582cc7744227 100644
--- a/academic/pspp/pspp.SlackBuild
+++ b/academic/pspp/pspp.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pspp
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/academic/pulseview/pulseview.SlackBuild b/academic/pulseview/pulseview.SlackBuild
index 77491339cca3b..a4b588dee0a04 100644
--- a/academic/pulseview/pulseview.SlackBuild
+++ b/academic/pulseview/pulseview.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pulseview
VERSION=${VERSION:-20210103_d023660}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pyCRAC/pyCRAC.SlackBuild b/academic/pyCRAC/pyCRAC.SlackBuild
index 95b928d7255e4..9952f802a60b2 100644
--- a/academic/pyCRAC/pyCRAC.SlackBuild
+++ b/academic/pyCRAC/pyCRAC.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyCRAC
VERSION=${VERSION:-1.5.0}
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/academic/pyfits/pyfits.SlackBuild b/academic/pyfits/pyfits.SlackBuild
index c166ec08395a3..a4026216c1459 100644
--- a/academic/pyfits/pyfits.SlackBuild
+++ b/academic/pyfits/pyfits.SlackBuild
@@ -5,6 +5,8 @@
# Written by Nicky Chorley <nick.chorley@gmail.com>, but heavily
# based on the NumPy SlackBuild by Aleksandar Samardzic.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyfits
VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/pysam/pysam.SlackBuild b/academic/pysam/pysam.SlackBuild
index 563ef611986fe..54ab2e7b42694 100644
--- a/academic/pysam/pysam.SlackBuild
+++ b/academic/pysam/pysam.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pysam
VERSION=${VERSION:-0.16.0.1}
BUILD=${BUILD:-3}
@@ -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/academic/qalculate-gtk/qalculate-gtk.SlackBuild b/academic/qalculate-gtk/qalculate-gtk.SlackBuild
index edac997f49857..9ad9ebd35977a 100644
--- a/academic/qalculate-gtk/qalculate-gtk.SlackBuild
+++ b/academic/qalculate-gtk/qalculate-gtk.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qalculate-gtk
VERSION=${VERSION:-3.10.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/qcl/qcl.SlackBuild b/academic/qcl/qcl.SlackBuild
index 9c5da427e1d14..b0ba1c98c5a6c 100644
--- a/academic/qcl/qcl.SlackBuild
+++ b/academic/qcl/qcl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qcl
VERSION=${VERSION:-0.6.4}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild
index 9aca068b23471..874d2a629b05b 100644
--- a/academic/qhull/qhull.SlackBuild
+++ b/academic/qhull/qhull.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=qhull
VERSION=${VERSION:-2015.2}
BUILD_VERSION=${BUILD_VERSION:-7.2.0}
@@ -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/academic/qrupdate/qrupdate.SlackBuild b/academic/qrupdate/qrupdate.SlackBuild
index 462e25c4d7218..dea4d5681f55a 100644
--- a/academic/qrupdate/qrupdate.SlackBuild
+++ b/academic/qrupdate/qrupdate.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qrupdate
VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-4}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/qucs/qucs.SlackBuild b/academic/qucs/qucs.SlackBuild
index c2274f8cab864..8f7a637209d2e 100644
--- a/academic/qucs/qucs.SlackBuild
+++ b/academic/qucs/qucs.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=qucs
VERSION=${VERSION:-0.0.19}
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/academic/rbio/rbio.SlackBuild b/academic/rbio/rbio.SlackBuild
index b1c29621f50c0..1a956828321c5 100644
--- a/academic/rbio/rbio.SlackBuild
+++ b/academic/rbio/rbio.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rbio
SRCNAM=SuiteSparse
SUBDIR=RBio
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/reduce-algebra/reduce-algebra.SlackBuild b/academic/reduce-algebra/reduce-algebra.SlackBuild
index d2573209bf077..f6a432fcb3506 100644
--- a/academic/reduce-algebra/reduce-algebra.SlackBuild
+++ b/academic/reduce-algebra/reduce-algebra.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=reduce-algebra
VERSION=${VERSION:-20201007svn5424}
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/academic/root/root.SlackBuild b/academic/root/root.SlackBuild
index ff537520aae69..9b82146531c19 100644
--- a/academic/root/root.SlackBuild
+++ b/academic/root/root.SlackBuild
@@ -17,6 +17,8 @@
# Modified by the slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=root
VERSION=${VERSION:-6.10.02}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/rpy2/rpy2.SlackBuild b/academic/rpy2/rpy2.SlackBuild
index 7c7c01d1b37db..9c1d0ca5d89d6 100644
--- a/academic/rpy2/rpy2.SlackBuild
+++ b/academic/rpy2/rpy2.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=rpy2
VERSION=${VERSION:-3.4.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/academic/sage-bin/sage-bin.SlackBuild b/academic/sage-bin/sage-bin.SlackBuild
index 75b5a68b8f127..728adecd16b11 100644
--- a/academic/sage-bin/sage-bin.SlackBuild
+++ b/academic/sage-bin/sage-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=sage-bin
VERSION=${VERSION:-8.3}
DEBVERSION=${DEBVERSION:-9}
@@ -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/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 10a0ebb0f2177..e6b0b129a325f 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.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=sage
VERSION=${VERSION:-9.3}
BUILD=${BUILD:-1}
@@ -51,7 +53,6 @@ fi
# in the /tmp folder if we want it to remain after installation.
# So we'll put it in /var/tmp. Maybe just sticking it in /usr is better.
-CWD=$(pwd)
TMP=${TMP:-/var/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/samtools-legacy/samtools-legacy.SlackBuild b/academic/samtools-legacy/samtools-legacy.SlackBuild
index 94c4e1d654df6..1ace9a255dbd8 100644
--- a/academic/samtools-legacy/samtools-legacy.SlackBuild
+++ b/academic/samtools-legacy/samtools-legacy.SlackBuild
@@ -25,6 +25,8 @@
# With help about the install paths from Arch Linux AUR:
# https://aur.archlinux.org/packages/sa/samtools/PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=samtools-legacy
VERSION=${VERSION:-0.1.19}
BUILD=${BUILD:-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/academic/samtools/samtools.SlackBuild b/academic/samtools/samtools.SlackBuild
index 6af27a0e0a970..be54a38169ad9 100644
--- a/academic/samtools/samtools.SlackBuild
+++ b/academic/samtools/samtools.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=samtools
VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/scidavis/scidavis.SlackBuild b/academic/scidavis/scidavis.SlackBuild
index 6c4bdd2346802..8ce178ca93948 100644
--- a/academic/scidavis/scidavis.SlackBuild
+++ b/academic/scidavis/scidavis.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=scidavis
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index 10f1fe396924e..a85bc25eeb640 100644
--- a/academic/scilab/scilab.SlackBuild
+++ b/academic/scilab/scilab.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=scilab
VERSION=${VERSION:-6.1.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/scipy/scipy.SlackBuild b/academic/scipy/scipy.SlackBuild
index 1e6c8dce134c1..382af46379009 100644
--- a/academic/scipy/scipy.SlackBuild
+++ b/academic/scipy/scipy.SlackBuild
@@ -28,6 +28,8 @@
# Updated up to 1.1.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scipy
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-2}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/scipy3/scipy3.SlackBuild b/academic/scipy3/scipy3.SlackBuild
index d60cdbc4de11a..0ba4059df85bb 100644
--- a/academic/scipy3/scipy3.SlackBuild
+++ b/academic/scipy3/scipy3.SlackBuild
@@ -28,6 +28,8 @@
# Updated up to 1.1.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="scipy3"
SRCNAM="scipy"
VERSION=${VERSION:-1.5.4}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild
index c4f650d50f2ba..4d9c297e9928e 100644
--- a/academic/seaview/seaview.SlackBuild
+++ b/academic/seaview/seaview.SlackBuild
@@ -25,6 +25,8 @@
# Thanks to Niels Horn for correcting the CFLAGS.
# Thanks to developer Dr. Manolo Gouy for all his help.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=seaview
VERSION=${VERSION:-5.0.4}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/seqkit/seqkit.SlackBuild b/academic/seqkit/seqkit.SlackBuild
index eaf54925fa37b..9e5b14c3e7895 100644
--- a/academic/seqkit/seqkit.SlackBuild
+++ b/academic/seqkit/seqkit.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=seqkit
VERSION=${VERSION:-0.16.0}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/sequence-analysis/sequence-analysis.SlackBuild b/academic/sequence-analysis/sequence-analysis.SlackBuild
index 18c1ded229dd4..1f5d74f61bdee 100644
--- a/academic/sequence-analysis/sequence-analysis.SlackBuild
+++ b/academic/sequence-analysis/sequence-analysis.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sequence-analysis
VERSION=${VERSION:-1.7.2}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/sigrok-cli/sigrok-cli.SlackBuild b/academic/sigrok-cli/sigrok-cli.SlackBuild
index 6abd525ae9141..41269d6fcbb9c 100644
--- a/academic/sigrok-cli/sigrok-cli.SlackBuild
+++ b/academic/sigrok-cli/sigrok-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=sigrok-cli
VERSION=${VERSION:-0.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/academic/siril/siril.SlackBuild b/academic/siril/siril.SlackBuild
index 71bcb80b05a07..f479470f7f36e 100644
--- a/academic/siril/siril.SlackBuild
+++ b/academic/siril/siril.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=siril
VERSION=${VERSION:-0.9.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/academic/smath-studio/smath-studio.SlackBuild b/academic/smath-studio/smath-studio.SlackBuild
index 19c2c741868ff..cbcd0d2f61ac4 100644
--- a/academic/smath-studio/smath-studio.SlackBuild
+++ b/academic/smath-studio/smath-studio.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smath-studio
VERSION=${VERSION:-0.97.5346}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ ORIG_FILENAME=${ORIG_PRGNAM}Desktop.$ORIG_VERSION.Mono.tar.gz
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/snpEff/snpEff.SlackBuild b/academic/snpEff/snpEff.SlackBuild
index 83c7941c0d668..14bbee8414124 100644
--- a/academic/snpEff/snpEff.SlackBuild
+++ b/academic/snpEff/snpEff.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snpEff
VERSION=${VERSION:-4.3t}
SRCVER=${SRCVER:-v4_3t}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/solfege/solfege.SlackBuild b/academic/solfege/solfege.SlackBuild
index 6e952593df0ee..afd76e0c2df25 100644
--- a/academic/solfege/solfege.SlackBuild
+++ b/academic/solfege/solfege.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for solfege
# Written by Phillip Warner <pc_warner@yahoo.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=solfege
VERSION=${VERSION:-3.22.2}
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/academic/spades/spades.SlackBuild b/academic/spades/spades.SlackBuild
index 40c861f804b14..417adcae7437c 100644
--- a/academic/spades/spades.SlackBuild
+++ b/academic/spades/spades.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spades
VERSION=${VERSION:-3.15.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/academic/speedcrunch/speedcrunch.SlackBuild b/academic/speedcrunch/speedcrunch.SlackBuild
index 504403d87e9f0..1b9793e4ab421 100644
--- a/academic/speedcrunch/speedcrunch.SlackBuild
+++ b/academic/speedcrunch/speedcrunch.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=speedcrunch
SRCNAM=SpeedCrunch
VERSION=${VERSION:-0.12.0}
@@ -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/academic/spiceopus/spiceopus.SlackBuild b/academic/spiceopus/spiceopus.SlackBuild
index 426e94cc4905c..9aa154e4d28b7 100644
--- a/academic/spiceopus/spiceopus.SlackBuild
+++ b/academic/spiceopus/spiceopus.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spiceopus
VERSION=${VERSION:-2.3}
SRCDIR=spice_opus23_linux_18.Jan.2010_08.57
@@ -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/academic/spidey/spidey.SlackBuild b/academic/spidey/spidey.SlackBuild
index 45bb2e0f7b45f..beff926774cfe 100644
--- a/academic/spidey/spidey.SlackBuild
+++ b/academic/spidey/spidey.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spidey
VERSION=${VERSION:-20060601} # Keep the date of the 32bit binary as version.
BUILD=${BUILD:-2}
@@ -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/academic/spqr/spqr.SlackBuild b/academic/spqr/spqr.SlackBuild
index a9b44d9dc4de6..61f687d0730ea 100644
--- a/academic/spqr/spqr.SlackBuild
+++ b/academic/spqr/spqr.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spqr
SRCNAM=SuiteSparse
SUBDIR=SPQR
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/squizz/squizz.SlackBuild b/academic/squizz/squizz.SlackBuild
index d01b31ea1c39a..8e5eb69bda0cd 100644
--- a/academic/squizz/squizz.SlackBuild
+++ b/academic/squizz/squizz.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squizz
VERSION=${VERSION:-0.99d}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/staden/staden.SlackBuild b/academic/staden/staden.SlackBuild
index 4808c9ec11b3e..bc15a778dc7ab 100644
--- a/academic/staden/staden.SlackBuild
+++ b/academic/staden/staden.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=staden
VERSION=${VERSION:-2.0.0b11}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ fi
TKLIB=tklib0.6 # Folder name of TKLIB
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild
index 6793538d46211..e532879be1a4a 100644
--- a/academic/stellarium/stellarium.SlackBuild
+++ b/academic/stellarium/stellarium.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stellarium
VERSION=${VERSION:-0.21.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/academic/stringtie/stringtie.SlackBuild b/academic/stringtie/stringtie.SlackBuild
index 55e72507a9b42..f78e9be61f63d 100644
--- a/academic/stringtie/stringtie.SlackBuild
+++ b/academic/stringtie/stringtie.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stringtie
VERSION=${VERSION:-1.3.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/academic/suitesparse/suitesparse.SlackBuild b/academic/suitesparse/suitesparse.SlackBuild
index c54a66bcbe7e8..5aa03a16c6b84 100644
--- a/academic/suitesparse/suitesparse.SlackBuild
+++ b/academic/suitesparse/suitesparse.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=suitesparse
SRCNAM=SuiteSparse
VERSION=${VERSION:-5.10.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/academic/suitesparseconfig/suitesparseconfig.SlackBuild b/academic/suitesparseconfig/suitesparseconfig.SlackBuild
index f1736642375d9..76f937d370d0e 100644
--- a/academic/suitesparseconfig/suitesparseconfig.SlackBuild
+++ b/academic/suitesparseconfig/suitesparseconfig.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=suitesparseconfig
SRCNAM=SuiteSparse
SUBDIR=SuiteSparse_config
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/sundials/sundials.SlackBuild b/academic/sundials/sundials.SlackBuild
index 3dab122f333df..31a111997f453 100644
--- a/academic/sundials/sundials.SlackBuild
+++ b/academic/sundials/sundials.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=sundials
VERSION=${VERSION:-5.6.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/sword-data-kjv/sword-data-kjv.SlackBuild b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
index 23496b07c3f20..bbe3d67f47900 100644
--- a/academic/sword-data-kjv/sword-data-kjv.SlackBuild
+++ b/academic/sword-data-kjv/sword-data-kjv.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sword-data-kjv
VERSION=${VERSION:-1.8.1_1}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
#this is a data package, architecture is irrelevant
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/sword/sword.SlackBuild b/academic/sword/sword.SlackBuild
index 8fc89f962601e..f4584517c8724 100644
--- a/academic/sword/sword.SlackBuild
+++ b/academic/sword/sword.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=sword
VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-3}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/t_coffee/t_coffee.SlackBuild b/academic/t_coffee/t_coffee.SlackBuild
index ff698095e9b8e..89cac49de0b04 100644
--- a/academic/t_coffee/t_coffee.SlackBuild
+++ b/academic/t_coffee/t_coffee.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN 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_coffee
VERSION=${VERSION:-13.41.0_git28bdc39}
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/academic/tabix-legacy/tabix-legacy.SlackBuild b/academic/tabix-legacy/tabix-legacy.SlackBuild
index 5909ccaf82358..57187854a034c 100644
--- a/academic/tabix-legacy/tabix-legacy.SlackBuild
+++ b/academic/tabix-legacy/tabix-legacy.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tabix-legacy
VERSION=${VERSION:-0.2.6}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/tiemu/tiemu.SlackBuild b/academic/tiemu/tiemu.SlackBuild
index 3a3c0c9aaa107..7ab793ac46cc1 100644
--- a/academic/tiemu/tiemu.SlackBuild
+++ b/academic/tiemu/tiemu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tiemu
VERSION=${VERSION:-3.03}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/tilem/tilem.SlackBuild b/academic/tilem/tilem.SlackBuild
index ae1254d57ac6f..348ea011040b1 100644
--- a/academic/tilem/tilem.SlackBuild
+++ b/academic/tilem/tilem.SlackBuild
@@ -20,6 +20,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tilem
VERSION=${VERSION:-0.973}
BUILD=${BUILD:-2}
@@ -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/academic/tilem2/tilem2.SlackBuild b/academic/tilem2/tilem2.SlackBuild
index 454070e99e40d..553c66d5a2a45 100644
--- a/academic/tilem2/tilem2.SlackBuild
+++ b/academic/tilem2/tilem2.SlackBuild
@@ -22,6 +22,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tilem2
SRCNAM=tilem
VERSION=${VERSION:-2.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/tkgate/tkgate.SlackBuild b/academic/tkgate/tkgate.SlackBuild
index 980c81018c162..a8160435a4a74 100644
--- a/academic/tkgate/tkgate.SlackBuild
+++ b/academic/tkgate/tkgate.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkgate
VERSION=${VERSION:-2.0_b10}
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/academic/topdraw/topdraw.SlackBuild b/academic/topdraw/topdraw.SlackBuild
index fa7b7853ceb7b..4f26d1299057f 100644
--- a/academic/topdraw/topdraw.SlackBuild
+++ b/academic/topdraw/topdraw.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=topdraw
VERSION=${VERSION:-sep2002}
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/academic/tophat/tophat.SlackBuild b/academic/tophat/tophat.SlackBuild
index 94f1f65346976..54e66370ebcf9 100644
--- a/academic/tophat/tophat.SlackBuild
+++ b/academic/tophat/tophat.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tophat
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/treebest-ensembl/treebest-ensembl.SlackBuild b/academic/treebest-ensembl/treebest-ensembl.SlackBuild
index 0e83db1ecba7e..d2bca6a2ed48f 100644
--- a/academic/treebest-ensembl/treebest-ensembl.SlackBuild
+++ b/academic/treebest-ensembl/treebest-ensembl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=treebest-ensembl
VERSION=${VERSION:-1.9.2_git347fa82}
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/academic/treerecs/treerecs.SlackBuild b/academic/treerecs/treerecs.SlackBuild
index 570e58b4970b7..c590920cb8f9f 100644
--- a/academic/treerecs/treerecs.SlackBuild
+++ b/academic/treerecs/treerecs.SlackBuild
@@ -24,6 +24,8 @@
# Thanks to David Parsons for clarifications about the scipt and suggestions!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=treerecs
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/treeviewx/treeviewx.SlackBuild b/academic/treeviewx/treeviewx.SlackBuild
index 14006918eb819..3115483cb2064 100644
--- a/academic/treeviewx/treeviewx.SlackBuild
+++ b/academic/treeviewx/treeviewx.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=treeviewx
SRCNAM=tv
SRCVER=0.5
@@ -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/academic/trfind/trfind.SlackBuild b/academic/trfind/trfind.SlackBuild
index 6371cac12faeb..219789c5029fe 100644
--- a/academic/trfind/trfind.SlackBuild
+++ b/academic/trfind/trfind.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trfind
VERSION=${VERSION:-4.09.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/academic/trimmomatic/trimmomatic.SlackBuild b/academic/trimmomatic/trimmomatic.SlackBuild
index c37092162ecef..aa1a0382ffd2c 100644
--- a/academic/trimmomatic/trimmomatic.SlackBuild
+++ b/academic/trimmomatic/trimmomatic.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trimmomatic
ZIPNAM=Trimmomatic
VERSION=${VERSION:-0.39}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/tuxmath/tuxmath.SlackBuild b/academic/tuxmath/tuxmath.SlackBuild
index 03f9e98c2b597..afdcc3f7d0792 100644
--- a/academic/tuxmath/tuxmath.SlackBuild
+++ b/academic/tuxmath/tuxmath.SlackBuild
@@ -4,6 +4,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxmath
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/tuxtype2/tuxtype2.SlackBuild b/academic/tuxtype2/tuxtype2.SlackBuild
index dc6a8d3bdd612..67ea843b10ef0 100644
--- a/academic/tuxtype2/tuxtype2.SlackBuild
+++ b/academic/tuxtype2/tuxtype2.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxtype2
VERSION=${VERSION:-1.8.1}
SRCPATH=tuxtype_w_fonts
@@ -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/academic/ucsc-blat/ucsc-blat.SlackBuild b/academic/ucsc-blat/ucsc-blat.SlackBuild
index 5d6a9a09754b5..facb8f5f22aa4 100644
--- a/academic/ucsc-blat/ucsc-blat.SlackBuild
+++ b/academic/ucsc-blat/ucsc-blat.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ucsc-blat
VERSION=${VERSION:-34}
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/academic/ugene/ugene.SlackBuild b/academic/ugene/ugene.SlackBuild
index efcb9f117cba4..15a3b715f3e07 100644
--- a/academic/ugene/ugene.SlackBuild
+++ b/academic/ugene/ugene.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ugene
VERSION=${VERSION:-38.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/academic/umfpack/umfpack.SlackBuild b/academic/umfpack/umfpack.SlackBuild
index c8b324aa48dac..80c83e094e037 100644
--- a/academic/umfpack/umfpack.SlackBuild
+++ b/academic/umfpack/umfpack.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=umfpack
SRCNAM=SuiteSparse
SUBDIR=UMFPACK
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild
index ea02baf4b7061..f21fd175e0e74 100644
--- a/academic/units/units.SlackBuild
+++ b/academic/units/units.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=units
VERSION=${VERSION:-2.20}
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/academic/vCAPS_coevolution/vCAPS_coevolution.SlackBuild b/academic/vCAPS_coevolution/vCAPS_coevolution.SlackBuild
index 2e02b9844bb62..edd3b179333f2 100644
--- a/academic/vCAPS_coevolution/vCAPS_coevolution.SlackBuild
+++ b/academic/vCAPS_coevolution/vCAPS_coevolution.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vCAPS_coevolution
VERSION=${VERSION:-2.0_1UN}
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/academic/vcftools/vcftools.SlackBuild b/academic/vcftools/vcftools.SlackBuild
index 83fddb2bb1cd9..abab9940a00c1 100644
--- a/academic/vcftools/vcftools.SlackBuild
+++ b/academic/vcftools/vcftools.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vcftools
VERSION=${VERSION:-0.1.16}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/verilator/verilator.SlackBuild b/academic/verilator/verilator.SlackBuild
index f4483d2e972e2..2117dba6532b7 100644
--- a/academic/verilator/verilator.SlackBuild
+++ b/academic/verilator/verilator.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verilator
VERSION=${VERSION:-4.030}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/verilog/verilog.SlackBuild b/academic/verilog/verilog.SlackBuild
index 3fcefcb73b9f1..74d5d6cd6fe77 100644
--- a/academic/verilog/verilog.SlackBuild
+++ b/academic/verilog/verilog.SlackBuild
@@ -3,6 +3,8 @@
#Slackware build script for Icarus Verilog compiler
#Written by Stephen Van Berg stephen_van_berg@earlicker.com.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verilog
VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/veusz/veusz.SlackBuild b/academic/veusz/veusz.SlackBuild
index 8966567b1b5e2..807fbde7072e3 100644
--- a/academic/veusz/veusz.SlackBuild
+++ b/academic/veusz/veusz.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=veusz
VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/wehi-cellsymphony/wehi-cellsymphony.SlackBuild b/academic/wehi-cellsymphony/wehi-cellsymphony.SlackBuild
index 00a1d26d0804a..c652dc6835385 100644
--- a/academic/wehi-cellsymphony/wehi-cellsymphony.SlackBuild
+++ b/academic/wehi-cellsymphony/wehi-cellsymphony.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wehi-cellsymphony
VERSION=${VERSION:-20130721}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCNAM=CellSymphony
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/wehi-deid/wehi-deid.SlackBuild b/academic/wehi-deid/wehi-deid.SlackBuild
index 306c79184d92a..68a591a66eac7 100644
--- a/academic/wehi-deid/wehi-deid.SlackBuild
+++ b/academic/wehi-deid/wehi-deid.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wehi-deid
VERSION=${VERSION:-20130720}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCNAM=DeID
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/wehi-hackit/wehi-hackit.SlackBuild b/academic/wehi-hackit/wehi-hackit.SlackBuild
index 361d6b893f1f3..491ca476aa45e 100644
--- a/academic/wehi-hackit/wehi-hackit.SlackBuild
+++ b/academic/wehi-hackit/wehi-hackit.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wehi-hackit
VERSION=${VERSION:-20050203}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
SRCNAM=Hackit
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/wehi-weasel/wehi-weasel.SlackBuild b/academic/wehi-weasel/wehi-weasel.SlackBuild
index 8b2a798b24139..e54060e71adf2 100644
--- a/academic/wehi-weasel/wehi-weasel.SlackBuild
+++ b/academic/wehi-weasel/wehi-weasel.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wehi-weasel
VERSION=${VERSION:-3.7.1.18}
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/academic/wmcalc/wmcalc.SlackBuild b/academic/wmcalc/wmcalc.SlackBuild
index 7c86f3541dbf6..7191068129098 100644
--- a/academic/wmcalc/wmcalc.SlackBuild
+++ b/academic/wmcalc/wmcalc.SlackBuild
@@ -43,6 +43,8 @@
# - version bump, BUILD=1
# - previous version installed man page in wrong place
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmcalc
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
@@ -56,7 +58,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/wxMaxima/wxMaxima.SlackBuild b/academic/wxMaxima/wxMaxima.SlackBuild
index fdb0e9acee27c..f55497e29e3c9 100644
--- a/academic/wxMaxima/wxMaxima.SlackBuild
+++ b/academic/wxMaxima/wxMaxima.SlackBuild
@@ -24,6 +24,8 @@
# Mar 2021 - updated for v. 21.01, Judah Milgram, milgram at cgpp com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxMaxima
SRCNAM=wxmaxima
VERSION=${VERSION:-21.01.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/academic/xcircuit/xcircuit.SlackBuild b/academic/xcircuit/xcircuit.SlackBuild
index 32985878d6a56..96bd7419f95c1 100644
--- a/academic/xcircuit/xcircuit.SlackBuild
+++ b/academic/xcircuit/xcircuit.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for grace
# Written by B. Jogai <jogaib {at} comcast [dot] net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcircuit
VERSION=${VERSION:-3.7.54}
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/academic/xephem/xephem.SlackBuild b/academic/xephem/xephem.SlackBuild
index f6f7cada30d06..910be692c0497 100644
--- a/academic/xephem/xephem.SlackBuild
+++ b/academic/xephem/xephem.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xephem
VERSION=${VERSION:-3.7.7}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 297f9891d7076..4d6e7a58bafbb 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xflr5
VERSION=${VERSION:-6.47}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/xfoil/xfoil.SlackBuild b/academic/xfoil/xfoil.SlackBuild
index 0ec714e1d5d01..6342285b3e96d 100644
--- a/academic/xfoil/xfoil.SlackBuild
+++ b/academic/xfoil/xfoil.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xfoil
VERSION=${VERSION:-6.99}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/xiphos/xiphos.SlackBuild b/academic/xiphos/xiphos.SlackBuild
index 60f18b25f64f1..b8b9305c8d292 100644
--- a/academic/xiphos/xiphos.SlackBuild
+++ b/academic/xiphos/xiphos.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xiphos
VERSION=${VERSION:-4.2.1}
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/academic/xoscope/xoscope.SlackBuild b/academic/xoscope/xoscope.SlackBuild
index 36a63d61f60bd..39727ffe39462 100644
--- a/academic/xoscope/xoscope.SlackBuild
+++ b/academic/xoscope/xoscope.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xoscope
VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
diff --git a/academic/z3/z3.SlackBuild b/academic/z3/z3.SlackBuild
index 907dc847404c1..564c36252b0c6 100644
--- a/academic/z3/z3.SlackBuild
+++ b/academic/z3/z3.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=z3
VERSION=${VERSION:-4.8.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/academic/zotero/zotero.SlackBuild b/academic/zotero/zotero.SlackBuild
index d3684ec5b1c46..c6b048ed34ee5 100644
--- a/academic/zotero/zotero.SlackBuild
+++ b/academic/zotero/zotero.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=zotero
SRCNAM=Zotero
VERSION=${VERSION:-5.0.85}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}