diff options
Diffstat (limited to 'games')
544 files changed, 1088 insertions, 544 deletions
diff --git a/games/0ad-data/0ad-data.SlackBuild b/games/0ad-data/0ad-data.SlackBuild index 1c7b56113e04..7bb3cbcee044 100644 --- a/games/0ad-data/0ad-data.SlackBuild +++ b/games/0ad-data/0ad-data.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=0ad-data DATANAM=0ad VERSION=${VERSION:-0.0.24b} @@ -32,7 +34,6 @@ ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/0ad/0ad.SlackBuild b/games/0ad/0ad.SlackBuild index fb1c911b72cf..a1849b2f0939 100644 --- a/games/0ad/0ad.SlackBuild +++ b/games/0ad/0ad.SlackBuild @@ -24,13 +24,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=0ad VERSION=${VERSION:-0.0.24b} RELEASE=${RELEASE:-alpha} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/3D-Fasteroids/3D-Fasteroids.SlackBuild b/games/3D-Fasteroids/3D-Fasteroids.SlackBuild index 7a9beec088f3..d3fd591cb4be 100644 --- a/games/3D-Fasteroids/3D-Fasteroids.SlackBuild +++ b/games/3D-Fasteroids/3D-Fasteroids.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=3D-Fasteroids SRCNAM=3d-fasteroids VERSION=${VERSION:-0.0.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/games/4digits/4digits.SlackBuild b/games/4digits/4digits.SlackBuild index 396e5be3bc96..b88f3aefcbf4 100644 --- a/games/4digits/4digits.SlackBuild +++ b/games/4digits/4digits.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=4digits VERSION=${VERSION:-1.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/games/7kaa/7kaa.SlackBuild b/games/7kaa/7kaa.SlackBuild index f0b7aad5e647..365454ec102a 100644 --- a/games/7kaa/7kaa.SlackBuild +++ b/games/7kaa/7kaa.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=7kaa VERSION=${VERSION:-2.15.4p1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/BeastieWorker-levels/BeastieWorker-levels.SlackBuild b/games/BeastieWorker-levels/BeastieWorker-levels.SlackBuild index bb6dfd71349f..1461956301ac 100644 --- a/games/BeastieWorker-levels/BeastieWorker-levels.SlackBuild +++ b/games/BeastieWorker-levels/BeastieWorker-levels.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=BeastieWorker-levels VERSION=${VERSION:-01.50} SRCVER=$(echo $VERSION | tr . _) @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/BeastieWorker/BeastieWorker.SlackBuild b/games/BeastieWorker/BeastieWorker.SlackBuild index fd07ab8fe31b..b911f8cf6bac 100644 --- a/games/BeastieWorker/BeastieWorker.SlackBuild +++ b/games/BeastieWorker/BeastieWorker.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=BeastieWorker VERSION=${VERSION:-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/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild index 361539d548d8..31f2ae4ab3e0 100644 --- a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild +++ b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild @@ -8,6 +8,8 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Chatbot-Eliza VERSION=${VERSION:-1.04} BUILD=${BUILD:-2} @@ -16,7 +18,6 @@ TAG=${TAG:-_SBo} # There is no compiled code here, nothing use /usr/lib(64) ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/CorsixTH/CorsixTH.SlackBuild b/games/CorsixTH/CorsixTH.SlackBuild index fb8362a4f7e8..7b3e5d543800 100644 --- a/games/CorsixTH/CorsixTH.SlackBuild +++ b/games/CorsixTH/CorsixTH.SlackBuild @@ -26,6 +26,8 @@ # lua and lua52 (or lua53) were installed. The fix is to force cmake # to use the libraries from lua (version 5.1.5). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=CorsixTH VERSION=${VERSION:-0.63} 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/games/FlightGear-data/FlightGear-data.SlackBuild b/games/FlightGear-data/FlightGear-data.SlackBuild index d8c30ee3689f..2278a32e434d 100644 --- a/games/FlightGear-data/FlightGear-data.SlackBuild +++ b/games/FlightGear-data/FlightGear-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=FlightGear-data SRCNAM=FlightGear VERSION=${VERSION:-2020.3.8} @@ -31,7 +33,6 @@ TAG=${TAG:-_SBo} # Data package, no binaries ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild index a32d38b3bbaa..1f60b0315a64 100644 --- a/games/FlightGear/FlightGear.SlackBuild +++ b/games/FlightGear/FlightGear.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=FlightGear SRCNAM=flightgear VERSION=${VERSION:-2020.3.8} @@ -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/games/KAdventure/KAdventure.SlackBuild b/games/KAdventure/KAdventure.SlackBuild index 5ac3ad966736..d209983dfe1f 100644 --- a/games/KAdventure/KAdventure.SlackBuild +++ b/games/KAdventure/KAdventure.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=KAdventure VERSION=${VERSION:-gitfdc9579} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/KoboDeluxe/KoboDeluxe.SlackBuild b/games/KoboDeluxe/KoboDeluxe.SlackBuild index f052368ef701..cebbc2a5e706 100644 --- a/games/KoboDeluxe/KoboDeluxe.SlackBuild +++ b/games/KoboDeluxe/KoboDeluxe.SlackBuild @@ -18,6 +18,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=KoboDeluxe VERSION=${VERSION:-0.5.1} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/OpenJK/OpenJK.SlackBuild b/games/OpenJK/OpenJK.SlackBuild index c5cc2ffece49..446c4069f33c 100644 --- a/games/OpenJK/OpenJK.SlackBuild +++ b/games/OpenJK/OpenJK.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=OpenJK VERSION=${VERSION:-7613c1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/OpenRA/OpenRA.SlackBuild b/games/OpenRA/OpenRA.SlackBuild index a225fbc4b45b..9687e2bae7d9 100644 --- a/games/OpenRA/OpenRA.SlackBuild +++ b/games/OpenRA/OpenRA.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=OpenRA VERSION=${VERSION:-20190314} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/OpenXcom/OpenXcom.SlackBuild b/games/OpenXcom/OpenXcom.SlackBuild index 1ce79879ae94..2405eb6aafe2 100644 --- a/games/OpenXcom/OpenXcom.SlackBuild +++ b/games/OpenXcom/OpenXcom.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=OpenXcom VERSION=${VERSION:-20201205_2034} COMMIT="cafc2eda3a11eefeb8e3f19f6a73d8f0d00206be" @@ -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/games/PyLotRO/PyLotRO.SlackBuild b/games/PyLotRO/PyLotRO.SlackBuild index ab6fd93c8c68..7497d602277b 100644 --- a/games/PyLotRO/PyLotRO.SlackBuild +++ b/games/PyLotRO/PyLotRO.SlackBuild @@ -21,6 +21,8 @@ # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=PyLotRO VERSION=${VERSION:-0.1.15} BUILD=${BUILD:-2} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/Pyfa/Pyfa.SlackBuild b/games/Pyfa/Pyfa.SlackBuild index eba776b75e60..58631b4ab655 100644 --- a/games/Pyfa/Pyfa.SlackBuild +++ b/games/Pyfa/Pyfa.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Pyfa VERSION=${VERSION:-1.31.0} BUILD=${BUILD:-1} @@ -31,7 +33,6 @@ SRCNAM=pyfa ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/QuickNES-Core/QuickNES-Core.SlackBuild b/games/QuickNES-Core/QuickNES-Core.SlackBuild index ef6969438ae2..4473ffd8f5c9 100644 --- a/games/QuickNES-Core/QuickNES-Core.SlackBuild +++ b/games/QuickNES-Core/QuickNES-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=QuickNES-Core LIBNAM=quicknes_libretro VERSION=${VERSION:-2020.10.11.81fedf7} @@ -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/games/RetroArch/RetroArch.SlackBuild b/games/RetroArch/RetroArch.SlackBuild index 44a3ad258490..8562526c688e 100644 --- a/games/RetroArch/RetroArch.SlackBuild +++ b/games/RetroArch/RetroArch.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=RetroArch VERSION=${VERSION:-1.9.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/games/SLADE/SLADE.SlackBuild b/games/SLADE/SLADE.SlackBuild index db81111efdf4..1fae15093c66 100644 --- a/games/SLADE/SLADE.SlackBuild +++ b/games/SLADE/SLADE.SlackBuild @@ -31,6 +31,8 @@ # - install icon in right place, symlink to old location # - get rid of our .desktop file (upstream provides one now) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SLADE VERSION=${VERSION:-3.1.12a} BUILD=${BUILD:-1} @@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/Scorched3D/Scorched3D.SlackBuild b/games/Scorched3D/Scorched3D.SlackBuild index 4e39ae18c15c..c6bdf610ec57 100644 --- a/games/Scorched3D/Scorched3D.SlackBuild +++ b/games/Scorched3D/Scorched3D.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Scorched3D VERSION=${VERSION:-44} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/Sokoban/Sokoban.SlackBuild b/games/Sokoban/Sokoban.SlackBuild index 3a497961c7b7..608e99fbe34f 100644 --- a/games/Sokoban/Sokoban.SlackBuild +++ b/games/Sokoban/Sokoban.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Sokoban VERSION=${VERSION:-100} SRCDIR=$(echo $PRGNAM\_Release) @@ -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/games/SpaceZero/SpaceZero.SlackBuild b/games/SpaceZero/SpaceZero.SlackBuild index f1cf22f2ba42..30a79f24759b 100644 --- a/games/SpaceZero/SpaceZero.SlackBuild +++ b/games/SpaceZero/SpaceZero.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=SpaceZero SRCNAM=spacezero VERSION=${VERSION:-0.86.00} @@ -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/games/Tempus-Irae/Tempus-Irae.SlackBuild b/games/Tempus-Irae/Tempus-Irae.SlackBuild index 07e5bc224f80..7c10f165929f 100644 --- a/games/Tempus-Irae/Tempus-Irae.SlackBuild +++ b/games/Tempus-Irae/Tempus-Irae.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=Tempus-Irae VERSION=${VERSION:-1.1} 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/games/UrbanTerror/UrbanTerror.SlackBuild b/games/UrbanTerror/UrbanTerror.SlackBuild index 6c34a4057e80..a03cb95b7c9b 100644 --- a/games/UrbanTerror/UrbanTerror.SlackBuild +++ b/games/UrbanTerror/UrbanTerror.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=UrbanTerror VERSION=${VERSION:-4.3.4} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/VASSAL/VASSAL.SlackBuild b/games/VASSAL/VASSAL.SlackBuild index f2b47d580e80..d9b1657898ed 100644 --- a/games/VASSAL/VASSAL.SlackBuild +++ b/games/VASSAL/VASSAL.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=VASSAL VERSION=${VERSION:-3.5.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/games/ZEsarUX/ZEsarUX.SlackBuild b/games/ZEsarUX/ZEsarUX.SlackBuild index 4f3c2c195b32..7a2d5f566a27 100644 --- a/games/ZEsarUX/ZEsarUX.SlackBuild +++ b/games/ZEsarUX/ZEsarUX.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ZEsarUX VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/abe/abe.SlackBuild b/games/abe/abe.SlackBuild index e77a84f09a1b..1a3fcfe0bd58 100644 --- a/games/abe/abe.SlackBuild +++ b/games/abe/abe.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for abe # Written by Tim Dickson tim@tree-of-life.co.uk +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=abe VERSION=${VERSION:-1.1} BUILD=${BUILD:-2} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/abuse/abuse.SlackBuild b/games/abuse/abuse.SlackBuild index c55692b8cc2a..856cba1ec652 100644 --- a/games/abuse/abuse.SlackBuild +++ b/games/abuse/abuse.SlackBuild @@ -22,6 +22,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=abuse VERSION=${VERSION:-0.8} 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/games/ace/ace.SlackBuild b/games/ace/ace.SlackBuild index 3ac5df867aaf..f86ba9debd94 100644 --- a/games/ace/ace.SlackBuild +++ b/games/ace/ace.SlackBuild @@ -4,6 +4,8 @@ # Written by G. Schoenmakers +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ace VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/adl/adl.SlackBuild b/games/adl/adl.SlackBuild index 0529dd1b8bc4..ed3e5dd774ac 100644 --- a/games/adl/adl.SlackBuild +++ b/games/adl/adl.SlackBuild @@ -26,6 +26,8 @@ # 20170621 bkw: add -j1 to the make commands. I got a mysterious # build failure that I couldn't duplicate, hopefully this fixes it. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=adl VERSION=${VERSION:-20110628} 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/games/adom/adom.SlackBuild b/games/adom/adom.SlackBuild index bcf6ae63bada..747f1b5a49b9 100644 --- a/games/adom/adom.SlackBuild +++ b/games/adom/adom.SlackBuild @@ -6,6 +6,8 @@ # ADOM ships as a binary, so this script just wraps it up # in a clean .tgz package, ready to be installed. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=adom VERSION=${VERSION:-3.3.3} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild index 0dc9bdc6abd0..b94b49ce8d3c 100644 --- a/games/advancemame/advancemame.SlackBuild +++ b/games/advancemame/advancemame.SlackBuild @@ -24,6 +24,8 @@ # - add .desktop, icon, doinst # - document optional SDL2 dep, add SDL2 env var to control it +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=advancemame VERSION=${VERSION:-3.9} 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/games/advancescan/advancescan.SlackBuild b/games/advancescan/advancescan.SlackBuild index e881fa0adce5..33d0fbf07c96 100644 --- a/games/advancescan/advancescan.SlackBuild +++ b/games/advancescan/advancescan.SlackBuild @@ -16,6 +16,8 @@ # - Install .txt docs without CRLF line endings. # - Minor script cleanups. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=advancescan VERSION=${VERSION:-1.18} BUILD=${BUILD:-1} @@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ags/ags.SlackBuild b/games/ags/ags.SlackBuild index 42b01bfb91cb..552d7d5b2109 100644 --- a/games/ags/ags.SlackBuild +++ b/games/ags/ags.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=ags VERSION=${VERSION:-3.5.1.8} 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/games/aisleriot/aisleriot.SlackBuild b/games/aisleriot/aisleriot.SlackBuild index 2d4073637aa5..1fe5a0587fcc 100644 --- a/games/aisleriot/aisleriot.SlackBuild +++ b/games/aisleriot/aisleriot.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=aisleriot VERSION=${VERSION:-3.22.9} 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/games/aklabeth/aklabeth.SlackBuild b/games/aklabeth/aklabeth.SlackBuild index eb4b562edccc..6625673cfe28 100644 --- a/games/aklabeth/aklabeth.SlackBuild +++ b/games/aklabeth/aklabeth.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=aklabeth VERSION=${VERSION:-1.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/games/alephone/alephone.SlackBuild b/games/alephone/alephone.SlackBuild index 6923873b4526..44072e774e0a 100644 --- a/games/alephone/alephone.SlackBuild +++ b/games/alephone/alephone.SlackBuild @@ -13,6 +13,8 @@ # - ffmpeg patches no longer needed # - move binary to /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=alephone VERSION=${VERSION:-20201026} BUILD=${BUILD:-1} @@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/alienarena/alienarena.SlackBuild b/games/alienarena/alienarena.SlackBuild index 405fddac311b..e643c3c10aed 100644 --- a/games/alienarena/alienarena.SlackBuild +++ b/games/alienarena/alienarena.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=alienarena VERSION=${VERSION:-7.66} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/alienwave/alienwave.SlackBuild b/games/alienwave/alienwave.SlackBuild index 30fac52bf20d..bbd19a1cbbf9 100644 --- a/games/alienwave/alienwave.SlackBuild +++ b/games/alienwave/alienwave.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for alienwave # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=alienwave VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/an/an.SlackBuild b/games/an/an.SlackBuild index 986b05ad928d..4a67d5162829 100644 --- a/games/an/an.SlackBuild +++ b/games/an/an.SlackBuild @@ -11,6 +11,8 @@ # but the old 0.95 was segfaulting when built with gcc5. Also, the # new version has Unicode support. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=an VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} @@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild index 7cf8d9f9da67..54c7e7bda1d5 100644 --- a/games/angband/angband.SlackBuild +++ b/games/angband/angband.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=angband VERSION=${VERSION:-4.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/games/antares/antares.SlackBuild b/games/antares/antares.SlackBuild index 3c4d93384079..3f106023527f 100644 --- a/games/antares/antares.SlackBuild +++ b/games/antares/antares.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=antares VERSION=${VERSION:-0.9.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/games/antimicro/antimicro.SlackBuild b/games/antimicro/antimicro.SlackBuild index a7690d212881..c84a8c544d5f 100644 --- a/games/antimicro/antimicro.SlackBuild +++ b/games/antimicro/antimicro.SlackBuild @@ -8,6 +8,8 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=antimicro VERSION=${VERSION:-2.23} BUILD=${BUILD:-1} @@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ardentryst/ardentryst.SlackBuild b/games/ardentryst/ardentryst.SlackBuild index aae78035848b..7a37295d6e3f 100644 --- a/games/ardentryst/ardentryst.SlackBuild +++ b/games/ardentryst/ardentryst.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ardentryst VERSION=${VERSION:-1.71} 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/games/armagetronad/armagetronad.SlackBuild b/games/armagetronad/armagetronad.SlackBuild index feaf495a791b..f9ebdb0fe50b 100644 --- a/games/armagetronad/armagetronad.SlackBuild +++ b/games/armagetronad/armagetronad.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=armagetronad VERSION=${VERSION:-0.2.9.1.0} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild index 782e4e5e053d..0df77636985b 100644 --- a/games/arnold-cpc/arnold-cpc.SlackBuild +++ b/games/arnold-cpc/arnold-cpc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=arnold-cpc VERSION=${VERSION:-2009.03.17} 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/games/arx-libertatis/arx-libertatis.SlackBuild b/games/arx-libertatis/arx-libertatis.SlackBuild index d3c5a3cb795c..d81d363749d2 100644 --- a/games/arx-libertatis/arx-libertatis.SlackBuild +++ b/games/arx-libertatis/arx-libertatis.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=arx-libertatis VERSION=${VERSION:-1.2_dev_2019_07_22} 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/games/asc/asc.SlackBuild b/games/asc/asc.SlackBuild index 2929ec3c5810..43c415e402c2 100644 --- a/games/asc/asc.SlackBuild +++ b/games/asc/asc.SlackBuild @@ -25,6 +25,8 @@ # 20200906 bkw: modified by SlackBuilds.org: added patch to support # physfs 3.0.1. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=asc VERSION=${VERSION:-2.6.1.0} 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/games/asciijump/asciijump.SlackBuild b/games/asciijump/asciijump.SlackBuild index 8b0156909f53..2ccd50ab8a04 100644 --- a/games/asciijump/asciijump.SlackBuild +++ b/games/asciijump/asciijump.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for asciijump # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=asciijump VERSION=${VERSION:-1.0.2~beta} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild index 9bfc9152e8f5..4b2ea0768c5e 100644 --- a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild +++ b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=assaultcube-reloaded SRCNAM=acr VERSION=${VERSION:-2.7} @@ -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/games/assaultcube/assaultcube.SlackBuild b/games/assaultcube/assaultcube.SlackBuild index ff6b5f8d7e29..443034ce7b89 100644 --- a/games/assaultcube/assaultcube.SlackBuild +++ b/games/assaultcube/assaultcube.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SRCNAM=AssaultCube +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=assaultcube VERSION=${VERSION:-1.2.0.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/asteroidsinfinity/asteroidsinfinity.SlackBuild b/games/asteroidsinfinity/asteroidsinfinity.SlackBuild index fdd6c209d8a3..f008b1b25a29 100644 --- a/games/asteroidsinfinity/asteroidsinfinity.SlackBuild +++ b/games/asteroidsinfinity/asteroidsinfinity.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=asteroidsinfinity VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/astromenace/astromenace.SlackBuild b/games/astromenace/astromenace.SlackBuild index e110195c107e..273b2945bacf 100644 --- a/games/astromenace/astromenace.SlackBuild +++ b/games/astromenace/astromenace.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=astromenace 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/games/atanks/atanks.SlackBuild b/games/atanks/atanks.SlackBuild index 1f1a3e4ff948..3f000c9cdfc8 100644 --- a/games/atanks/atanks.SlackBuild +++ b/games/atanks/atanks.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=atanks VERSION=${VERSION:-6.5} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/atari++/atari++.SlackBuild b/games/atari++/atari++.SlackBuild index b2710e841a19..fd6e4f701a63 100644 --- a/games/atari++/atari++.SlackBuild +++ b/games/atari++/atari++.SlackBuild @@ -11,6 +11,8 @@ # - move binary to /usr/games # 20170122 bkw: update for 1.83 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=atari++ VERSION=${VERSION:-1.83} BUILD=${BUILD:-1} @@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild index ee23692b1da7..0db8db1cb95a 100644 --- a/games/atari800/atari800.SlackBuild +++ b/games/atari800/atari800.SlackBuild @@ -20,6 +20,8 @@ # - don't install INSTALL in /usr/doc. # - minor script tweaks. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=atari800 VERSION=${VERSION:-4.2.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/games/atari800_roms/atari800_roms.SlackBuild b/games/atari800_roms/atari800_roms.SlackBuild index a702c94eafa3..db7cc7ba750f 100644 --- a/games/atari800_roms/atari800_roms.SlackBuild +++ b/games/atari800_roms/atari800_roms.SlackBuild @@ -10,6 +10,8 @@ # No need for ARCH detection or LIBDIRSUFFIX stuff. # Too bad I can't put m6502 for $ARCH... +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=atari800_roms VERSION=${VERSION:-20140424} @@ -17,7 +19,6 @@ ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/barrage/barrage.SlackBuild b/games/barrage/barrage.SlackBuild index c7a9c659710b..8d24f715b9d6 100644 --- a/games/barrage/barrage.SlackBuild +++ b/games/barrage/barrage.SlackBuild @@ -4,6 +4,8 @@ # Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=barrage VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bastet/bastet.SlackBuild b/games/bastet/bastet.SlackBuild index 9facfed677df..dfcb02e7af7b 100644 --- a/games/bastet/bastet.SlackBuild +++ b/games/bastet/bastet.SlackBuild @@ -20,6 +20,8 @@ # - add doinst.sh (the two items above need it) # - don't install INSTALL in /usr/doc (redundant) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bastet VERSION=${VERSION:-0.43.2} 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/games/berusky-data/berusky-data.SlackBuild b/games/berusky-data/berusky-data.SlackBuild index 94cda7f8dafa..44827abd4a86 100644 --- a/games/berusky-data/berusky-data.SlackBuild +++ b/games/berusky-data/berusky-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=berusky-data GAMENAM=$(echo $PRGNAM | cut -c1-7) VERSION=${VERSION:-1.7} @@ -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/games/berusky/berusky.SlackBuild b/games/berusky/berusky.SlackBuild index d2f8b56aa706..19f3be333dcd 100644 --- a/games/berusky/berusky.SlackBuild +++ b/games/berusky/berusky.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=berusky 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/games/berusky2-data/berusky2-data.SlackBuild b/games/berusky2-data/berusky2-data.SlackBuild index 3c979dae48bb..c4828ca4bf72 100644 --- a/games/berusky2-data/berusky2-data.SlackBuild +++ b/games/berusky2-data/berusky2-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=berusky2-data GAMENAM=$(echo $PRGNAM | cut -c1-8) VERSION=${VERSION:-0.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/games/berusky2/berusky2.SlackBuild b/games/berusky2/berusky2.SlackBuild index 67e4607c15a1..7b9db797edcc 100644 --- a/games/berusky2/berusky2.SlackBuild +++ b/games/berusky2/berusky2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=berusky2 VERSION=${VERSION:-20170630_974e2e5} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bitfighter/bitfighter.SlackBuild b/games/bitfighter/bitfighter.SlackBuild index cd47e5a3b035..7033a05c68a4 100644 --- a/games/bitfighter/bitfighter.SlackBuild +++ b/games/bitfighter/bitfighter.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bitfighter VERSION=${VERSION:-019f} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/blobby2/blobby2.SlackBuild b/games/blobby2/blobby2.SlackBuild index 776d68a209e3..94ec81750eb1 100644 --- a/games/blobby2/blobby2.SlackBuild +++ b/games/blobby2/blobby2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=blobby2 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/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild index 56233c93e5dc..0d95a79bfe2e 100644 --- a/games/blobwars/blobwars.SlackBuild +++ b/games/blobwars/blobwars.SlackBuild @@ -9,6 +9,8 @@ # desktop icons etc. and mskefile includes DESTDIR support. # doc dir still gets fixed for slackware defaults. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=blobwars VERSION=${VERSION:-2.00} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bloodcm/bloodcm.SlackBuild b/games/bloodcm/bloodcm.SlackBuild index 3c12281408a8..1093fcb4732a 100644 --- a/games/bloodcm/bloodcm.SlackBuild +++ b/games/bloodcm/bloodcm.SlackBuild @@ -9,6 +9,8 @@ # Just repacks the data, no compiling or executables. # No icon or .desktop, because no executables. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bloodcm VERSION=${VERSION:-12.2016} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bloodfrontier/bloodfrontier.SlackBuild b/games/bloodfrontier/bloodfrontier.SlackBuild index a960641dc64c..cbce87ab4a9d 100644 --- a/games/bloodfrontier/bloodfrontier.SlackBuild +++ b/games/bloodfrontier/bloodfrontier.SlackBuild @@ -8,6 +8,8 @@ # Written by Matteo Bernardini <ponce@slackbuilds.org> # Based on http://slackbuilds.org/template.SlackBuild +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bloodfrontier VERSION=${VERSION:-0.85} SVERSION=${SVERSION:-B2} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bluemoon/bluemoon.SlackBuild b/games/bluemoon/bluemoon.SlackBuild index bf3c464374cf..2526a777b503 100644 --- a/games/bluemoon/bluemoon.SlackBuild +++ b/games/bluemoon/bluemoon.SlackBuild @@ -4,6 +4,8 @@ # Written by Stefano Guidoni <s.guidoni@email.it> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bluemoon VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild b/games/bluez-sixaxis/bluez-sixaxis.SlackBuild index 719ce00c2522..e1aa39214f0e 100644 --- a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild +++ b/games/bluez-sixaxis/bluez-sixaxis.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=bluez-sixaxis SRCNAM=bluez VERSION=${VERSION:-5.58} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bomberclone/bomberclone.SlackBuild b/games/bomberclone/bomberclone.SlackBuild index 0cfab5bc571a..7ea2dfb74fce 100644 --- a/games/bomberclone/bomberclone.SlackBuild +++ b/games/bomberclone/bomberclone.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bomberclone VERSION=${VERSION:-0.11.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/games/boswars/boswars.SlackBuild b/games/boswars/boswars.SlackBuild index eaf6b4431833..d5dbd25703a1 100644 --- a/games/boswars/boswars.SlackBuild +++ b/games/boswars/boswars.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=boswars VERSION=${VERSION:-2.7} SRCVERSION=$(echo $VERSION-src) @@ -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/games/braincurses/braincurses.SlackBuild b/games/braincurses/braincurses.SlackBuild index 99fdfd0d5484..6e95024866f3 100644 --- a/games/braincurses/braincurses.SlackBuild +++ b/games/braincurses/braincurses.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for braincurses # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=braincurses VERSION=${VERSION:-0.5c} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/brainparty/brainparty.SlackBuild b/games/brainparty/brainparty.SlackBuild index 699a04ee6a0a..74bff813a468 100644 --- a/games/brainparty/brainparty.SlackBuild +++ b/games/brainparty/brainparty.SlackBuild @@ -4,6 +4,8 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=brainparty VERSION=${VERSION:-0.61} 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/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild index 36c594e6a45e..a9eeb09a1dae 100644 --- a/games/brickout/brickout.SlackBuild +++ b/games/brickout/brickout.SlackBuild @@ -10,6 +10,8 @@ # 20141030 bkw: make VERSION a fixed value, derive SRCVER from it (instead of # the other way around). Nitpick. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=brickout VERSION=${VERSION:-20020609} BUILD=${BUILD:-1} @@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/briquolo/briquolo.SlackBuild b/games/briquolo/briquolo.SlackBuild index 6f309613ff77..7b56f8ba1c49 100644 --- a/games/briquolo/briquolo.SlackBuild +++ b/games/briquolo/briquolo.SlackBuild @@ -8,6 +8,8 @@ # Based on http://slackbuilds.org/template.SlackBuild +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=briquolo VERSION=${VERSION:-0.5.7} BUILD=${BUILD:-1} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild index 9f2ef1c48616..4246a5f13d0a 100644 --- a/games/brutalchess/brutalchess.SlackBuild +++ b/games/brutalchess/brutalchess.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=brutalchess VERSION=${VERSION:-0.5.2} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/bstone/bstone.SlackBuild b/games/bstone/bstone.SlackBuild index 06cfbadbb00c..4e9ba872e82c 100644 --- a/games/bstone/bstone.SlackBuild +++ b/games/bstone/bstone.SlackBuild @@ -15,6 +15,8 @@ # 20170807 bkw: update for v1.1.8, use upstream's icon instead of mine. # 20170621 bkw: fix build on -current +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bstone VERSION=${VERSION:-1.2.9} 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/games/burgerspace/burgerspace.SlackBuild b/games/burgerspace/burgerspace.SlackBuild index ba8e92dd1267..c5c0946e1427 100644 --- a/games/burgerspace/burgerspace.SlackBuild +++ b/games/burgerspace/burgerspace.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=burgerspace VERSION=${VERSION:-1.9.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/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild index fcf1ce153362..070e81be3023 100644 --- a/games/bzflag/bzflag.SlackBuild +++ b/games/bzflag/bzflag.SlackBuild @@ -24,6 +24,8 @@ # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=bzflag VERSION=${VERSION:-2.4.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/games/caph/caph.SlackBuild b/games/caph/caph.SlackBuild index ba4cfaa5d0a6..dd71ffdbc0d4 100644 --- a/games/caph/caph.SlackBuild +++ b/games/caph/caph.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=caph VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ceferino/ceferino.SlackBuild b/games/ceferino/ceferino.SlackBuild index 4cad8ab78ac4..eb7979e2acb2 100644 --- a/games/ceferino/ceferino.SlackBuild +++ b/games/ceferino/ceferino.SlackBuild @@ -8,6 +8,8 @@ # Packaging up the same version Debian does, SVN rev 37 fixes some bugs. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ceferino VERSION=${VERSION:-0.97.8+svn37} 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/games/cgames/cgames.SlackBuild b/games/cgames/cgames.SlackBuild index 73fdbf3ad257..d882248e6eb5 100644 --- a/games/cgames/cgames.SlackBuild +++ b/games/cgames/cgames.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cgames VERSION=${VERSION:-2.2a} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cgmadness/cgmadness.SlackBuild b/games/cgmadness/cgmadness.SlackBuild index a4d95b988061..b892b4253888 100644 --- a/games/cgmadness/cgmadness.SlackBuild +++ b/games/cgmadness/cgmadness.SlackBuild @@ -4,6 +4,8 @@ # Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cgmadness VERSION=${VERSION:-1.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/games/cgoban/cgoban.SlackBuild b/games/cgoban/cgoban.SlackBuild index 13a0359138d5..57a1b4f7c7bf 100644 --- a/games/cgoban/cgoban.SlackBuild +++ b/games/cgoban/cgoban.SlackBuild @@ -8,6 +8,8 @@ # http://creativecommons.org/publicdomain/zero/1.0/ # http://creativecommons.org/publicdomain/zero/1.0/legalcode +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cgoban VERSION=${VERSION:-1.9.14} 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/games/chessx/chessx.SlackBuild b/games/chessx/chessx.SlackBuild index 25059e81212b..bb21a563e534 100644 --- a/games/chessx/chessx.SlackBuild +++ b/games/chessx/chessx.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chessx VERSION=${VERSION:-1.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/games/chexquest3/chexquest3.SlackBuild b/games/chexquest3/chexquest3.SlackBuild index 70d915656ddb..9182aedcef02 100644 --- a/games/chexquest3/chexquest3.SlackBuild +++ b/games/chexquest3/chexquest3.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chexquest3 VERSION=${VERSION:-20100924} 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/games/chocolate-doom/chocolate-doom.SlackBuild b/games/chocolate-doom/chocolate-doom.SlackBuild index 3dbe00159bc4..417c3acd274e 100644 --- a/games/chocolate-doom/chocolate-doom.SlackBuild +++ b/games/chocolate-doom/chocolate-doom.SlackBuild @@ -23,6 +23,8 @@ # - get rid of no-longer-needed disable_windres.diff # - update README and slack-desc +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chocolate-doom VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild b/games/chocolate_duke3D/chocolate_duke3D.SlackBuild index eb5581048adc..6823f14dfa13 100644 --- a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild +++ b/games/chocolate_duke3D/chocolate_duke3D.SlackBuild @@ -36,6 +36,8 @@ # - look at upstream, the only 2 new commits are minor edits to README.md, # don't bother updating. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chocolate_duke3D VERSION=${VERSION:-20150902_dd8db65} COMMIT=${COMMIT:-dd8db653e08cc3029a84dbfd36b2c927a8d3e8fc} @@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/chroma/chroma.SlackBuild b/games/chroma/chroma.SlackBuild index 1f9c281e43c6..a24b20cef94b 100644 --- a/games/chroma/chroma.SlackBuild +++ b/games/chroma/chroma.SlackBuild @@ -4,6 +4,8 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chroma VERSION=${VERSION:-1.15} 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/games/chromium-bsu/chromium-bsu.SlackBuild b/games/chromium-bsu/chromium-bsu.SlackBuild index 2205b8f61531..b0bea615596b 100644 --- a/games/chromium-bsu/chromium-bsu.SlackBuild +++ b/games/chromium-bsu/chromium-bsu.SlackBuild @@ -25,6 +25,8 @@ # Modified by Erik Hanson <erik@slackbuilds.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=chromium-bsu VERSION=${VERSION:-0.9.16.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/games/circuslinux/circuslinux.SlackBuild b/games/circuslinux/circuslinux.SlackBuild index 254280f3b565..1afaf3cb2ae4 100644 --- a/games/circuslinux/circuslinux.SlackBuild +++ b/games/circuslinux/circuslinux.SlackBuild @@ -7,6 +7,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=circuslinux VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ckmame/ckmame.SlackBuild b/games/ckmame/ckmame.SlackBuild index 6b1eeccd12af..ba7adb512e0a 100644 --- a/games/ckmame/ckmame.SlackBuild +++ b/games/ckmame/ckmame.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ckmame VERSION=${VERSION:-0.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/games/clonekeen/clonekeen.SlackBuild b/games/clonekeen/clonekeen.SlackBuild index ed08c3b45d80..3d423c7c6cf9 100644 --- a/games/clonekeen/clonekeen.SlackBuild +++ b/games/clonekeen/clonekeen.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=clonekeen VERSION=${VERSION:-8.4} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/colem/colem.SlackBuild b/games/colem/colem.SlackBuild index bca0d169e3f6..2d4b50aaf05c 100644 --- a/games/colem/colem.SlackBuild +++ b/games/colem/colem.SlackBuild @@ -63,6 +63,8 @@ # + run "aoss colem" to get audio working on a stock Slack 14.1 system # with OSS modules disabled by default. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=colem VERSION=${VERSION:-5.5} BUILD=${BUILD:-1} @@ -76,7 +78,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild index 1f351795c275..7f11b59f7675 100644 --- a/games/commandergenius/commandergenius.SlackBuild +++ b/games/commandergenius/commandergenius.SlackBuild @@ -31,6 +31,8 @@ # - use github long-form URL # 20170122 bkw: updated for 1.9.8.1beta. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=commandergenius VERSION=${VERSION:-2.7.7} BUILD=${BUILD:-1} @@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/connectagram/connectagram.SlackBuild b/games/connectagram/connectagram.SlackBuild index 6900a1a99b15..08127735e941 100644 --- a/games/connectagram/connectagram.SlackBuild +++ b/games/connectagram/connectagram.SlackBuild @@ -27,6 +27,8 @@ # Build script for connectagram +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=connectagram VERSION=${VERSION:-1.2.9} 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/games/conquest/conquest.SlackBuild b/games/conquest/conquest.SlackBuild index 5c987982a48c..5dcf6e5e782f 100644 --- a/games/conquest/conquest.SlackBuild +++ b/games/conquest/conquest.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=conquest VERSION=${VERSION:-9.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/games/cosmic_assault/cosmic_assault.SlackBuild b/games/cosmic_assault/cosmic_assault.SlackBuild index 73216b8a6629..6234efa5579c 100644 --- a/games/cosmic_assault/cosmic_assault.SlackBuild +++ b/games/cosmic_assault/cosmic_assault.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cosmic_assault VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cosmosmash/cosmosmash.SlackBuild b/games/cosmosmash/cosmosmash.SlackBuild index 68a9a871e170..b45df35d36f6 100644 --- a/games/cosmosmash/cosmosmash.SlackBuild +++ b/games/cosmosmash/cosmosmash.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cosmosmash VERSION=${VERSION:-1.4.7} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cowsay/cowsay.SlackBuild b/games/cowsay/cowsay.SlackBuild index 15bd7cb40079..5e6653aeae7b 100644 --- a/games/cowsay/cowsay.SlackBuild +++ b/games/cowsay/cowsay.SlackBuild @@ -24,13 +24,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=cowsay VERSION=${VERSION:-3.03} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cpat/cpat.SlackBuild b/games/cpat/cpat.SlackBuild index 8398c8ef8a89..5c1159203ecc 100644 --- a/games/cpat/cpat.SlackBuild +++ b/games/cpat/cpat.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for cpat # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cpat VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/crack-attack/crack-attack.SlackBuild b/games/crack-attack/crack-attack.SlackBuild index b3eb607081e7..0231b65c8db5 100644 --- a/games/crack-attack/crack-attack.SlackBuild +++ b/games/crack-attack/crack-attack.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=crack-attack VERSION=${VERSION:-1.1.15_cvs_01} 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/games/crimson/crimson.SlackBuild b/games/crimson/crimson.SlackBuild index 7d8d35ad389d..918dac913e46 100644 --- a/games/crimson/crimson.SlackBuild +++ b/games/crimson/crimson.SlackBuild @@ -4,6 +4,8 @@ # Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=crimson VERSION=${VERSION:-0.5.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/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild index 3d1ffd425564..fb544e355651 100644 --- a/games/crispy-doom/crispy-doom.SlackBuild +++ b/games/crispy-doom/crispy-doom.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=crispy-doom VERSION=${VERSION:-5.10.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/games/crossfire-client/crossfire-client.SlackBuild b/games/crossfire-client/crossfire-client.SlackBuild index f8b63616a408..f885ac87ed58 100644 --- a/games/crossfire-client/crossfire-client.SlackBuild +++ b/games/crossfire-client/crossfire-client.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=crossfire-client VERSION=${VERSION:-1.73.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/games/crrcsim/crrcsim.SlackBuild b/games/crrcsim/crrcsim.SlackBuild index 274eac6f4baa..e138849b6aba 100644 --- a/games/crrcsim/crrcsim.SlackBuild +++ b/games/crrcsim/crrcsim.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=crrcsim VERSION=${VERSION:-0.9.13} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cubosphere/cubosphere.SlackBuild b/games/cubosphere/cubosphere.SlackBuild index f5cb395a342c..3d8478bd2882 100644 --- a/games/cubosphere/cubosphere.SlackBuild +++ b/games/cubosphere/cubosphere.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cubosphere VERSION=${VERSION:-beta0.3a} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/curseofwar/curseofwar.SlackBuild b/games/curseofwar/curseofwar.SlackBuild index f5c53e849644..a8f799d60b7f 100644 --- a/games/curseofwar/curseofwar.SlackBuild +++ b/games/curseofwar/curseofwar.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=curseofwar 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/games/cutemaze/cutemaze.SlackBuild b/games/cutemaze/cutemaze.SlackBuild index 53042e5bb56a..1dcbfd40c571 100644 --- a/games/cutemaze/cutemaze.SlackBuild +++ b/games/cutemaze/cutemaze.SlackBuild @@ -27,6 +27,8 @@ # Build script for cutemaze +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cutemaze VERSION=${VERSION:-1.2.4} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/cuyo/cuyo.SlackBuild b/games/cuyo/cuyo.SlackBuild index 85ba58a60edc..1e2dc7d9882c 100644 --- a/games/cuyo/cuyo.SlackBuild +++ b/games/cuyo/cuyo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cuyo 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/games/cyphesis/cyphesis.SlackBuild b/games/cyphesis/cyphesis.SlackBuild index daeca834063c..f299ac6d1878 100644 --- a/games/cyphesis/cyphesis.SlackBuild +++ b/games/cyphesis/cyphesis.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=cyphesis VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/d1x-rebirth/d1x-rebirth.SlackBuild b/games/d1x-rebirth/d1x-rebirth.SlackBuild index 5400bdec1d2f..f077e5433165 100644 --- a/games/d1x-rebirth/d1x-rebirth.SlackBuild +++ b/games/d1x-rebirth/d1x-rebirth.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=d1x-rebirth VERSION=${VERSION:-0.58.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/games/d2x-rebirth/d2x-rebirth.SlackBuild b/games/d2x-rebirth/d2x-rebirth.SlackBuild index c84190bf4521..d30fe6b0a776 100644 --- a/games/d2x-rebirth/d2x-rebirth.SlackBuild +++ b/games/d2x-rebirth/d2x-rebirth.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=d2x-rebirth VERSION=${VERSION:-0.58.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/games/darkplaces/darkplaces.SlackBuild b/games/darkplaces/darkplaces.SlackBuild index 174de5176f33..d697450e1c0b 100644 --- a/games/darkplaces/darkplaces.SlackBuild +++ b/games/darkplaces/darkplaces.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=darkplaces VERSION=${VERSION:-20140513} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/defendguin/defendguin.SlackBuild b/games/defendguin/defendguin.SlackBuild index 9676283ce55b..3fbe68742c3a 100644 --- a/games/defendguin/defendguin.SlackBuild +++ b/games/defendguin/defendguin.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=defendguin VERSION=${VERSION:-0.0.12} 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/games/desmume/desmume.SlackBuild b/games/desmume/desmume.SlackBuild index 45a156c96bf9..cf7265cfd395 100644 --- a/games/desmume/desmume.SlackBuild +++ b/games/desmume/desmume.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=desmume VERSION=${VERSION:-20210409_e8f619c} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dfarc/dfarc.SlackBuild b/games/dfarc/dfarc.SlackBuild index c7f6e3c2234c..e4ed633a43dd 100644 --- a/games/dfarc/dfarc.SlackBuild +++ b/games/dfarc/dfarc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dfarc VERSION=${VERSION:-3.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/games/dgen/dgen.SlackBuild b/games/dgen/dgen.SlackBuild index ae7dc28acc21..a2cf492e6e65 100644 --- a/games/dgen/dgen.SlackBuild +++ b/games/dgen/dgen.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dgen SRCNAM=dgen-sdl VERSION=${VERSION:-1.33} @@ -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/games/dhewm3/dhewm3.SlackBuild b/games/dhewm3/dhewm3.SlackBuild index 2d304994df64..ef1573b4fbd9 100644 --- a/games/dhewm3/dhewm3.SlackBuild +++ b/games/dhewm3/dhewm3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dhewm3 VERSION=${VERSION:-1.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dice/dice.SlackBuild b/games/dice/dice.SlackBuild index ae98dda2cfc2..d6ed7bd1f3ed 100644 --- a/games/dice/dice.SlackBuild +++ b/games/dice/dice.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for dice # Written by powtrix (@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dice VERSION=${VERSION:-0.9} 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/games/digger/digger.SlackBuild b/games/digger/digger.SlackBuild index 1e40ee531fde..5b4728e678f4 100644 --- a/games/digger/digger.SlackBuild +++ b/games/digger/digger.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=digger VERSION=${VERSION:-20020314} 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/games/dolphin-emu/dolphin-emu.SlackBuild b/games/dolphin-emu/dolphin-emu.SlackBuild index 678f1721c228..f1aa9d429d64 100644 --- a/games/dolphin-emu/dolphin-emu.SlackBuild +++ b/games/dolphin-emu/dolphin-emu.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dolphin-emu VERSION=${VERSION:-20210406_5322256} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild index 60470b650b8a..d13cf379d746 100644 --- a/games/domination/domination.SlackBuild +++ b/games/domination/domination.SlackBuild @@ -15,13 +15,14 @@ # 20191202 bkw: updated for v1.2.0. # 20161030 bkw: whoops, this should have been noarch to begin with. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=domination VERSION=${VERSION:-1.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/doom_shareware_data/doom_shareware_data.SlackBuild b/games/doom_shareware_data/doom_shareware_data.SlackBuild index d2f37efc7966..e95b859e0927 100644 --- a/games/doom_shareware_data/doom_shareware_data.SlackBuild +++ b/games/doom_shareware_data/doom_shareware_data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=doom_shareware_data VERSION=${VERSION:-1.9} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild index 732e2d15a653..3569c2a9a694 100644 --- a/games/doomretro/doomretro.SlackBuild +++ b/games/doomretro/doomretro.SlackBuild @@ -41,6 +41,8 @@ # have to use a wrapper script to make it act like a normal Doom engine... # *** RANT MODE OFF*** +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=doomretro VERSION=${VERSION:-4.0.3} BUILD=${BUILD:-1} @@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/doomsday/doomsday.SlackBuild b/games/doomsday/doomsday.SlackBuild index ef1ad01ea1ce..72367234cf5d 100644 --- a/games/doomsday/doomsday.SlackBuild +++ b/games/doomsday/doomsday.SlackBuild @@ -44,6 +44,8 @@ # that, do all of the above, then hand off maintenance to someone # who can afford a shinier newer video card than I can. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=doomsday SRCNAM=${PRGNAM}-stable VERSION=${VERSION:-1.15.8} @@ -58,7 +60,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild index befada0f6c73..51c775456e6b 100644 --- a/games/doomseeker/doomseeker.SlackBuild +++ b/games/doomseeker/doomseeker.SlackBuild @@ -15,6 +15,8 @@ # 20181218 bkw: updated for v1.2. Upstream has changed things around, # so this script won't build 1.1 any longer. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=doomseeker VERSION=${VERSION:-1.3.1} 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/games/dopewars/dopewars.SlackBuild b/games/dopewars/dopewars.SlackBuild index a4c3e3329eed..d37d3dbff1b7 100644 --- a/games/dopewars/dopewars.SlackBuild +++ b/games/dopewars/dopewars.SlackBuild @@ -9,6 +9,8 @@ # Modified by the SlackBuilds.org project +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="dopewars" VERSION=${VERSION:-1.5.12} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dreamchess-music/dreamchess-music.SlackBuild b/games/dreamchess-music/dreamchess-music.SlackBuild index 370c41b05198..def2c27473d2 100644 --- a/games/dreamchess-music/dreamchess-music.SlackBuild +++ b/games/dreamchess-music/dreamchess-music.SlackBuild @@ -5,13 +5,14 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Maintained by Erik Hanson <erik@slackbuilds.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dreamchess-music VERSION=${VERSION:-1.0} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dreamchess/dreamchess.SlackBuild b/games/dreamchess/dreamchess.SlackBuild index 549b1803695a..fe6dce63dd24 100644 --- a/games/dreamchess/dreamchess.SlackBuild +++ b/games/dreamchess/dreamchess.SlackBuild @@ -5,6 +5,8 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Maintained by Kent Fritz <fritz.kent@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dreamchess VERSION=${VERSION:-0.3.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/games/ds-models/ds-models.SlackBuild b/games/ds-models/ds-models.SlackBuild index 7623a0414aaa..01d5eb3c02b2 100644 --- a/games/ds-models/ds-models.SlackBuild +++ b/games/ds-models/ds-models.SlackBuild @@ -15,12 +15,13 @@ # - bump BUILD because: # - install scripts in /usr/games, not /usr/bin +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ds-models VERSION=${VERSION:-r15} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dunelegacy/dunelegacy.SlackBuild b/games/dunelegacy/dunelegacy.SlackBuild index 577d46b0f84f..920dcab067cd 100644 --- a/games/dunelegacy/dunelegacy.SlackBuild +++ b/games/dunelegacy/dunelegacy.SlackBuild @@ -10,6 +10,8 @@ # - update for 0.96.4. upstream ported to SDL 2, so add SDL2_mixer to REQUIRES # - move binary to /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dunelegacy VERSION=${VERSION:-0.96.4} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dungeon/dungeon.SlackBuild b/games/dungeon/dungeon.SlackBuild index 191c8b0971ce..cc9d72b4774f 100644 --- a/games/dungeon/dungeon.SlackBuild +++ b/games/dungeon/dungeon.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dungeon VERSION=${VERSION:-19800808} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/dustrac/dustrac.SlackBuild b/games/dustrac/dustrac.SlackBuild index d4d564dfe84b..b305f98cbaa2 100644 --- a/games/dustrac/dustrac.SlackBuild +++ b/games/dustrac/dustrac.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SRCNAM=DustRacing2D +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dustrac VERSION=${VERSION:-2.0.3} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ecwolf/ecwolf.SlackBuild b/games/ecwolf/ecwolf.SlackBuild index 55874fd1d5ed..ea10f973fc05 100644 --- a/games/ecwolf/ecwolf.SlackBuild +++ b/games/ecwolf/ecwolf.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ecwolf VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/edgar/edgar.SlackBuild b/games/edgar/edgar.SlackBuild index a1881ae53949..92c385025095 100644 --- a/games/edgar/edgar.SlackBuild +++ b/games/edgar/edgar.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=edgar VERSION=${VERSION:-1.34} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild index 0d6a5db03526..1ff3b88489b0 100644 --- a/games/eduke32/eduke32.SlackBuild +++ b/games/eduke32/eduke32.SlackBuild @@ -24,12 +24,13 @@ # core Slackware 14.2 package # - slack-desc shows SDL version and whether or not libvpx was used. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=eduke32 VERSION=${VERSION:-20170123_6052} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild index b8b19c0fbdcc..a6f55b2b73cd 100644 --- a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild +++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=eduke32_hires_pack VERSION=${VERSION:-4.0_321} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/eduke32_shareware_data/eduke32_shareware_data.SlackBuild b/games/eduke32_shareware_data/eduke32_shareware_data.SlackBuild index d52897c4e96d..b3ebdcb0d8c2 100644 --- a/games/eduke32_shareware_data/eduke32_shareware_data.SlackBuild +++ b/games/eduke32_shareware_data/eduke32_shareware_data.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=eduke32_shareware_data VERSION=${VERSION:-1.3} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/egoboo/egoboo.SlackBuild b/games/egoboo/egoboo.SlackBuild index 7d89646ab6aa..664d8cf87f56 100644 --- a/games/egoboo/egoboo.SlackBuild +++ b/games/egoboo/egoboo.SlackBuild @@ -5,6 +5,8 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Maintained by Erik Hanson <erik@slackbuilds.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=egoboo VERSION=${VERSION:-2.8.1} BUILD=${BUILD:-1} @@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/einstein/einstein.SlackBuild b/games/einstein/einstein.SlackBuild index b435ac03eb53..edb8068d7720 100644 --- a/games/einstein/einstein.SlackBuild +++ b/games/einstein/einstein.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=einstein VERSION=${VERSION:-2.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/games/ember/ember.SlackBuild b/games/ember/ember.SlackBuild index 95e8d56c9916..39f4799e58b8 100644 --- a/games/ember/ember.SlackBuild +++ b/games/ember/ember.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ember VERSION=${VERSION:-0.7.2} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/empire/empire.SlackBuild b/games/empire/empire.SlackBuild index 5c74aa6cb898..cf5c7eccdcd9 100644 --- a/games/empire/empire.SlackBuild +++ b/games/empire/empire.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=empire VERSION=${VERSION:-4.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/games/endgame-singularity/endgame-singularity.SlackBuild b/games/endgame-singularity/endgame-singularity.SlackBuild index b2edd7fc68c8..7b1a9003574c 100644 --- a/games/endgame-singularity/endgame-singularity.SlackBuild +++ b/games/endgame-singularity/endgame-singularity.SlackBuild @@ -24,6 +24,8 @@ # Another slackbuild already installs an executable named singularity # therefore the executable will be renamed to endgame-singularity +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=endgame-singularity VERSION=${VERSION:-1.00} 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/games/endless-sky/endless-sky.SlackBuild b/games/endless-sky/endless-sky.SlackBuild index 47006ca6ac79..06b8ba2223d6 100644 --- a/games/endless-sky/endless-sky.SlackBuild +++ b/games/endless-sky/endless-sky.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=endless-sky VERSION=${VERSION:-0.9.12} 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/games/enigma/enigma.SlackBuild b/games/enigma/enigma.SlackBuild index 60916818ba1a..8bbed0fa2c66 100644 --- a/games/enigma/enigma.SlackBuild +++ b/games/enigma/enigma.SlackBuild @@ -33,6 +33,8 @@ # - i486 => i586 # - binary in /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=enigma VERSION=${VERSION:-1.04} 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/games/etlegacy-data/etlegacy-data.SlackBuild b/games/etlegacy-data/etlegacy-data.SlackBuild index 0b4304e3cb95..3c50d7478ad5 100644 --- a/games/etlegacy-data/etlegacy-data.SlackBuild +++ b/games/etlegacy-data/etlegacy-data.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=etlegacy-data VERSION=${VERSION:-2.60} BUILD=${BUILD:-1} @@ -28,7 +30,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/etlegacy-from-source/etlegacy-from-source.SlackBuild b/games/etlegacy-from-source/etlegacy-from-source.SlackBuild index 7f8f25430874..be9f4f7bbbf0 100644 --- a/games/etlegacy-from-source/etlegacy-from-source.SlackBuild +++ b/games/etlegacy-from-source/etlegacy-from-source.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=etlegacy-from-source SRCNAM=etlegacy VERSION=${VERSION:-20201029_886f0ef} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/etlegacy/etlegacy.SlackBuild b/games/etlegacy/etlegacy.SlackBuild index 28982a66fc71..bc8031aa950c 100644 --- a/games/etlegacy/etlegacy.SlackBuild +++ b/games/etlegacy/etlegacy.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=etlegacy VERSION=${VERSION:-2.76} 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/games/eureka/eureka.SlackBuild b/games/eureka/eureka.SlackBuild index 4ce5579826db..80028ec9c975 100644 --- a/games/eureka/eureka.SlackBuild +++ b/games/eureka/eureka.SlackBuild @@ -30,6 +30,8 @@ # - i486 => i586 # - update for v1.24 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=eureka VERSION=${VERSION:-1.27b} SRCVER=${VERSION/.} @@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/extremetuxracer/extremetuxracer.SlackBuild b/games/extremetuxracer/extremetuxracer.SlackBuild index f230bd909da1..b26403250974 100644 --- a/games/extremetuxracer/extremetuxracer.SlackBuild +++ b/games/extremetuxracer/extremetuxracer.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=extremetuxracer VERSION=${VERSION:-0.7.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/exult/exult.SlackBuild b/games/exult/exult.SlackBuild index 3673ad641683..31a032fe2d27 100644 --- a/games/exult/exult.SlackBuild +++ b/games/exult/exult.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=exult VERSION=${VERSION:-1.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/games/f1spirit/f1spirit.SlackBuild b/games/f1spirit/f1spirit.SlackBuild index 36dc817b3848..714e99cf1ced 100644 --- a/games/f1spirit/f1spirit.SlackBuild +++ b/games/f1spirit/f1spirit.SlackBuild @@ -4,6 +4,8 @@ # Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=f1spirit VERSION=${VERSION:-0.rc9.1615} 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/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild index 98c7e97a7975..db55febc64b6 100644 --- a/games/fceux/fceux.SlackBuild +++ b/games/fceux/fceux.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fceux VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-2} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ffgo/ffgo.SlackBuild b/games/ffgo/ffgo.SlackBuild index 5d01954256f3..1f9a146c5720 100644 --- a/games/ffgo/ffgo.SlackBuild +++ b/games/ffgo/ffgo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ffgo SRCNAM=FFGo VERSION=${VERSION:-1.12.3} @@ -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/games/fgo/fgo.SlackBuild b/games/fgo/fgo.SlackBuild index ee81c6076ef0..f3785d879a97 100644 --- a/games/fgo/fgo.SlackBuild +++ b/games/fgo/fgo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fgo VERSION=${VERSION:-1.5.5} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=${PKG:-$TMP/package-$PRGNAM} OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fgrun/fgrun.SlackBuild b/games/fgrun/fgrun.SlackBuild index 3ddcb09a8f1a..fe76277d505d 100644 --- a/games/fgrun/fgrun.SlackBuild +++ b/games/fgrun/fgrun.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for fgrun # Written by Diego Pantano <poplin.dp@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fgrun VERSION=${VERSION:-2016.4.0} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fifengine/fifengine.SlackBuild b/games/fifengine/fifengine.SlackBuild index 270d56122c55..5776a9971396 100644 --- a/games/fifengine/fifengine.SlackBuild +++ b/games/fifengine/fifengine.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fifengine VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fillets-ng-data/fillets-ng-data.SlackBuild b/games/fillets-ng-data/fillets-ng-data.SlackBuild index 7af1ecb3e3b7..fbf5d6833686 100644 --- a/games/fillets-ng-data/fillets-ng-data.SlackBuild +++ b/games/fillets-ng-data/fillets-ng-data.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fillets-ng-data VERSION=${VERSION:-1.0.1} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fillets-ng/fillets-ng.SlackBuild b/games/fillets-ng/fillets-ng.SlackBuild index fd5805621be8..4a73a91cd179 100644 --- a/games/fillets-ng/fillets-ng.SlackBuild +++ b/games/fillets-ng/fillets-ng.SlackBuild @@ -23,6 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fillets-ng 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=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/firestorm-opensim/firestorm-opensim.SlackBuild b/games/firestorm-opensim/firestorm-opensim.SlackBuild index 443b2c1ed452..def87ae38a3f 100644 --- a/games/firestorm-opensim/firestorm-opensim.SlackBuild +++ b/games/firestorm-opensim/firestorm-opensim.SlackBuild @@ -32,6 +32,8 @@ # Both packages can be installed in parallel on the same installation. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=firestorm-opensim VERSION=${VERSION:-4.4.2.34167} EXTRAVERSION=${EXTRAVERSION:-OS} @@ -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/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild index 59a9afd8e479..25c423e7715a 100644 --- a/games/firestorm/firestorm.SlackBuild +++ b/games/firestorm/firestorm.SlackBuild @@ -26,6 +26,8 @@ # NOTE: Since release 4.7.9 there is no Havoc version of Firestorm. # Therefore this package now builds the Opensim version by default. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=firestorm VERSION=${VERSION:-4.7.9.50527} 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/games/fizmo/fizmo.SlackBuild b/games/fizmo/fizmo.SlackBuild index 2072f1435a96..03f61241c904 100644 --- a/games/fizmo/fizmo.SlackBuild +++ b/games/fizmo/fizmo.SlackBuild @@ -22,6 +22,8 @@ # - Add icon, .desktop, and doinst. # - Add note about optional SDL2 dep to README. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fizmo VERSION=${VERSION:-0.8.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/games/flare-game/flare-game.SlackBuild b/games/flare-game/flare-game.SlackBuild index 1e39d0fc97ec..62430becdf6a 100644 --- a/games/flare-game/flare-game.SlackBuild +++ b/games/flare-game/flare-game.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=flare-game VERSION=${VERSION:-1.11} 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/games/flare/flare.SlackBuild b/games/flare/flare.SlackBuild index d35487423c72..4d57aa79c620 100644 --- a/games/flare/flare.SlackBuild +++ b/games/flare/flare.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=flare SRCNAM=$PRGNAM-engine VERSION=${VERSION:-1.11} @@ -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/games/foobillardplus/foobillardplus.SlackBuild b/games/foobillardplus/foobillardplus.SlackBuild index 6cb371f2fb70..baca719d57d9 100644 --- a/games/foobillardplus/foobillardplus.SlackBuild +++ b/games/foobillardplus/foobillardplus.SlackBuild @@ -25,6 +25,8 @@ # forked from the foobillard's one, written # by Zbigniew Baniewski, zbigniew.baniewski@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=foobillardplus VERSION=${VERSION:-3.43beta} SRCVERSION=${SRCVERSION:-170} @@ -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/games/fortune-ASR/fortune-ASR.SlackBuild b/games/fortune-ASR/fortune-ASR.SlackBuild index 55292880594c..3a7c8e9be8b5 100644 --- a/games/fortune-ASR/fortune-ASR.SlackBuild +++ b/games/fortune-ASR/fortune-ASR.SlackBuild @@ -24,6 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-ASR VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-2} @@ -32,7 +34,6 @@ TAG=${TAG:-_SBo} # It is not arch spesific. ARCH="noarch" -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-dharma/fortune-dharma.SlackBuild b/games/fortune-dharma/fortune-dharma.SlackBuild index 553c04ba16e3..2c011005222d 100644 --- a/games/fortune-dharma/fortune-dharma.SlackBuild +++ b/games/fortune-dharma/fortune-dharma.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=fortune-dharma VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} @@ -30,7 +32,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-dune/fortune-dune.SlackBuild b/games/fortune-dune/fortune-dune.SlackBuild index 581d66ed0b4e..9d3023f6967d 100644 --- a/games/fortune-dune/fortune-dune.SlackBuild +++ b/games/fortune-dune/fortune-dune.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-dune VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-farscape/fortune-farscape.SlackBuild b/games/fortune-farscape/fortune-farscape.SlackBuild index e8d1fafba536..c0efd42f495f 100644 --- a/games/fortune-farscape/fortune-farscape.SlackBuild +++ b/games/fortune-farscape/fortune-farscape.SlackBuild @@ -13,13 +13,14 @@ # specifically "Beware of Dog", "Incubator", "I-Yensch, You-Yensch", # "Twice Shy". +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-farscape VERSION=${VERSION:-20191224} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-futurama/fortune-futurama.SlackBuild b/games/fortune-futurama/fortune-futurama.SlackBuild index 6ac5d8d7a6d6..25e4ac9e4fcf 100644 --- a/games/fortune-futurama/fortune-futurama.SlackBuild +++ b/games/fortune-futurama/fortune-futurama.SlackBuild @@ -7,6 +7,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ # for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-futurama VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} @@ -14,7 +16,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild index 6e061173f98b..e7463f235456 100644 --- a/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild +++ b/games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild @@ -9,6 +9,8 @@ # VERSION is the date given on the upstream site, and also the timestamp # of the zip file. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-game_of_thrones VERSION=${VERSION:-20170524} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-noobfarm/fortune-noobfarm.SlackBuild b/games/fortune-noobfarm/fortune-noobfarm.SlackBuild index 1f0c5fc24c26..cd2cab506199 100644 --- a/games/fortune-noobfarm/fortune-noobfarm.SlackBuild +++ b/games/fortune-noobfarm/fortune-noobfarm.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-noobfarm VERSION=${VERSION:-20201030} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-slackware/fortune-slackware.SlackBuild b/games/fortune-slackware/fortune-slackware.SlackBuild index b15e51fd79ab..f7913b121742 100644 --- a/games/fortune-slackware/fortune-slackware.SlackBuild +++ b/games/fortune-slackware/fortune-slackware.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-slackware VERSION=${VERSION:-1.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune-starwars/fortune-starwars.SlackBuild b/games/fortune-starwars/fortune-starwars.SlackBuild index 28156afa8b03..f5b0f8b890d5 100644 --- a/games/fortune-starwars/fortune-starwars.SlackBuild +++ b/games/fortune-starwars/fortune-starwars.SlackBuild @@ -8,6 +8,8 @@ # VERSION is the timestamp on the tarball. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune-starwars VERSION=${VERSION:-20051125} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune_doctor_who/fortune_doctor_who.SlackBuild b/games/fortune_doctor_who/fortune_doctor_who.SlackBuild index b99595df0135..ddf730c39441 100644 --- a/games/fortune_doctor_who/fortune_doctor_who.SlackBuild +++ b/games/fortune_doctor_who/fortune_doctor_who.SlackBuild @@ -6,12 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune_doctor_who VERSION=${VERSION:-20200923} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fortune_firefly/fortune_firefly.SlackBuild b/games/fortune_firefly/fortune_firefly.SlackBuild index 935a3c16ab49..4ccac85648a9 100644 --- a/games/fortune_firefly/fortune_firefly.SlackBuild +++ b/games/fortune_firefly/fortune_firefly.SlackBuild @@ -14,6 +14,8 @@ # - hosting the source myself now # - homepage went away, so use fedora's cgit for homepage +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fortune_firefly SRCNAM=firefly VERSION=${VERSION:-2.1.2} @@ -21,7 +23,6 @@ ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/freeblocks/freeblocks.SlackBuild b/games/freeblocks/freeblocks.SlackBuild index 5d0a5608033b..1213b84175ee 100644 --- a/games/freeblocks/freeblocks.SlackBuild +++ b/games/freeblocks/freeblocks.SlackBuild @@ -9,6 +9,8 @@ # 20170301 bkw: # - use long-form github URL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freeblocks VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild index 29abd59ca062..220a77d4dc77 100644 --- a/games/freeciv/freeciv.SlackBuild +++ b/games/freeciv/freeciv.SlackBuild @@ -27,6 +27,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freeciv VERSION=${VERSION:-2.6.5} SRCVERSION=${SRCVERSION:-2.6.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/games/freedink/freedink.SlackBuild b/games/freedink/freedink.SlackBuild index b8c83ce79cfa..e7c374258e47 100644 --- a/games/freedink/freedink.SlackBuild +++ b/games/freedink/freedink.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freedink PRGDATANAME=${PRGDATANAME:-$PRGNAM-data-*} PRGDATANAME=${PRGDATANAME%.tar.gz} @@ -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/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild index deea1734e4ed..2dd7c0d973ed 100644 --- a/games/freedoom/freedoom.SlackBuild +++ b/games/freedoom/freedoom.SlackBuild @@ -11,6 +11,8 @@ # 20170324 bkw: updated for v0.11.2 # 20170301 bkw: updated for v0.11.1 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freedoom VERSION=${VERSION:-0.12.1} BUILD=${BUILD:-1} @@ -18,7 +20,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/freedroid/freedroid.SlackBuild b/games/freedroid/freedroid.SlackBuild index 0bad9caadb70..a16482cd6ab5 100644 --- a/games/freedroid/freedroid.SlackBuild +++ b/games/freedroid/freedroid.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freedroid VERSION=${VERSION:-1.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/games/freedroidrpg/freedroidrpg.SlackBuild b/games/freedroidrpg/freedroidrpg.SlackBuild index c326be3cee27..d1f919c32618 100644 --- a/games/freedroidrpg/freedroidrpg.SlackBuild +++ b/games/freedroidrpg/freedroidrpg.SlackBuild @@ -23,6 +23,8 @@ # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freedroidrpg SRCNAM=freedroidRPG VERSION=${VERSION:-0.16.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/games/freeminer/freeminer.SlackBuild b/games/freeminer/freeminer.SlackBuild index 4c2749c640c3..9330046fa899 100644 --- a/games/freeminer/freeminer.SlackBuild +++ b/games/freeminer/freeminer.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=freeminer VERSION=${VERSION:-git7ad981} SRCVER=7ad981638ea568caf0e3495752cb1bc4a3a853dd @@ -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/games/freeorion/freeorion.SlackBuild b/games/freeorion/freeorion.SlackBuild index c0782e6cf7da..200c58d79991 100644 --- a/games/freeorion/freeorion.SlackBuild +++ b/games/freeorion/freeorion.SlackBuild @@ -26,6 +26,8 @@ # have no idea how this build passed QA, since it was broken all # along. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=freeorion VERSION=${VERSION:-0.4.10.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/games/frogatto/frogatto.SlackBuild b/games/frogatto/frogatto.SlackBuild index cc7127d6e052..a5292a2173df 100644 --- a/games/frogatto/frogatto.SlackBuild +++ b/games/frogatto/frogatto.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=frogatto VERSION=${VERSION:-1.3.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/games/frotz/frotz.SlackBuild b/games/frotz/frotz.SlackBuild index dfb2bef7f862..6d72ffcf7e11 100644 --- a/games/frotz/frotz.SlackBuild +++ b/games/frotz/frotz.SlackBuild @@ -25,6 +25,8 @@ # - updated for Slackware 14 and frotz 2.43d. # - include dumb terminal frotz in build. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=frotz VERSION=${VERSION:-2.52} 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/games/frozen-bubble/frozen-bubble.SlackBuild b/games/frozen-bubble/frozen-bubble.SlackBuild index b59ede9bfb29..1b28595816d0 100644 --- a/games/frozen-bubble/frozen-bubble.SlackBuild +++ b/games/frozen-bubble/frozen-bubble.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=frozen-bubble VERSION=${VERSION:-905bf71} BUILD=${BUILD:-3} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fs-uae-arcade/fs-uae-arcade.SlackBuild b/games/fs-uae-arcade/fs-uae-arcade.SlackBuild index 188bc4168dad..e699f84a57c3 100644 --- a/games/fs-uae-arcade/fs-uae-arcade.SlackBuild +++ b/games/fs-uae-arcade/fs-uae-arcade.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fs-uae-arcade VERSION=${VERSION:-3.0.5} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fs-uae-launcher/fs-uae-launcher.SlackBuild b/games/fs-uae-launcher/fs-uae-launcher.SlackBuild index 0ea86f362c02..8bd0d41e8477 100644 --- a/games/fs-uae-launcher/fs-uae-launcher.SlackBuild +++ b/games/fs-uae-launcher/fs-uae-launcher.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fs-uae-launcher VERSION=${VERSION:-3.0.5} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fs-uae/fs-uae.SlackBuild b/games/fs-uae/fs-uae.SlackBuild index fd358ba2eacc..42ac13b8bd97 100644 --- a/games/fs-uae/fs-uae.SlackBuild +++ b/games/fs-uae/fs-uae.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fs-uae VERSION=${VERSION:-3.0.5} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fs2open/fs2open.SlackBuild b/games/fs2open/fs2open.SlackBuild index 5c2100eaa00e..26267221195d 100644 --- a/games/fs2open/fs2open.SlackBuild +++ b/games/fs2open/fs2open.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fs2open VERSION=${VERSION:-ac2b864} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/fuse-emulator/fuse-emulator.SlackBuild b/games/fuse-emulator/fuse-emulator.SlackBuild index 0c3b133c3308..308b3e295dd1 100644 --- a/games/fuse-emulator/fuse-emulator.SlackBuild +++ b/games/fuse-emulator/fuse-emulator.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fuse-emulator SRCNAM=$(echo $PRGNAM | cut -c1-4) VERSION=${VERSION:-1.5.5} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/galaxyv2/galaxyv2.SlackBuild b/games/galaxyv2/galaxyv2.SlackBuild index abd219460ec7..70301de688a8 100644 --- a/games/galaxyv2/galaxyv2.SlackBuild +++ b/games/galaxyv2/galaxyv2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=galaxyv2 VERSION=${VERSION:-1.85} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/game_1945/game_1945.SlackBuild b/games/game_1945/game_1945.SlackBuild index 97a4412f1093..8d9bb45c8ed2 100644 --- a/games/game_1945/game_1945.SlackBuild +++ b/games/game_1945/game_1945.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=game_1945 SRCNAM=1945 VERSION=${VERSION:-0.55} @@ -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/games/garden/garden.SlackBuild b/games/garden/garden.SlackBuild index f4996ca3bf75..6c94e513cfef 100644 --- a/games/garden/garden.SlackBuild +++ b/games/garden/garden.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=garden VERSION=${VERSION:-1.0.9} 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/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild index 8d1cc1609caa..f8a378e96f9c 100644 --- a/games/gargoyle/gargoyle.SlackBuild +++ b/games/gargoyle/gargoyle.SlackBuild @@ -4,6 +4,8 @@ # Written by Dugan Chen (thedoogster@gmail.com) # Yth | Pont-en-Royans, France | yth@ythogtha.org +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gargoyle VERSION=${VERSION:-2019.1.1} 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/games/gbrainy/gbrainy.SlackBuild b/games/gbrainy/gbrainy.SlackBuild index 9e6ca152e13b..13a2cd5048a8 100644 --- a/games/gbrainy/gbrainy.SlackBuild +++ b/games/gbrainy/gbrainy.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=gbrainy VERSION=${VERSION:-2.2.7} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gemrb/gemrb.SlackBuild b/games/gemrb/gemrb.SlackBuild index b9a3310bf594..be591a1d0196 100644 --- a/games/gemrb/gemrb.SlackBuild +++ b/games/gemrb/gemrb.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=gemrb VERSION=${VERSION:-0.8.5} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gens-gs/gens-gs.SlackBuild b/games/gens-gs/gens-gs.SlackBuild index 95d32d469a21..1e04121b2b58 100644 --- a/games/gens-gs/gens-gs.SlackBuild +++ b/games/gens-gs/gens-gs.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for gens-gs # Written by Steven Pledger <spledger91@yahoo.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gens-gs VERSION=${VERSION:-r7} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ggmud/ggmud.SlackBuild b/games/ggmud/ggmud.SlackBuild index 07554879b025..75248b03b0fd 100644 --- a/games/ggmud/ggmud.SlackBuild +++ b/games/ggmud/ggmud.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ggmud VERSION=${VERSION:-0.9.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gl-117/gl-117.SlackBuild b/games/gl-117/gl-117.SlackBuild index f30884f01f77..3ddb560f5ff4 100644 --- a/games/gl-117/gl-117.SlackBuild +++ b/games/gl-117/gl-117.SlackBuild @@ -4,6 +4,8 @@ # Written by Dario Nicodemi dario.sbo@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gl-117 VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/glPortal/glPortal.SlackBuild b/games/glPortal/glPortal.SlackBuild index cfe4b3143de5..721631541416 100644 --- a/games/glPortal/glPortal.SlackBuild +++ b/games/glPortal/glPortal.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=glPortal VERSION=${VERSION:-c3d5e47} SRCVER=${SRCVER:-c3d5e47c5151360c09d0d84f66d9c0e3c2051251} @@ -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/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild index 03e58d153caf..00464a981c95 100644 --- a/games/glbsp/glbsp.SlackBuild +++ b/games/glbsp/glbsp.SlackBuild @@ -9,6 +9,8 @@ # 20170621 bkw: fix build for -current (post-14.2) # 20151126 bkw: fix build for -current (preparing for 14.2) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=glbsp VERSION=${VERSION:-2.24} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/glestae/glestae.SlackBuild b/games/glestae/glestae.SlackBuild index 0307c787a290..ae9d1bbdf345 100644 --- a/games/glestae/glestae.SlackBuild +++ b/games/glestae/glestae.SlackBuild @@ -25,6 +25,8 @@ # 20200906 bkw: modified by SlackBuilds.org: the build was failing if # wxGTK3 was installed, due to the /usr/bin/wx-config conflict. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=glestae VERSION=${VERSION:-0.3.93} BUILD=${BUILD:-4} @@ -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/games/glob2/glob2.SlackBuild b/games/glob2/glob2.SlackBuild index ec280b015b47..e1e49cd1abb9 100644 --- a/games/glob2/glob2.SlackBuild +++ b/games/glob2/glob2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=glob2 VERSION=${VERSION:-0.9.4.4} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/glxosd/glxosd.SlackBuild b/games/glxosd/glxosd.SlackBuild index fb1c61bf11ca..096db1c49ae3 100644 --- a/games/glxosd/glxosd.SlackBuild +++ b/games/glxosd/glxosd.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=glxosd SRCNAM=GLXOSD VERSION=${VERSION:-2.5.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/games/gnonograms/gnonograms.SlackBuild b/games/gnonograms/gnonograms.SlackBuild index c30fe4a1e76b..0a52f1534a1e 100644 --- a/games/gnonograms/gnonograms.SlackBuild +++ b/games/gnonograms/gnonograms.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gnonograms SRCNAM=gnonograms3 VERSION=${VERSION:-0.9.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild index 1e22531422c0..9cd05eddd3e1 100644 --- a/games/gnubg/gnubg.SlackBuild +++ b/games/gnubg/gnubg.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=gnubg VERSION=${VERSION:-1.05.000} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gnugo/gnugo.SlackBuild b/games/gnugo/gnugo.SlackBuild index 41326d15bec1..0bc318d620ba 100644 --- a/games/gnugo/gnugo.SlackBuild +++ b/games/gnugo/gnugo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gnugo VERSION=${VERSION:-3.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/games/gnurobbo/gnurobbo.SlackBuild b/games/gnurobbo/gnurobbo.SlackBuild index fea34b44a58c..e32c3c4af3cd 100644 --- a/games/gnurobbo/gnurobbo.SlackBuild +++ b/games/gnurobbo/gnurobbo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gnurobbo VERSION=${VERSION:-0.66} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gnuski/gnuski.SlackBuild b/games/gnuski/gnuski.SlackBuild index 18054590aaa6..0a013067e4ae 100644 --- a/games/gnuski/gnuski.SlackBuild +++ b/games/gnuski/gnuski.SlackBuild @@ -4,6 +4,8 @@ # Written by Vincent Batts, vbatts@hashbangbash.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gnuski VERSION=${VERSION:-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/games/golly/golly.SlackBuild b/games/golly/golly.SlackBuild index 77628e36db01..967c6039c0e4 100644 --- a/games/golly/golly.SlackBuild +++ b/games/golly/golly.SlackBuild @@ -35,6 +35,8 @@ # is invited to investigate why this happens... # - Minor simplifications and cleanups. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=golly VERSION=${VERSION:-4.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/games/goonies/goonies.SlackBuild b/games/goonies/goonies.SlackBuild index ff78738860ab..00a1f4d1c201 100644 --- a/games/goonies/goonies.SlackBuild +++ b/games/goonies/goonies.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=goonies VERSION=${VERSION:-1.4.1528} 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/games/gottet/gottet.SlackBuild b/games/gottet/gottet.SlackBuild index 90af163fab76..faaa9b270c07 100644 --- a/games/gottet/gottet.SlackBuild +++ b/games/gottet/gottet.SlackBuild @@ -34,6 +34,8 @@ # - support SLKCFLAGS # - BUILD=2 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gottet VERSION=${VERSION:-1.0.6} 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/games/greed/greed.SlackBuild b/games/greed/greed.SlackBuild index 01305baaf14a..c545a8455441 100644 --- a/games/greed/greed.SlackBuild +++ b/games/greed/greed.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=greed VERSION=${VERSION:-4.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gtkballs/gtkballs.SlackBuild b/games/gtkballs/gtkballs.SlackBuild index 1b0281ead142..51e137714925 100644 --- a/games/gtkballs/gtkballs.SlackBuild +++ b/games/gtkballs/gtkballs.SlackBuild @@ -22,6 +22,8 @@ # 20140228 bkw: took over maintenance, simplified a bit +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gtkballs VERSION=${VERSION:-3.1.5} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gtklife/gtklife.SlackBuild b/games/gtklife/gtklife.SlackBuild index 0c1e11c10c8b..d4418db34775 100644 --- a/games/gtklife/gtklife.SlackBuild +++ b/games/gtklife/gtklife.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gtklife VERSION=${VERSION:-5.2} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/gzdoom-legacy/gzdoom-legacy.SlackBuild b/games/gzdoom-legacy/gzdoom-legacy.SlackBuild index e4a453329dca..cc2609bc8625 100644 --- a/games/gzdoom-legacy/gzdoom-legacy.SlackBuild +++ b/games/gzdoom-legacy/gzdoom-legacy.SlackBuild @@ -33,6 +33,8 @@ # build now uses its own dedicated fmodapi, which installs to # a private directory (won't conflict with system fmodapi, if present). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gzdoom-legacy SRCNAM=gzdoom VERSION=${VERSION:-2.4.0} @@ -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/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild index dfceea103998..7651d3cd885f 100644 --- a/games/gzdoom/gzdoom.SlackBuild +++ b/games/gzdoom/gzdoom.SlackBuild @@ -33,6 +33,8 @@ # - Stop supporting old versions of gzdoom. The old versions are now # supported as "gzdoom-legacy" for those that need them. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gzdoom VERSION=${VERSION:-4.5.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/games/hack-of-life/hack-of-life.SlackBuild b/games/hack-of-life/hack-of-life.SlackBuild index 443e21b6db2c..6b71088d9eec 100644 --- a/games/hack-of-life/hack-of-life.SlackBuild +++ b/games/hack-of-life/hack-of-life.SlackBuild @@ -12,6 +12,8 @@ # standard in the roguelike world... It's not configurable in this # game, meaning I'm never going to enjoy playing it very much :( +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hack-of-life VERSION=${VERSION:-20130628_3a6c824} BUILD=${BUILD:-1} @@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild index 881c3ce41511..da7f9c729810 100644 --- a/games/hatari/hatari.SlackBuild +++ b/games/hatari/hatari.SlackBuild @@ -63,6 +63,8 @@ # reinstalling the package won't reset the default ROM. # - add mime type and auto-associate ST disk images and executables. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hatari VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} @@ -76,7 +78,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hatari_tos_roms/hatari_tos_roms.SlackBuild b/games/hatari_tos_roms/hatari_tos_roms.SlackBuild index 803480490e21..4c79caf7b421 100644 --- a/games/hatari_tos_roms/hatari_tos_roms.SlackBuild +++ b/games/hatari_tos_roms/hatari_tos_roms.SlackBuild @@ -20,13 +20,14 @@ # they're not taking up that much space (1088K uncompressed, 670K gzipped), # plus other emulators than hatari can use these, and might not support .gz +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hatari_tos_roms VERSION=${VERSION:-20140825} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/haxima-nazghul/haxima-nazghul.SlackBuild b/games/haxima-nazghul/haxima-nazghul.SlackBuild index 8087fbf93491..d6670897fe1f 100644 --- a/games/haxima-nazghul/haxima-nazghul.SlackBuild +++ b/games/haxima-nazghul/haxima-nazghul.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=haxima-nazghul SRCNAM=$(echo $PRGNAM | cut -c8-14) VERSION=${VERSION:-0.7.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/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild index 212eed6db4d1..c03a4850d302 100644 --- a/games/hedgewars/hedgewars.SlackBuild +++ b/games/hedgewars/hedgewars.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hedgewars VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/heretic_shareware_data/heretic_shareware_data.SlackBuild b/games/heretic_shareware_data/heretic_shareware_data.SlackBuild index 2ecc80bd83ba..ec140fa894fc 100644 --- a/games/heretic_shareware_data/heretic_shareware_data.SlackBuild +++ b/games/heretic_shareware_data/heretic_shareware_data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=heretic_shareware_data VERSION=${VERSION:-1.2} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hex-a-hop/hex-a-hop.SlackBuild b/games/hex-a-hop/hex-a-hop.SlackBuild index d9e8df8819a0..b683f24de534 100644 --- a/games/hex-a-hop/hex-a-hop.SlackBuild +++ b/games/hex-a-hop/hex-a-hop.SlackBuild @@ -4,6 +4,8 @@ # Written by André Geraldo Vieira <andre.geraldo@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hex-a-hop VERSION=${VERSION:-1.1.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/games/hexalate/hexalate.SlackBuild b/games/hexalate/hexalate.SlackBuild index 5551883e7232..9446e3364e14 100644 --- a/games/hexalate/hexalate.SlackBuild +++ b/games/hexalate/hexalate.SlackBuild @@ -27,6 +27,8 @@ # Build script for hexalate +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hexalate VERSION=${VERSION:-1.1.4} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hexen_demo_data/hexen_demo_data.SlackBuild b/games/hexen_demo_data/hexen_demo_data.SlackBuild index 8ae156c49652..7efda333093d 100644 --- a/games/hexen_demo_data/hexen_demo_data.SlackBuild +++ b/games/hexen_demo_data/hexen_demo_data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hexen_demo_data VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hexglass/hexglass.SlackBuild b/games/hexglass/hexglass.SlackBuild index b7d232cfb9eb..b20f1a5c74fa 100644 --- a/games/hexglass/hexglass.SlackBuild +++ b/games/hexglass/hexglass.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hexglass VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild index 5f5bd35b343a..243970cb4e16 100644 --- a/games/higan/higan.SlackBuild +++ b/games/higan/higan.SlackBuild @@ -46,6 +46,8 @@ # - Add man pages. Note to SBo admins: please don't remove my *.rst man # page sources! +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=higan VERSION=${VERSION:-110} BUILD=${BUILD:-1} @@ -59,7 +61,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/hlsdk/hlsdk.SlackBuild b/games/hlsdk/hlsdk.SlackBuild index 1541e2d90501..9b6cb8d2cd13 100644 --- a/games/hlsdk/hlsdk.SlackBuild +++ b/games/hlsdk/hlsdk.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hlsdk SRCNAM=halflife VERSION=${VERSION:-28082015} @@ -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/games/hnefatafl/hnefatafl.SlackBuild b/games/hnefatafl/hnefatafl.SlackBuild index e38519f261ec..ef52e9770f2e 100644 --- a/games/hnefatafl/hnefatafl.SlackBuild +++ b/games/hnefatafl/hnefatafl.SlackBuild @@ -17,6 +17,8 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hnefatafl VERSION=${VERSION:-140617} 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/games/ho1/ho1.SlackBuild b/games/ho1/ho1.SlackBuild index d3dc6abecc96..e776f6c1ab91 100644 --- a/games/ho1/ho1.SlackBuild +++ b/games/ho1/ho1.SlackBuild @@ -4,6 +4,8 @@ # Written by Xavier Maillard <xavier@maillard.im> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ho1 VERSION=${VERSION:-1.430} VERSIONSRC=${VERSIONSRC:-1430} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch # Java -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/homm3_shareware_data/homm3_shareware_data.SlackBuild b/games/homm3_shareware_data/homm3_shareware_data.SlackBuild index cae79ea7cc64..17e520cc98f6 100644 --- a/games/homm3_shareware_data/homm3_shareware_data.SlackBuild +++ b/games/homm3_shareware_data/homm3_shareware_data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=homm3_shareware_data VERSION=${VERSION:-4.0} # This is the version stated in the ReadMe BUILD=${BUILD:-1} @@ -30,7 +32,6 @@ TAG=${TAG:-_SBo} DEMO=heroes_3_complete_demo.sit ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/icebreaker/icebreaker.SlackBuild b/games/icebreaker/icebreaker.SlackBuild index 76b8a068f1ed..6ef623c4a9d8 100644 --- a/games/icebreaker/icebreaker.SlackBuild +++ b/games/icebreaker/icebreaker.SlackBuild @@ -10,6 +10,8 @@ # Development on this game stopped in 2002, so there will never be a 2.0 # release. If anyone finds bugs in 1.9.7, let me know. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=icebreaker VERSION=${VERSION:-1.9.7} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ifm/ifm.SlackBuild b/games/ifm/ifm.SlackBuild index 0d9a89ea74d2..4326176d2c06 100644 --- a/games/ifm/ifm.SlackBuild +++ b/games/ifm/ifm.SlackBuild @@ -4,6 +4,8 @@ # Copyright 2015 Andrew Lobanov +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ifm VERSION=${VERSION:-5.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/games/img2xterm/img2xterm.SlackBuild b/games/img2xterm/img2xterm.SlackBuild index 73453d156acd..0238e3235533 100644 --- a/games/img2xterm/img2xterm.SlackBuild +++ b/games/img2xterm/img2xterm.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=img2xterm VERSION=${VERSION:-1.0.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/games/innoextract/innoextract.SlackBuild b/games/innoextract/innoextract.SlackBuild index 61e4447ecdf6..4f9962e0af67 100644 --- a/games/innoextract/innoextract.SlackBuild +++ b/games/innoextract/innoextract.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=innoextract VERSION=${VERSION:-1.9} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/instead/instead.SlackBuild b/games/instead/instead.SlackBuild index 5972eb79cf5d..c7c647d2973c 100644 --- a/games/instead/instead.SlackBuild +++ b/games/instead/instead.SlackBuild @@ -3,6 +3,8 @@ # Written by Andrew Lobanov <spline @ rooker dot ru> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=instead VERSION=${VERSION:-3.3.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/games/invasion3d/invasion3d.SlackBuild b/games/invasion3d/invasion3d.SlackBuild index 76936a03365f..29b840fdf174 100644 --- a/games/invasion3d/invasion3d.SlackBuild +++ b/games/invasion3d/invasion3d.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=invasion3d VERSION=${VERSION:-1.0.4b} BUILD=${BUILD:-1} @@ -34,7 +36,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/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild index 409266826ac6..1d29d71760ce 100644 --- a/games/ioquake3/ioquake3.SlackBuild +++ b/games/ioquake3/ioquake3.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ioquake3 VERSION=${VERSION:-1.36_05180e3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/iortcw/iortcw.SlackBuild b/games/iortcw/iortcw.SlackBuild index 750dbea02b1e..e9451d4d5108 100644 --- a/games/iortcw/iortcw.SlackBuild +++ b/games/iortcw/iortcw.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=iortcw VERSION=${VERSION:-1.51c} BUILD=${BUILD:-1} @@ -58,7 +60,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jag/jag.SlackBuild b/games/jag/jag.SlackBuild index 2adb54f80eed..2555c5e44514 100644 --- a/games/jag/jag.SlackBuild +++ b/games/jag/jag.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jag VERSION=${VERSION:-0.3.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild index 0e11e789ef4a..b3ffcaf9c2a3 100644 --- a/games/javacpc/javacpc.SlackBuild +++ b/games/javacpc/javacpc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=javacpc SRCNAM=JavaCPC_Desktop VERSION=${VERSION:-2.9.8f} @@ -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/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild b/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild index 6e27a2123941..14c13b4526c1 100644 --- a/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild +++ b/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild @@ -10,6 +10,8 @@ # stable (random-looking hostnames). Homepage is the allegro.cc game depot # entry for this game, since the original homepage is defunct. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jezzball-kazzmir VERSION=${VERSION:-1.1} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild index 73e59cb6c10e..0a05f3912870 100644 --- a/games/jfsw/jfsw.SlackBuild +++ b/games/jfsw/jfsw.SlackBuild @@ -36,6 +36,8 @@ # package (you could build just fine with any VERSION so long as the # .info file is correct). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw VERSION=${VERSION:-20180424_8fc2d54} BUILD=${BUILD:-2} @@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw_demo_data/jfsw_demo_data.SlackBuild b/games/jfsw_demo_data/jfsw_demo_data.SlackBuild index 73d4894c0099..fe7d353436fc 100644 --- a/games/jfsw_demo_data/jfsw_demo_data.SlackBuild +++ b/games/jfsw_demo_data/jfsw_demo_data.SlackBuild @@ -10,13 +10,14 @@ # - updated slightly, to coexist with jfsw_registered_data. # - get rid of LFs in text files, rename to lowercase. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw_demo_data VERSION=${VERSION:-1.2} ARCH=noarch BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw_hires_pack/jfsw_hires_pack.SlackBuild b/games/jfsw_hires_pack/jfsw_hires_pack.SlackBuild index 0af9777eb5c5..91be9d2f3b87 100644 --- a/games/jfsw_hires_pack/jfsw_hires_pack.SlackBuild +++ b/games/jfsw_hires_pack/jfsw_hires_pack.SlackBuild @@ -6,13 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw_hires_pack VERSION=${VERSION:-2.1} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw_registered_data/jfsw_registered_data.SlackBuild b/games/jfsw_registered_data/jfsw_registered_data.SlackBuild index 0d50b5297e3a..9e1a52be3bcb 100644 --- a/games/jfsw_registered_data/jfsw_registered_data.SlackBuild +++ b/games/jfsw_registered_data/jfsw_registered_data.SlackBuild @@ -15,6 +15,8 @@ # format. More work for this script to do, but as a nice bonus, we get # the CD audio tracks installed too. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw_registered_data VERSION=${VERSION:-1.2} BUILD=${BUILD:-2} @@ -27,7 +29,6 @@ ZIPNAME1="$SRCNAM.zip" ZIPNAME2="Shadow%20Warrior%20%28USA%29.zip" ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild b/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild index 4d0c3a5305c8..d82829cd080a 100644 --- a/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild +++ b/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw_twin_dragon VERSION=${VERSION:-20200428} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jfsw_wanton_destruction/jfsw_wanton_destruction.SlackBuild b/games/jfsw_wanton_destruction/jfsw_wanton_destruction.SlackBuild index 194bfbf397ce..3b6e8839c22c 100644 --- a/games/jfsw_wanton_destruction/jfsw_wanton_destruction.SlackBuild +++ b/games/jfsw_wanton_destruction/jfsw_wanton_destruction.SlackBuild @@ -17,6 +17,8 @@ # registration or even captcha required. I self-hosted the archive to # guarantee a stable download link. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jfsw_wanton_destruction VERSION=${VERSION:-20050909} BUILD=${BUILD:-1} @@ -24,7 +26,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jin/jin.SlackBuild b/games/jin/jin.SlackBuild index e2cb6c6bc0eb..5e2063a92d40 100644 --- a/games/jin/jin.SlackBuild +++ b/games/jin/jin.SlackBuild @@ -29,6 +29,8 @@ set -e +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jin VERSION=${VERSION:-2.14.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ TAG=${TAG:-_SBo} # Independent of architecture so will throw it into /opt ARCH="noarch" -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/jzintv/jzintv.SlackBuild b/games/jzintv/jzintv.SlackBuild index f52f52824fe2..3e84f935e02a 100644 --- a/games/jzintv/jzintv.SlackBuild +++ b/games/jzintv/jzintv.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=jzintv VERSION=${VERSION:-r1025} 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/games/kardsgt/kardsgt.SlackBuild b/games/kardsgt/kardsgt.SlackBuild index 54b113a66bc7..001f108d766a 100644 --- a/games/kardsgt/kardsgt.SlackBuild +++ b/games/kardsgt/kardsgt.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kardsgt VERSION=${VERSION:-0.7.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/kildclient/kildclient.SlackBuild b/games/kildclient/kildclient.SlackBuild index 5536a4929fb9..d4ae41e6f638 100644 --- a/games/kildclient/kildclient.SlackBuild +++ b/games/kildclient/kildclient.SlackBuild @@ -24,6 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kildclient VERSION=${VERSION:-3.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/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild index 46969e93a5b1..4a0aa8344935 100644 --- a/games/koules/koules.SlackBuild +++ b/games/koules/koules.SlackBuild @@ -10,6 +10,8 @@ # This script doesn't share any code with whatever build script # existed back then (partly because I couldn't find a copy) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=koules VERSION=${VERSION:-1.4} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/larn/larn.SlackBuild b/games/larn/larn.SlackBuild index 9735b27e90cf..5894fb2de3f3 100644 --- a/games/larn/larn.SlackBuild +++ b/games/larn/larn.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=larn VERSION=${VERSION:-14.1.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild index 80531a166a58..d05c66d5b236 100644 --- a/games/lbreakout2/lbreakout2.SlackBuild +++ b/games/lbreakout2/lbreakout2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lbreakout2 VERSION=${VERSION:-2.6.5} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lgogdownloader/lgogdownloader.SlackBuild b/games/lgogdownloader/lgogdownloader.SlackBuild index 9b955e020d07..a49c34eb7d74 100644 --- a/games/lgogdownloader/lgogdownloader.SlackBuild +++ b/games/lgogdownloader/lgogdownloader.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lgogdownloader VERSION=${VERSION:-3.7} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lightyears/lightyears.SlackBuild b/games/lightyears/lightyears.SlackBuild index 912c4119f869..0b922f04181d 100644 --- a/games/lightyears/lightyears.SlackBuild +++ b/games/lightyears/lightyears.SlackBuild @@ -22,13 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lightyears VERSION=${VERSION:-1.4} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lincity-ng/lincity-ng.SlackBuild b/games/lincity-ng/lincity-ng.SlackBuild index 7a6333a051af..fc1f17093b79 100644 --- a/games/lincity-ng/lincity-ng.SlackBuild +++ b/games/lincity-ng/lincity-ng.SlackBuild @@ -4,6 +4,8 @@ # Written by M.Dinslage (daedra1980{at}gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lincity-ng VERSION=${VERSION:-2.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/games/liquidwar6/liquidwar6.SlackBuild b/games/liquidwar6/liquidwar6.SlackBuild index c76fd3e4f3b6..ee020feec33b 100644 --- a/games/liquidwar6/liquidwar6.SlackBuild +++ b/games/liquidwar6/liquidwar6.SlackBuild @@ -8,6 +8,8 @@ # 20170621 bkw: fix build on -current +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=liquidwar6 VERSION=${VERSION:-0.6.3902} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lmarbles/lmarbles.SlackBuild b/games/lmarbles/lmarbles.SlackBuild index 156184b1b872..24047c8fe3bb 100644 --- a/games/lmarbles/lmarbles.SlackBuild +++ b/games/lmarbles/lmarbles.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lmarbles VERSION=${VERSION:-1.0.8} 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/games/lmpc/lmpc.SlackBuild b/games/lmpc/lmpc.SlackBuild index 2bfb0c2107a2..668d4a77591f 100644 --- a/games/lmpc/lmpc.SlackBuild +++ b/games/lmpc/lmpc.SlackBuild @@ -32,6 +32,8 @@ # - add -j1 to make command :( # - binaries in /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lmpc VERSION=${VERSION:-1b70022} BUILD=${BUILD:-1} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/loemu/loemu.SlackBuild b/games/loemu/loemu.SlackBuild index 3bccb6eb657e..e7d9baaa4ab8 100644 --- a/games/loemu/loemu.SlackBuild +++ b/games/loemu/loemu.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=loemu VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ltris/ltris.SlackBuild b/games/ltris/ltris.SlackBuild index 560960e93503..cbab0f6f2786 100644 --- a/games/ltris/ltris.SlackBuild +++ b/games/ltris/ltris.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ltris VERSION=${VERSION:-1.0.19} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/lutris/lutris.SlackBuild b/games/lutris/lutris.SlackBuild index 986f6d50485e..9fce68527aa4 100644 --- a/games/lutris/lutris.SlackBuild +++ b/games/lutris/lutris.SlackBuild @@ -23,6 +23,8 @@ # with this program (most likely, a file named COPYING). If not, see # <https://www.gnu.org/licenses/>. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=lutris VERSION=${VERSION:-0.4.23} 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/games/m64py/m64py.SlackBuild b/games/m64py/m64py.SlackBuild index d74cf5e8eb09..6539d1e933d1 100644 --- a/games/m64py/m64py.SlackBuild +++ b/games/m64py/m64py.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=m64py VERSION=${VERSION:-0.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/games/madbomber/madbomber.SlackBuild b/games/madbomber/madbomber.SlackBuild index d5226671cdce..c465c3bb0cbd 100644 --- a/games/madbomber/madbomber.SlackBuild +++ b/games/madbomber/madbomber.SlackBuild @@ -7,6 +7,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=madbomber VERSION=${VERSION:-0.2.5} 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/games/maelstrom/maelstrom.SlackBuild b/games/maelstrom/maelstrom.SlackBuild index e24d72c8f096..8c8134b270a9 100644 --- a/games/maelstrom/maelstrom.SlackBuild +++ b/games/maelstrom/maelstrom.SlackBuild @@ -14,6 +14,8 @@ # - Remove warnings about multiplayer not working on 64-bit, it # works now. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=maelstrom VERSION=${VERSION:-3.0.6} BUILD=${BUILD:-2} @@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild index 8b1256582c13..d9fc48a47f0c 100644 --- a/games/mame/mame.SlackBuild +++ b/games/mame/mame.SlackBuild @@ -26,6 +26,8 @@ # 20180928 bkw: Updated for v0.202. # 20180830 bkw: Updated for v0.201. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mame VERSION=${VERSION:-0.214} 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/games/mame2000-libretro/mame2000-libretro.SlackBuild b/games/mame2000-libretro/mame2000-libretro.SlackBuild index 12d615a1ba57..47cb43ea0992 100644 --- a/games/mame2000-libretro/mame2000-libretro.SlackBuild +++ b/games/mame2000-libretro/mame2000-libretro.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=mame2000-libretro LIBNAM=$(echo $PRGNAM | tr - _) VERSION=${VERSION:-2020.10.21_6655a51} @@ -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/games/manaplus/manaplus.SlackBuild b/games/manaplus/manaplus.SlackBuild index 892f28244562..d374c54bcb22 100644 --- a/games/manaplus/manaplus.SlackBuild +++ b/games/manaplus/manaplus.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=manaplus VERSION=${VERSION:-1.9.3.23} 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/games/mangband/mangband.SlackBuild b/games/mangband/mangband.SlackBuild index 13b7dc392ec7..0f4973db34a2 100644 --- a/games/mangband/mangband.SlackBuild +++ b/games/mangband/mangband.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mangband VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ fi set -e -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/marathon-data/marathon-data.SlackBuild b/games/marathon-data/marathon-data.SlackBuild index 2a3c7be4457b..fe6436903a2f 100644 --- a/games/marathon-data/marathon-data.SlackBuild +++ b/games/marathon-data/marathon-data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-data VERSION=${VERSION:-20200904} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/marathon-eternal-data/marathon-eternal-data.SlackBuild b/games/marathon-eternal-data/marathon-eternal-data.SlackBuild index 95d65cabda8e..cd9fdee897df 100644 --- a/games/marathon-eternal-data/marathon-eternal-data.SlackBuild +++ b/games/marathon-eternal-data/marathon-eternal-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-eternal-data VERSION=${VERSION:-1.1.0} SRCVER=$(printf %s "$VERSION" | tr -d .) @@ -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/games/marathon-evil-data/marathon-evil-data.SlackBuild b/games/marathon-evil-data/marathon-evil-data.SlackBuild index 85082ee3ff29..ff6a00a2a1e9 100644 --- a/games/marathon-evil-data/marathon-evil-data.SlackBuild +++ b/games/marathon-evil-data/marathon-evil-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-evil-data VERSION=${VERSION:-20110331} # Last modified date from the zipfile's http header 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/games/marathon-infinity-data/marathon-infinity-data.SlackBuild b/games/marathon-infinity-data/marathon-infinity-data.SlackBuild index d9fd7a3a4cf0..3c39a8d62670 100644 --- a/games/marathon-infinity-data/marathon-infinity-data.SlackBuild +++ b/games/marathon-infinity-data/marathon-infinity-data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-infinity-data VERSION=${VERSION:-20200904} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/marathon-phoenix-data/marathon-phoenix-data.SlackBuild b/games/marathon-phoenix-data/marathon-phoenix-data.SlackBuild index 612447cfb69d..bfdcea4fae57 100644 --- a/games/marathon-phoenix-data/marathon-phoenix-data.SlackBuild +++ b/games/marathon-phoenix-data/marathon-phoenix-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-phoenix-data VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/marathon-red-data/marathon-red-data.SlackBuild b/games/marathon-red-data/marathon-red-data.SlackBuild index 0fca7c4d9e26..52aa2b50393d 100644 --- a/games/marathon-red-data/marathon-red-data.SlackBuild +++ b/games/marathon-red-data/marathon-red-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-red-data VERSION=${VERSION:-20110331} # Last modified date from the zipfile's http header 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/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild b/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild index 3248a8453b8a..83d85a37734e 100644 --- a/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild +++ b/games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon-rubicon-data VERSION=${VERSION:-20060807} # Last modified date from the zipfile's http header BUILD=${BUILD:-3} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/marathon2-data/marathon2-data.SlackBuild b/games/marathon2-data/marathon2-data.SlackBuild index b9026a400582..a74333f4ebbd 100644 --- a/games/marathon2-data/marathon2-data.SlackBuild +++ b/games/marathon2-data/marathon2-data.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=marathon2-data VERSION=${VERSION:-20200904} BUILD=${BUILD:-1} @@ -13,7 +15,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/mari0/mari0.SlackBuild b/games/mari0/mari0.SlackBuild index 27c215a83181..d11cab37f4b9 100644 --- a/games/mari0/mari0.SlackBuild +++ b/games/mari0/mari0.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mari0 VERSION=${VERSION:-1.6} BUILD=${BUILD:-2} @@ -14,7 +16,6 @@ TAG=${TAG:-_SBo} # *.love files are just zip files full of lua code, they're cross-platform ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/mars/mars.SlackBuild b/games/mars/mars.SlackBuild index f14213572ef0..fac1c4f08d8e 100644 --- a/games/mars/mars.SlackBuild +++ b/games/mars/mars.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mars VERSION=${VERSION:-0.7.5} BUILD=${BUILD:-1} @@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/meandmyshadow/meandmyshadow.SlackBuild b/games/meandmyshadow/meandmyshadow.SlackBuild index d01e874bc95a..35ee8d5db139 100644 --- a/games/meandmyshadow/meandmyshadow.SlackBuild +++ b/games/meandmyshadow/meandmyshadow.SlackBuild @@ -25,6 +25,8 @@ # 20210214 bkw: Modified by SlackBuilds.org to allow building on a # system that has both lua and lua52 (or lua53) installed. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=meandmyshadow VERSION=${VERSION:-0.5a} 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/games/mednafen/mednafen.SlackBuild b/games/mednafen/mednafen.SlackBuild index a0d3e351a30e..13e8629dc209 100644 --- a/games/mednafen/mednafen.SlackBuild +++ b/games/mednafen/mednafen.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=mednafen VERSION=${VERSION:-1.24.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/games/mednaffe/mednaffe.SlackBuild b/games/mednaffe/mednaffe.SlackBuild index 592d029df948..28910e2a4d29 100644 --- a/games/mednaffe/mednaffe.SlackBuild +++ b/games/mednaffe/mednaffe.SlackBuild @@ -9,6 +9,8 @@ # 20210222 bkw: update for v0.9.1. Upstream dropped support for GTK+2, # so got rid of GTKVER environment variable. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mednaffe VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild index 1f3be7dd5ce7..a097406071da 100644 --- a/games/megaglest/megaglest.SlackBuild +++ b/games/megaglest/megaglest.SlackBuild @@ -31,6 +31,8 @@ # a 2nd instance is started (and get rid of parallel build warning # in README). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=megaglest VERSION=${VERSION:-3.13.0} BUILD=${BUILD:-1} @@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/megamario/megamario.SlackBuild b/games/megamario/megamario.SlackBuild index c98d4659ac2c..666820548580 100644 --- a/games/megamario/megamario.SlackBuild +++ b/games/megamario/megamario.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=megamario VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/mfe/mfe.SlackBuild b/games/mfe/mfe.SlackBuild index 9a06fce5635f..2f8a8e93391e 100644 --- a/games/mfe/mfe.SlackBuild +++ b/games/mfe/mfe.SlackBuild @@ -4,6 +4,8 @@ # Written by Luis Henrique <lmello.009@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mfe VERSION=${VERSION:-0.1.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/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild index 37a67b70b4a9..f824cce924b6 100644 --- a/games/mgba/mgba.SlackBuild +++ b/games/mgba/mgba.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=mgba VERSION=${VERSION:-0.9.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/games/micropolis/micropolis.SlackBuild b/games/micropolis/micropolis.SlackBuild index 167bab89b8cc..87d152a32045 100644 --- a/games/micropolis/micropolis.SlackBuild +++ b/games/micropolis/micropolis.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=micropolis VERSION=${VERSION:-20100418} 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/games/minetest/minetest.SlackBuild b/games/minetest/minetest.SlackBuild index df98d320c588..34da80176283 100644 --- a/games/minetest/minetest.SlackBuild +++ b/games/minetest/minetest.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=minetest VERSION=${VERSION:-5.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/games/minetest_game/minetest_game.SlackBuild b/games/minetest_game/minetest_game.SlackBuild index 510739edcf03..3364a42bf46a 100644 --- a/games/minetest_game/minetest_game.SlackBuild +++ b/games/minetest_game/minetest_game.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=minetest_game VERSION=${VERSION:-5.3.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/games/mininim/mininim.SlackBuild b/games/mininim/mininim.SlackBuild index c45d757f7002..560d00e3a13f 100644 --- a/games/mininim/mininim.SlackBuild +++ b/games/mininim/mininim.SlackBuild @@ -15,6 +15,8 @@ # sdlpop. As it stands, we have both (choice is good). mininim is a lot # more unix-friendly, easier to package. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mininim VERSION=${VERSION:-201701122309} BUILD=${BUILD:-1} @@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/miscom/miscom.SlackBuild b/games/miscom/miscom.SlackBuild index b7aacaa25095..e0cf6ef5e9fd 100644 --- a/games/miscom/miscom.SlackBuild +++ b/games/miscom/miscom.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=miscom VERSION=${VERSION:-1.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/games/mog/mog.SlackBuild b/games/mog/mog.SlackBuild index 1742c7564bd5..b20336bb67f3 100644 --- a/games/mog/mog.SlackBuild +++ b/games/mog/mog.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mog VERSION=${VERSION:-0.63.1548} SRCVER=$(echo $VERSION | sed "s/.1548/-1548/") @@ -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/games/moon-buggy/moon-buggy.SlackBuild b/games/moon-buggy/moon-buggy.SlackBuild index 9c01b24e8b26..ff9aa1516924 100644 --- a/games/moon-buggy/moon-buggy.SlackBuild +++ b/games/moon-buggy/moon-buggy.SlackBuild @@ -25,6 +25,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=moon-buggy VERSION=${VERSION:-1.0.51} 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/games/moria/moria.SlackBuild b/games/moria/moria.SlackBuild index 294db366e1cb..a83a90e6015f 100644 --- a/games/moria/moria.SlackBuild +++ b/games/moria/moria.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=moria VERSION=${VERSION:-5.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/games/mrboom/mrboom.SlackBuild b/games/mrboom/mrboom.SlackBuild index 7052303758a3..5356099703e5 100644 --- a/games/mrboom/mrboom.SlackBuild +++ b/games/mrboom/mrboom.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mrboom VERSION=${VERSION:-4.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/games/mrrescue/mrrescue.SlackBuild b/games/mrrescue/mrrescue.SlackBuild index bab97e62bde4..14a07245e64d 100644 --- a/games/mrrescue/mrrescue.SlackBuild +++ b/games/mrrescue/mrrescue.SlackBuild @@ -10,6 +10,8 @@ # for love-11.x support (someone upgraded love and didn't bother to tell # me so this has been broken for ~2 year). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mrrescue VERSION=${VERSION:-1.02e+20180818_a5be73c} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ DIFFVER=${VERSION##*+} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/mupen64plus/mupen64plus.SlackBuild b/games/mupen64plus/mupen64plus.SlackBuild index e70028a7546a..2bb346765666 100644 --- a/games/mupen64plus/mupen64plus.SlackBuild +++ b/games/mupen64plus/mupen64plus.SlackBuild @@ -4,6 +4,8 @@ # Written by M.Dinslage contact: daedra1980@gmail.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=mupen64plus VERSION=${VERSION:-2.5} BUILD=${BUILD:-1} @@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/myman/myman.SlackBuild b/games/myman/myman.SlackBuild index 4532bbec3ace..ce84e245fd15 100644 --- a/games/myman/myman.SlackBuild +++ b/games/myman/myman.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=myman VERSION=${VERSION:-0.7.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/games/nFlood/nFlood.SlackBuild b/games/nFlood/nFlood.SlackBuild index d25cbc6293c1..fae38127a19f 100644 --- a/games/nFlood/nFlood.SlackBuild +++ b/games/nFlood/nFlood.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nFlood VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/nSnake/nSnake.SlackBuild b/games/nSnake/nSnake.SlackBuild index 7200ccd75f1a..9865f50a827c 100644 --- a/games/nSnake/nSnake.SlackBuild +++ b/games/nSnake/nSnake.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nSnake SRCNAM=${PRGNAM,,} VERSION=${VERSION:-3.0.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/games/naev/naev.SlackBuild b/games/naev/naev.SlackBuild index ca9511e73615..71443d42a89e 100644 --- a/games/naev/naev.SlackBuild +++ b/games/naev/naev.SlackBuild @@ -21,6 +21,8 @@ # see fit. Or as I see fit. Or as I fit. Although # that is unlikely, as I am rather tall. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=naev VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/nblood/nblood.SlackBuild b/games/nblood/nblood.SlackBuild index 5c96c047fc8a..d8024c49657e 100644 --- a/games/nblood/nblood.SlackBuild +++ b/games/nblood/nblood.SlackBuild @@ -13,6 +13,8 @@ # the shareware version from eduke32_shareware_data. I expect upstream # will finish the support for these at a later date... +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nblood VERSION=${VERSION:-1.01+20200428_069c52b26} BUILD=${BUILD:-1} @@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ncursesoflife/ncursesoflife.SlackBuild b/games/ncursesoflife/ncursesoflife.SlackBuild index 6703042a9214..fe28443a4509 100644 --- a/games/ncursesoflife/ncursesoflife.SlackBuild +++ b/games/ncursesoflife/ncursesoflife.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ncursesoflife VERSION=${VERSION:-20141006_0ceeca7} 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/games/nestopia/nestopia.SlackBuild b/games/nestopia/nestopia.SlackBuild index 3d9629202ff0..94c1315d10d1 100644 --- a/games/nestopia/nestopia.SlackBuild +++ b/games/nestopia/nestopia.SlackBuild @@ -5,6 +5,8 @@ # Written by Dugan Chen (thedoogster@gmail.com) # Editd by RuohShoei LIN +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nestopia LIBNAM=${PRGNAM}_libretro VERSION=${VERSION:-1.50} @@ -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/games/neverball/neverball.SlackBuild b/games/neverball/neverball.SlackBuild index edbbb7d60f28..17007089bf8c 100644 --- a/games/neverball/neverball.SlackBuild +++ b/games/neverball/neverball.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=neverball BONUS=neverputt VERSION=${VERSION:-1.6.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/games/nevernoid/nevernoid.SlackBuild b/games/nevernoid/nevernoid.SlackBuild index 04b93ace3bfa..c61a1855e1e8 100644 --- a/games/nevernoid/nevernoid.SlackBuild +++ b/games/nevernoid/nevernoid.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nevernoid VERSION=${VERSION:-1.2} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/nexuiz/nexuiz.SlackBuild b/games/nexuiz/nexuiz.SlackBuild index f6d8f8a008c4..56efdf14efa4 100644 --- a/games/nexuiz/nexuiz.SlackBuild +++ b/games/nexuiz/nexuiz.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=nexuiz VERSION=${VERSION:-2.5.2} 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/games/ninvaders/ninvaders.SlackBuild b/games/ninvaders/ninvaders.SlackBuild index fa9781d6b7e0..6991eeff5a5f 100644 --- a/games/ninvaders/ninvaders.SlackBuild +++ b/games/ninvaders/ninvaders.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ninvaders VERSION=${VERSION:-0.1.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/njam/njam.SlackBuild b/games/njam/njam.SlackBuild index a49c89e00299..a38ab77a31f0 100644 --- a/games/njam/njam.SlackBuild +++ b/games/njam/njam.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=njam VERSION=${VERSION:-1.25} 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/games/nlarn/nlarn.SlackBuild b/games/nlarn/nlarn.SlackBuild index e42b8c72df6c..76a32016bae1 100644 --- a/games/nlarn/nlarn.SlackBuild +++ b/games/nlarn/nlarn.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nlarn VERSION=${VERSION:-0.7.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/noteye/noteye.SlackBuild b/games/noteye/noteye.SlackBuild index 16bc37e53e58..d81715e6dfee 100644 --- a/games/noteye/noteye.SlackBuild +++ b/games/noteye/noteye.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=noteye VERSION=${VERSION:-7.6} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/notpacman/notpacman.SlackBuild b/games/notpacman/notpacman.SlackBuild index 8e181147b329..65749701d07c 100644 --- a/games/notpacman/notpacman.SlackBuild +++ b/games/notpacman/notpacman.SlackBuild @@ -13,6 +13,8 @@ # that the unzip command can handle zipfiles with extra junk like a shebang # at the beginning (it'll print a warning, is all). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=notpacman VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-2} @@ -21,7 +23,6 @@ TAG=${TAG:-_SBo} # *.love files are just zip files full of lua code, they're cross-platform ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/nottetris2/nottetris2.SlackBuild b/games/nottetris2/nottetris2.SlackBuild index 11b0c1dcd171..9cefb679d167 100644 --- a/games/nottetris2/nottetris2.SlackBuild +++ b/games/nottetris2/nottetris2.SlackBuild @@ -12,6 +12,8 @@ # VERSION is just the modification date of the .love file. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nottetris2 VERSION=${VERSION:-20110620} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/npush/npush.SlackBuild b/games/npush/npush.SlackBuild index d99ba634c108..eae609c8e6a6 100644 --- a/games/npush/npush.SlackBuild +++ b/games/npush/npush.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=npush VERSION=${VERSION:-0.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/games/nsudoku/nsudoku.SlackBuild b/games/nsudoku/nsudoku.SlackBuild index a0884ae89817..74e603f0613b 100644 --- a/games/nsudoku/nsudoku.SlackBuild +++ b/games/nsudoku/nsudoku.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=nsudoku VERSION=${VERSION:-1.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/games/nsuds/nsuds.SlackBuild b/games/nsuds/nsuds.SlackBuild index f6cb9a858528..ed68cbc1754a 100644 --- a/games/nsuds/nsuds.SlackBuild +++ b/games/nsuds/nsuds.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for nsuds # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nsuds VERSION=${VERSION:-0.7B} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/nuvie/nuvie.SlackBuild b/games/nuvie/nuvie.SlackBuild index 3a9e8b9683f6..e0d51d2e4796 100644 --- a/games/nuvie/nuvie.SlackBuild +++ b/games/nuvie/nuvie.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nuvie VERSION=${VERSION:-2018.01.13_1fa4044} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/o2em/o2em.SlackBuild b/games/o2em/o2em.SlackBuild index c0f7e6c9d265..40e9509cbef8 100644 --- a/games/o2em/o2em.SlackBuild +++ b/games/o2em/o2em.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=o2em VERSION=${VERSION:-1.18} 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/games/oblige-legacy4/oblige-legacy4.SlackBuild b/games/oblige-legacy4/oblige-legacy4.SlackBuild index 75adaf2bd6ef..562aee964d6e 100644 --- a/games/oblige-legacy4/oblige-legacy4.SlackBuild +++ b/games/oblige-legacy4/oblige-legacy4.SlackBuild @@ -21,6 +21,8 @@ # Rider for the bug report). Also get rid of +x permissions on the data files # in /usr/share. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=oblige-legacy4 VERSION=${VERSION:-4.28b} BUILD=${BUILD:-2} @@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild index 25534e690e7b..2ca2b49da16e 100644 --- a/games/oblige/oblige.SlackBuild +++ b/games/oblige/oblige.SlackBuild @@ -37,6 +37,8 @@ # Rider for the bug report). Also get rid of +x permissions on the data files # in /usr/share. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=oblige VERSION=${VERSION:-7.70} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild index 5bb4872f556c..dd0d7ff8737a 100644 --- a/games/odamex/odamex.SlackBuild +++ b/games/odamex/odamex.SlackBuild @@ -21,6 +21,8 @@ # - get rid of hard-coded /usr/share/games/doom, no longer needed # - include sample orasrv.cfg from 0.6.4 source (it's gone from 0.7.0) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=odamex VERSION=${VERSION:-0.8.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/games/onscripter/onscripter.SlackBuild b/games/onscripter/onscripter.SlackBuild index 2de965830394..f13160907a90 100644 --- a/games/onscripter/onscripter.SlackBuild +++ b/games/onscripter/onscripter.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=onscripter VERSION=${VERSION:-20200419} 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/games/oolite/oolite.SlackBuild b/games/oolite/oolite.SlackBuild index c8c1b4feb36e..a95c49f9a2f4 100644 --- a/games/oolite/oolite.SlackBuild +++ b/games/oolite/oolite.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=oolite VERSION=${VERSION:-1.90} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild index 450cf0a97b20..8bab9a32ec59 100644 --- a/games/open-adventure/open-adventure.SlackBuild +++ b/games/open-adventure/open-adventure.SlackBuild @@ -15,6 +15,8 @@ # - Include upstream's icon and .desktop. # - New dependencies in .info file :( +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=open-adventure VERSION=${VERSION:-1.9} BUILD=${BUILD:-1} @@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/openarena/openarena.SlackBuild b/games/openarena/openarena.SlackBuild index acc77d44f735..4b876038c036 100644 --- a/games/openarena/openarena.SlackBuild +++ b/games/openarena/openarena.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openarena VERSION=${VERSION:-0.8.8} SRC_VERSION=${SRC_VERSION:-0.8.8} # Keep this for future patches @@ -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/games/openclonk/openclonk.SlackBuild b/games/openclonk/openclonk.SlackBuild index 81c7ac8e778a..858dc4d784a3 100644 --- a/games/openclonk/openclonk.SlackBuild +++ b/games/openclonk/openclonk.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openclonk VERSION=${VERSION:-7.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/games/opendune/opendune.SlackBuild b/games/opendune/opendune.SlackBuild index aa71b861b3dd..c8bc70fd18dc 100644 --- a/games/opendune/opendune.SlackBuild +++ b/games/opendune/opendune.SlackBuild @@ -10,6 +10,8 @@ # 20170531 bkw: BUILD=2, fix build on x86 # 20170302 bkw: use long-format github URL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=opendune VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/openjazz/openjazz.SlackBuild b/games/openjazz/openjazz.SlackBuild index 312ea50b89f3..b88798983723 100644 --- a/games/openjazz/openjazz.SlackBuild +++ b/games/openjazz/openjazz.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openjazz VERSION=${VERSION:-160214} 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/games/openlierox/openlierox.SlackBuild b/games/openlierox/openlierox.SlackBuild index f5c71b7611a8..475917292651 100644 --- a/games/openlierox/openlierox.SlackBuild +++ b/games/openlierox/openlierox.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openlierox VERSION=${VERSION:-20170313_3825306} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/openmortal/openmortal.SlackBuild b/games/openmortal/openmortal.SlackBuild index b2b726d25f01..aa5cc3739b3f 100644 --- a/games/openmortal/openmortal.SlackBuild +++ b/games/openmortal/openmortal.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openmortal VERSION=${VERSION:-0.7} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/openmsx-catapult/openmsx-catapult.SlackBuild b/games/openmsx-catapult/openmsx-catapult.SlackBuild index 3bd55ab326ac..0e3472a15157 100644 --- a/games/openmsx-catapult/openmsx-catapult.SlackBuild +++ b/games/openmsx-catapult/openmsx-catapult.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=openmsx-catapult VERSION=${VERSION:-0.15.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/games/openmsx-debugger/openmsx-debugger.SlackBuild b/games/openmsx-debugger/openmsx-debugger.SlackBuild index 4572facf24c9..32ee44ea2f9a 100644 --- a/games/openmsx-debugger/openmsx-debugger.SlackBuild +++ b/games/openmsx-debugger/openmsx-debugger.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openmsx-debugger SRCNAM=debugger VERSION=${VERSION:-20181202} @@ -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/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild index 7497185b7d0c..5a330abf6ffa 100644 --- a/games/openmsx/openmsx.SlackBuild +++ b/games/openmsx/openmsx.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=openmsx VERSION=${VERSION:-0.15.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/games/openmw/openmw.SlackBuild b/games/openmw/openmw.SlackBuild index 9f67c6584d12..df92b08a4ea6 100644 --- a/games/openmw/openmw.SlackBuild +++ b/games/openmw/openmw.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openmw VERSION=${VERSION:-0.46.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/games/opensonic/opensonic.SlackBuild b/games/opensonic/opensonic.SlackBuild index d0de95ebc085..3d462d95ab59 100644 --- a/games/opensonic/opensonic.SlackBuild +++ b/games/opensonic/opensonic.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=opensonic SRCNAM=opensnc VERSION=${VERSION:-0.1.4} @@ -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/games/openspades/openspades.SlackBuild b/games/openspades/openspades.SlackBuild index 04cf2ee69025..d4f016f28f7e 100644 --- a/games/openspades/openspades.SlackBuild +++ b/games/openspades/openspades.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openspades VERSION=${VERSION:-0.1.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild index a1aaaf6f0354..28650b4ff655 100644 --- a/games/openttd/openttd.SlackBuild +++ b/games/openttd/openttd.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=openttd VERSION=${VERSION:-1.10.1} BUILD=${BUILD:-1} @@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/opentyrian/opentyrian.SlackBuild b/games/opentyrian/opentyrian.SlackBuild index 2e6a61120dba..3ce50a690333 100644 --- a/games/opentyrian/opentyrian.SlackBuild +++ b/games/opentyrian/opentyrian.SlackBuild @@ -8,6 +8,8 @@ # 20170620 bkw: fix compile on -current (still works fine on 14.2) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=opentyrian VERSION=${VERSION:-2.1.20130907} 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/games/openyahtzee/openyahtzee.SlackBuild b/games/openyahtzee/openyahtzee.SlackBuild index 48023556fb71..71d0460d2b31 100644 --- a/games/openyahtzee/openyahtzee.SlackBuild +++ b/games/openyahtzee/openyahtzee.SlackBuild @@ -11,6 +11,8 @@ # openyahtzee won't build against wx 3, so this script now uses the 2.x script # explicitly. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=openyahtzee VERSION=${VERSION:-1.9.3} BUILD=${BUILD:-1} @@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ostrichriders/ostrichriders.SlackBuild b/games/ostrichriders/ostrichriders.SlackBuild index d88cc13ac13f..70434cc71753 100644 --- a/games/ostrichriders/ostrichriders.SlackBuild +++ b/games/ostrichriders/ostrichriders.SlackBuild @@ -8,6 +8,8 @@ # 20191130 bkw: update for v0.6.5, update man page to add new -a option +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ostrichriders VERSION=${VERSION:-0.6.5} 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/games/pacman-arena/pacman-arena.SlackBuild b/games/pacman-arena/pacman-arena.SlackBuild index 10963c20ff3e..d906c5d1add0 100644 --- a/games/pacman-arena/pacman-arena.SlackBuild +++ b/games/pacman-arena/pacman-arena.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pacman-arena VERSION=${VERSION:-0.15} 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/games/pacman/pacman.SlackBuild b/games/pacman/pacman.SlackBuild index 7ee18f6a91eb..3f2289b0a4e7 100644 --- a/games/pacman/pacman.SlackBuild +++ b/games/pacman/pacman.SlackBuild @@ -32,6 +32,8 @@ # 20180924 azure: # - add NUMJOBS on 'make'. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pacman VERSION=${VERSION:-0.9} BUILD=${BUILD:-2} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pangzero/pangzero.SlackBuild b/games/pangzero/pangzero.SlackBuild index c5ce31b93f6a..363bc41189f3 100644 --- a/games/pangzero/pangzero.SlackBuild +++ b/games/pangzero/pangzero.SlackBuild @@ -12,6 +12,8 @@ # patches. Note that DEBREV specifies the Debian revision number (i.e. the # last component of the name of the .debian.tar.xz file). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pangzero VERSION=${VERSION:-1.4.1+git20121103} DEBREV=${DEBREV:-3} @@ -20,7 +22,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pasang-emas/pasang-emas.SlackBuild b/games/pasang-emas/pasang-emas.SlackBuild index 1deee7bd4666..6a8425950585 100644 --- a/games/pasang-emas/pasang-emas.SlackBuild +++ b/games/pasang-emas/pasang-emas.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pasang-emas VERSION=${VERSION:-5.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/games/pcgen/pcgen.SlackBuild b/games/pcgen/pcgen.SlackBuild index 4e46a663a4ce..eafe288ec492 100644 --- a/games/pcgen/pcgen.SlackBuild +++ b/games/pcgen/pcgen.SlackBuild @@ -8,6 +8,8 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pcgen VERSION=${VERSION:-"6.06.01"} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ TAG=${TAG:-_SBo} ARCH="noarch" -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild index af1a35ab56a5..22b9ca295b56 100644 --- a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild +++ b/games/pcsx-rearmed/pcsx-rearmed.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=pcsx-rearmed LIBNAM=pcsx_rearmed_libretro VERSION=${VERSION:-2020.10.11_19b9695} @@ -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/games/pcsx2/pcsx2.SlackBuild b/games/pcsx2/pcsx2.SlackBuild index cc59e68095a5..515dbea6d20a 100644 --- a/games/pcsx2/pcsx2.SlackBuild +++ b/games/pcsx2/pcsx2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pcsx2 VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pcsxr/pcsxr.SlackBuild b/games/pcsxr/pcsxr.SlackBuild index e61a53eade0c..99a9cf4f1fa2 100644 --- a/games/pcsxr/pcsxr.SlackBuild +++ b/games/pcsxr/pcsxr.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pcsxr SRCNAM=PCSX-Reloaded VERSION=${VERSION:-1.9.95} @@ -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/games/peg-e/peg-e.SlackBuild b/games/peg-e/peg-e.SlackBuild index a6ee8fe6f326..2f652efaf457 100644 --- a/games/peg-e/peg-e.SlackBuild +++ b/games/peg-e/peg-e.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=peg-e VERSION=${VERSION:-1.2.8} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/penguin-command/penguin-command.SlackBuild b/games/penguin-command/penguin-command.SlackBuild index 3ff04d8c7652..9a94cd825907 100644 --- a/games/penguin-command/penguin-command.SlackBuild +++ b/games/penguin-command/penguin-command.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=penguin-command VERSION=${VERSION:-1.6.11} 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/games/pengupop/pengupop.SlackBuild b/games/pengupop/pengupop.SlackBuild index 8a4648c227b6..18c4c2e6815d 100644 --- a/games/pengupop/pengupop.SlackBuild +++ b/games/pengupop/pengupop.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pengupop VERSION=${VERSION:-2.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/games/pentagram/pentagram.SlackBuild b/games/pentagram/pentagram.SlackBuild index c8c28cecc16f..5395bc6d6d24 100644 --- a/games/pentagram/pentagram.SlackBuild +++ b/games/pentagram/pentagram.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pentagram VERSION=${VERSION:-20130617_svn} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pinball/pinball.SlackBuild b/games/pinball/pinball.SlackBuild index 47240ea5f790..3b9edb7caa8d 100644 --- a/games/pinball/pinball.SlackBuild +++ b/games/pinball/pinball.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pinball VERSION=${VERSION:-0.3.4} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pingus/pingus.SlackBuild b/games/pingus/pingus.SlackBuild index 6cb0929400a5..0c88107cea7e 100644 --- a/games/pingus/pingus.SlackBuild +++ b/games/pingus/pingus.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pingus VERSION=${VERSION:-0.7.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/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index 92db38bb9545..3f9318f4ae12 100644 --- a/games/pioneer/pioneer.SlackBuild +++ b/games/pioneer/pioneer.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pioneer SRCNAM=$(printf %s $PRGNAM | tr [a-z] [A-Z]) VERSION=${VERSION:-20191117} @@ -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/games/pipewalker/pipewalker.SlackBuild b/games/pipewalker/pipewalker.SlackBuild index 58f89373ebd5..b5ef239b09b5 100644 --- a/games/pipewalker/pipewalker.SlackBuild +++ b/games/pipewalker/pipewalker.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pipewalker VERSION=${VERSION:-0.9.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/games/planetblupi/planetblupi.SlackBuild b/games/planetblupi/planetblupi.SlackBuild index b12ce85d7e79..59d7f160a10c 100644 --- a/games/planetblupi/planetblupi.SlackBuild +++ b/games/planetblupi/planetblupi.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=planetblupi VERSION=${VERSION:-1.14.2} 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/games/playonlinux/playonlinux.SlackBuild b/games/playonlinux/playonlinux.SlackBuild index 8b951abf1f1e..5380208f53f2 100644 --- a/games/playonlinux/playonlinux.SlackBuild +++ b/games/playonlinux/playonlinux.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=playonlinux VERSION=${VERSION:-4.2.10} BUILD=${BUILD:-1} @@ -30,7 +32,6 @@ TAG=${TAG:-_SBo} # It's all python and all in /usr/share (/usr/bin/playonlinux is a script) ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pokerth/pokerth.SlackBuild b/games/pokerth/pokerth.SlackBuild index 43896762a36c..38f693c50c75 100644 --- a/games/pokerth/pokerth.SlackBuild +++ b/games/pokerth/pokerth.SlackBuild @@ -26,6 +26,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pokerth VERSION=${VERSION:-20200721_a333185} 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/games/pom1/pom1.SlackBuild b/games/pom1/pom1.SlackBuild index 15f3300d2b8a..737ca33222ff 100644 --- a/games/pom1/pom1.SlackBuild +++ b/games/pom1/pom1.SlackBuild @@ -7,6 +7,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ # for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pom1 VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/powerslave_demo_data/powerslave_demo_data.SlackBuild b/games/powerslave_demo_data/powerslave_demo_data.SlackBuild index d18e66ac6b6d..769da3cecd3a 100644 --- a/games/powerslave_demo_data/powerslave_demo_data.SlackBuild +++ b/games/powerslave_demo_data/powerslave_demo_data.SlackBuild @@ -11,6 +11,8 @@ # VERSION is the date of the newest file in the zip (PS.EXE) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=powerslave_demo_data VERSION=${VERSION:-19961212} BUILD=${BUILD:-1} @@ -18,7 +20,6 @@ TAG=${TAG:-_SBo} ARCH=noarch SRCNAM=pwrslave -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ppsspp/ppsspp.SlackBuild b/games/ppsspp/ppsspp.SlackBuild index add3dbc5845f..91cb4f342ce2 100644 --- a/games/ppsspp/ppsspp.SlackBuild +++ b/games/ppsspp/ppsspp.SlackBuild @@ -29,6 +29,8 @@ # with. If the Content-Disposition header is honored (e.g. files # downloaded with a web browser), this build failed. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ppsspp VERSION=${VERSION:-1.10.3} BUILD=${BUILD:-1} @@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/prboom-plus/prboom-plus.SlackBuild b/games/prboom-plus/prboom-plus.SlackBuild index fc76fccc9bc6..88b10041e58e 100644 --- a/games/prboom-plus/prboom-plus.SlackBuild +++ b/games/prboom-plus/prboom-plus.SlackBuild @@ -23,6 +23,8 @@ # - install desktop, icon, bash completion # - game binaries in /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=prboom-plus VERSION=${VERSION:-2.6um} 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/games/prboom/prboom.SlackBuild b/games/prboom/prboom.SlackBuild index b526501286c9..4a01a2ba3200 100644 --- a/games/prboom/prboom.SlackBuild +++ b/games/prboom/prboom.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=prboom VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/puNES/puNES.SlackBuild b/games/puNES/puNES.SlackBuild index 30940ca354e6..8f30828cfd08 100644 --- a/games/puNES/puNES.SlackBuild +++ b/games/puNES/puNES.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=puNES VERSION=${VERSION:-0.106} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pushover/pushover.SlackBuild b/games/pushover/pushover.SlackBuild index 1fda944d4d2f..ffc59e416039 100644 --- a/games/pushover/pushover.SlackBuild +++ b/games/pushover/pushover.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pushover VERSION=${VERSION:-0.0.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/puzzles/puzzles.SlackBuild b/games/puzzles/puzzles.SlackBuild index e417ee5cdf49..f2885bab8dce 100644 --- a/games/puzzles/puzzles.SlackBuild +++ b/games/puzzles/puzzles.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for puzzles # Written by Steve Pledger <spledger91@yahoo.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=puzzles VERSION=${VERSION:-r10060} 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/games/pybik/pybik.SlackBuild b/games/pybik/pybik.SlackBuild index e368cfe2639d..24835bfe2a70 100644 --- a/games/pybik/pybik.SlackBuild +++ b/games/pybik/pybik.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pybik VERSION=${VERSION:-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/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild index 135015510823..fdbc0650317b 100644 --- a/games/pychess/pychess.SlackBuild +++ b/games/pychess/pychess.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pychess VERSION=${VERSION:-0.12.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/pysolfc-extra-cardsets/pysolfc-extra-cardsets.SlackBuild b/games/pysolfc-extra-cardsets/pysolfc-extra-cardsets.SlackBuild index 489ca58aa449..c7b9e29f4f5c 100644 --- a/games/pysolfc-extra-cardsets/pysolfc-extra-cardsets.SlackBuild +++ b/games/pysolfc-extra-cardsets/pysolfc-extra-cardsets.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pysolfc-extra-cardsets SRCNAM=PySolFC-Cardsets VERSION=${VERSION:-2.0} @@ -13,7 +15,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/games/pysolfc/pysolfc.SlackBuild b/games/pysolfc/pysolfc.SlackBuild index bc8b812f1e21..c2fc2c717f96 100644 --- a/games/pysolfc/pysolfc.SlackBuild +++ b/games/pysolfc/pysolfc.SlackBuild @@ -43,6 +43,8 @@ # - Update README and slack-desc. SRCNAM=PySolFC +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pysolfc VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-2} @@ -59,7 +61,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qmc2/qmc2.SlackBuild b/games/qmc2/qmc2.SlackBuild index 7efac814d793..3a7cc2b2bba9 100644 --- a/games/qmc2/qmc2.SlackBuild +++ b/games/qmc2/qmc2.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qmc2 VERSION=${VERSION:-0.195} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qtads/qtads.SlackBuild b/games/qtads/qtads.SlackBuild index 4961422a440b..55a8b5394ba6 100644 --- a/games/qtads/qtads.SlackBuild +++ b/games/qtads/qtads.SlackBuild @@ -10,6 +10,8 @@ # release, so qt5 is now a hard dep. SDL2_sound is no longer needed, but # it's replaced with fluidsynth. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qtads VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qtsixa/qtsixa.SlackBuild b/games/qtsixa/qtsixa.SlackBuild index cfd0c2194a4f..0c80290e569c 100644 --- a/games/qtsixa/qtsixa.SlackBuild +++ b/games/qtsixa/qtsixa.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=qtsixa VERSION=${VERSION:-1.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/games/quake3_shareware_data/quake3_shareware_data.SlackBuild b/games/quake3_shareware_data/quake3_shareware_data.SlackBuild index f91133a5758d..1602754e35ec 100644 --- a/games/quake3_shareware_data/quake3_shareware_data.SlackBuild +++ b/games/quake3_shareware_data/quake3_shareware_data.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=quake3_shareware_data SRCNAM=linuxq3ademo VERSION=${VERSION:-1.11.6} @@ -32,7 +34,6 @@ TAG=${TAG:-_SBo} SRCARCH=x86 ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/quake_shareware_data/quake_shareware_data.SlackBuild b/games/quake_shareware_data/quake_shareware_data.SlackBuild index 8feb6db47fa2..9f652a3acd3d 100644 --- a/games/quake_shareware_data/quake_shareware_data.SlackBuild +++ b/games/quake_shareware_data/quake_shareware_data.SlackBuild @@ -4,6 +4,8 @@ # Written by M.Dinslage +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=quake_shareware_data VERSION=${VERSION:-1.06} 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/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild index 686c74bc2756..e409f8582df6 100644 --- a/games/quakeforge/quakeforge.SlackBuild +++ b/games/quakeforge/quakeforge.SlackBuild @@ -2,6 +2,8 @@ # Brad Hermanson <apeitheo@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=quakeforge VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-2} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/quakespasm/quakespasm.SlackBuild b/games/quakespasm/quakespasm.SlackBuild index c2d3f0c141bf..1a9a3c7eeec7 100644 --- a/games/quakespasm/quakespasm.SlackBuild +++ b/games/quakespasm/quakespasm.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=quakespasm VERSION=${VERSION:-0.93.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/games/quarry/quarry.SlackBuild b/games/quarry/quarry.SlackBuild index 89639ba14612..442de26839f6 100644 --- a/games/quarry/quarry.SlackBuild +++ b/games/quarry/quarry.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=quarry VERSION=${VERSION:-0.3.0.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qxw/qxw.SlackBuild b/games/qxw/qxw.SlackBuild index 9885ffa4deaf..6be5af756a19 100644 --- a/games/qxw/qxw.SlackBuild +++ b/games/qxw/qxw.SlackBuild @@ -4,6 +4,8 @@ # Written by Nick Warne <warne.nick@gmail.com> # Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qxw VERSION=${VERSION:-20200708} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qzdl/qzdl.SlackBuild b/games/qzdl/qzdl.SlackBuild index acf681bcfcd1..c98280c9ad01 100644 --- a/games/qzdl/qzdl.SlackBuild +++ b/games/qzdl/qzdl.SlackBuild @@ -32,6 +32,8 @@ # - symlink icon to /usr/share/icons # - various tweaks +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qzdl VERSION=${VERSION:-3.2.2.3} BUILD=${BUILD:-2} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/qzdoom/qzdoom.SlackBuild b/games/qzdoom/qzdoom.SlackBuild index 8239a75c5ec1..671d33bcc5ec 100644 --- a/games/qzdoom/qzdoom.SlackBuild +++ b/games/qzdoom/qzdoom.SlackBuild @@ -30,6 +30,8 @@ # TL;DR: Please don't email me saying there's a new release unless the # version number starts with "q". +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=qzdoom VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-2} @@ -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/games/redeclipse/redeclipse.SlackBuild b/games/redeclipse/redeclipse.SlackBuild index 8841037ad6c2..8c04423a583b 100644 --- a/games/redeclipse/redeclipse.SlackBuild +++ b/games/redeclipse/redeclipse.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=redeclipse VERSION=${VERSION:-2.0.0} SRCNAM=base @@ -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/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild index 8f0c442f6700..0ed007d1720d 100644 --- a/games/rejoystick/rejoystick.SlackBuild +++ b/games/rejoystick/rejoystick.SlackBuild @@ -4,6 +4,8 @@ # Written by Steven Pledger <linux.propane@yahoo.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rejoystick VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-3} @@ -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/games/residualvm/residualvm.SlackBuild b/games/residualvm/residualvm.SlackBuild index caaa5dc53ed0..efbccfd8084f 100644 --- a/games/residualvm/residualvm.SlackBuild +++ b/games/residualvm/residualvm.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=residualvm 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/games/retux/retux.SlackBuild b/games/retux/retux.SlackBuild index 9a64744e37c6..1636ea249e1b 100644 --- a/games/retux/retux.SlackBuild +++ b/games/retux/retux.SlackBuild @@ -16,6 +16,8 @@ # 20180217 bkw: # Updated for v1.3.5. Added new (undocumented!) pathlib dependency. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=retux VERSION=${VERSION:-1.3.5} BUILD=${BUILD:-1} @@ -23,7 +25,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/rezerwar/rezerwar.SlackBuild b/games/rezerwar/rezerwar.SlackBuild index ac79a90f87e3..b277825d1bd7 100644 --- a/games/rezerwar/rezerwar.SlackBuild +++ b/games/rezerwar/rezerwar.SlackBuild @@ -4,12 +4,13 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rezerwar VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/rlvm/rlvm.SlackBuild b/games/rlvm/rlvm.SlackBuild index 1d9fa5f2b060..d946a2427169 100644 --- a/games/rlvm/rlvm.SlackBuild +++ b/games/rlvm/rlvm.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="rlvm" VERSION=${VERSION:-0.14} 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/games/roadfighter/roadfighter.SlackBuild b/games/roadfighter/roadfighter.SlackBuild index 89beec92ddfd..a2d3c6b9bd98 100644 --- a/games/roadfighter/roadfighter.SlackBuild +++ b/games/roadfighter/roadfighter.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=roadfighter VERSION=${VERSION:-1.0.1269} 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/games/robotfindskitten/robotfindskitten.SlackBuild b/games/robotfindskitten/robotfindskitten.SlackBuild index 9b7c233ffb54..ae0990632309 100644 --- a/games/robotfindskitten/robotfindskitten.SlackBuild +++ b/games/robotfindskitten/robotfindskitten.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=robotfindskitten VERSION=${VERSION:-2.7182818.701} 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/games/roccat-tools/roccat-tools.SlackBuild b/games/roccat-tools/roccat-tools.SlackBuild index 40ad0e77449e..aeb3ce4f1f48 100644 --- a/games/roccat-tools/roccat-tools.SlackBuild +++ b/games/roccat-tools/roccat-tools.SlackBuild @@ -28,6 +28,8 @@ # - i486 => i586. # - use getent to check for group existence, instead of grepping /etc/group. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=roccat-tools VERSION=${VERSION:-5.9.0} BUILD=${BUILD:-1} @@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/rocksndiamonds/rocksndiamonds.SlackBuild b/games/rocksndiamonds/rocksndiamonds.SlackBuild index 939649b99fa3..40b550cd015c 100644 --- a/games/rocksndiamonds/rocksndiamonds.SlackBuild +++ b/games/rocksndiamonds/rocksndiamonds.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rocksndiamonds VERSION=${VERSION:-3.3.0.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/rogue/rogue.SlackBuild b/games/rogue/rogue.SlackBuild index aae5d745349a..b3c3f3881342 100644 --- a/games/rogue/rogue.SlackBuild +++ b/games/rogue/rogue.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rogue VERSION=${VERSION:-5.4.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/games/roll/roll.SlackBuild b/games/roll/roll.SlackBuild index 4953ff21d759..72d75d4c1221 100644 --- a/games/roll/roll.SlackBuild +++ b/games/roll/roll.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=roll VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/rott/rott.SlackBuild b/games/rott/rott.SlackBuild index 37c9b63d9ce2..82b61731f085 100644 --- a/games/rott/rott.SlackBuild +++ b/games/rott/rott.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rott 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/games/sauerbraten/sauerbraten.SlackBuild b/games/sauerbraten/sauerbraten.SlackBuild index b7129e1d09a4..cc40fff214a2 100644 --- a/games/sauerbraten/sauerbraten.SlackBuild +++ b/games/sauerbraten/sauerbraten.SlackBuild @@ -11,6 +11,8 @@ # 2.0 23-JUN-2013 new version, script clean up. # +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sauerbraten VERSION=${VERSION:-2013_02_03} BUILD=${BUILD:-1} @@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild index fc2e9ce9c174..462c1267af4e 100644 --- a/games/scid/scid.SlackBuild +++ b/games/scid/scid.SlackBuild @@ -7,6 +7,8 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=scid VERSION=${VERSION:-4.3} BUILD=${BUILD:-1} @@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/scid_vs_pc/scid_vs_pc.SlackBuild b/games/scid_vs_pc/scid_vs_pc.SlackBuild index 21a73edd2789..9fd15be38f21 100644 --- a/games/scid_vs_pc/scid_vs_pc.SlackBuild +++ b/games/scid_vs_pc/scid_vs_pc.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=scid_vs_pc VERSION=${VERSION:-4.21} 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/games/scribble/scribble.SlackBuild b/games/scribble/scribble.SlackBuild index b12a3174659a..b4edfb9ad86e 100644 --- a/games/scribble/scribble.SlackBuild +++ b/games/scribble/scribble.SlackBuild @@ -2,6 +2,8 @@ # Maintained by Gwenhael Le Moine <gwenhael.le.moine@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=scribble VERSION=${VERSION:-1.11_1} BUILD=${BUILD:-1} @@ -11,7 +13,6 @@ ARCH=noarch SRCVERS=$(printf $VERSION | tr _ -) -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild index 0d4ff135c4bb..967c0b2f2a9d 100644 --- a/games/scummvm/scummvm.SlackBuild +++ b/games/scummvm/scummvm.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=scummvm VERSION=${VERSION:-2.1.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/games/sdlpop/sdlpop.SlackBuild b/games/sdlpop/sdlpop.SlackBuild index 1e75806099f4..181e70e9a1b4 100644 --- a/games/sdlpop/sdlpop.SlackBuild +++ b/games/sdlpop/sdlpop.SlackBuild @@ -17,6 +17,8 @@ # - update man page (new 1.17 options). # - update wrapper script to support both system-wide and per-user mods. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sdlpop VERSION=${VERSION:-1.21} 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/games/simplesok/simplesok.SlackBuild b/games/simplesok/simplesok.SlackBuild index a9dff6a97015..eafb44cc5114 100644 --- a/games/simplesok/simplesok.SlackBuild +++ b/games/simplesok/simplesok.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=simplesok VERSION=${VERSION:-1.0.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/simsu/simsu.SlackBuild b/games/simsu/simsu.SlackBuild index e258120adf68..1dd688a52f51 100644 --- a/games/simsu/simsu.SlackBuild +++ b/games/simsu/simsu.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=simsu VERSION=${VERSION:-1.2.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/games/singularity/singularity.SlackBuild b/games/singularity/singularity.SlackBuild index c57e452ea24c..49adc554ba8a 100644 --- a/games/singularity/singularity.SlackBuild +++ b/games/singularity/singularity.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=singularity VERSION=${VERSION:-1.7.3.3624} 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/games/skulltag/skulltag.SlackBuild b/games/skulltag/skulltag.SlackBuild index 8eeb98aeac84..524003812be4 100644 --- a/games/skulltag/skulltag.SlackBuild +++ b/games/skulltag/skulltag.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=skulltag VERSION=${VERSION:-098d} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/sl/sl.SlackBuild b/games/sl/sl.SlackBuild index 955f384610de..226b1b786efb 100644 --- a/games/sl/sl.SlackBuild +++ b/games/sl/sl.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=sl VERSION=${VERSION:-5.02} 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/games/smashbattle/smashbattle.SlackBuild b/games/smashbattle/smashbattle.SlackBuild index b6cf6681a83b..7fe51f7df904 100644 --- a/games/smashbattle/smashbattle.SlackBuild +++ b/games/smashbattle/smashbattle.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=smashbattle VERSION=${VERSION:-110224} 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/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild index 83412f9d3621..3cc2aec06d71 100644 --- a/games/smc/smc.SlackBuild +++ b/games/smc/smc.SlackBuild @@ -25,6 +25,8 @@ # - remove original author's email # - add WTFPL license +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=smc VERSION=${VERSION:-20140328} 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/games/smokinguns/smokinguns.SlackBuild b/games/smokinguns/smokinguns.SlackBuild index e825cd12f10a..c34bfc41fd2b 100644 --- a/games/smokinguns/smokinguns.SlackBuild +++ b/games/smokinguns/smokinguns.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=smokinguns VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -29,7 +31,6 @@ TAG=${TAG:-_SBo} ARCH=i386 # i386 binary only -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/sms_sdl/sms_sdl.SlackBuild b/games/sms_sdl/sms_sdl.SlackBuild index 2c79f0321591..c56e0ab1106b 100644 --- a/games/sms_sdl/sms_sdl.SlackBuild +++ b/games/sms_sdl/sms_sdl.SlackBuild @@ -20,6 +20,8 @@ # of including our own custom mime types. Since Slackware already has # this mime type, get rid of the option to disable mime. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sms_sdl VERSION=${VERSION:-0.9.4a_r7.1} BUILD=${BUILD:-4} @@ -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/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild index 8e320e51c114..e548b12a9c56 100644 --- a/games/snes9x/snes9x.SlackBuild +++ b/games/snes9x/snes9x.SlackBuild @@ -56,6 +56,8 @@ # 20161015 bkw: update for 1.54.1. script has changed enough that it # can't build 1.53 any more. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=snes9x VERSION=${VERSION:-1.60} BUILD=${BUILD:-1} @@ -69,7 +71,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/snes9x2010/snes9x2010.SlackBuild b/games/snes9x2010/snes9x2010.SlackBuild index ce0f0438e2c2..190f53fc8921 100644 --- a/games/snes9x2010/snes9x2010.SlackBuild +++ b/games/snes9x2010/snes9x2010.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=snes9x2010 LIBNAM=${PRGNAM}_libretro VERSION=${VERSION:-2020.05.18_187e2b5} @@ -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/games/sokowiz/sokowiz.SlackBuild b/games/sokowiz/sokowiz.SlackBuild index ffdc1af14e35..8a37ce457ca5 100644 --- a/games/sokowiz/sokowiz.SlackBuild +++ b/games/sokowiz/sokowiz.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sokowiz VERSION=${VERSION:-0.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/games/solarus-quest-editor/solarus-quest-editor.SlackBuild b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild index 54a41d0862f0..59ad5ca9655a 100644 --- a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild +++ b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=solarus-quest-editor VERSION=${VERSION:-1.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/games/solarus/solarus.SlackBuild b/games/solarus/solarus.SlackBuild index 07af80d8b007..1a990adec71a 100644 --- a/games/solarus/solarus.SlackBuild +++ b/games/solarus/solarus.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=solarus VERSION=${VERSION:-1.6.4} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/solarwolf/solarwolf.SlackBuild b/games/solarwolf/solarwolf.SlackBuild index f030214d2a9a..94748460ece9 100644 --- a/games/solarwolf/solarwolf.SlackBuild +++ b/games/solarwolf/solarwolf.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=solarwolf VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild index ea473c0625c4..5829afaeaca8 100644 --- a/games/speed-dreams/speed-dreams.SlackBuild +++ b/games/speed-dreams/speed-dreams.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for the game Speed Dreams # written by powtrix (@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=speed-dreams VERSION=${VERSION:-2.2.2_r6553} 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/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild index b5c65658b0c9..f2875f900b20 100644 --- a/games/spring/spring.SlackBuild +++ b/games/spring/spring.SlackBuild @@ -26,12 +26,13 @@ # # +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=spring VERSION=${VERSION:-104.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/srb2/srb2.SlackBuild b/games/srb2/srb2.SlackBuild index 336fb4038a13..0e87728e5ec5 100644 --- a/games/srb2/srb2.SlackBuild +++ b/games/srb2/srb2.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=srb2 VERSION=${VERSION:-2.2.8} 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/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild index 26f8edd4591b..e302e48d4ef0 100644 --- a/games/starfighter/starfighter.SlackBuild +++ b/games/starfighter/starfighter.SlackBuild @@ -22,6 +22,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=starfighter VERSION=${VERSION:-2.4} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/steam/steam.SlackBuild b/games/steam/steam.SlackBuild index d097cd1d1d6f..7fb696a510fd 100644 --- a/games/steam/steam.SlackBuild +++ b/games/steam/steam.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=steam VERSION=${VERSION:-1.0.0.70} 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/games/steem/steem.SlackBuild b/games/steem/steem.SlackBuild index 6a2a9562a11f..152ceaaae41f 100644 --- a/games/steem/steem.SlackBuild +++ b/games/steem/steem.SlackBuild @@ -21,6 +21,8 @@ # steem for linux. Will be working on building the open source # steem in the near future. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=steem VERSION=${VERSION:-3.2} BUILD=${BUILD:-3} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild index 2bbcbdc9259e..ed59d685bc65 100644 --- a/games/stella/stella.SlackBuild +++ b/games/stella/stella.SlackBuild @@ -50,6 +50,8 @@ # - add MIME type for .a26 # - StartupNotify=false in .desktop +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stella VERSION=${VERSION:-6.4} BUILD=${BUILD:-1} @@ -63,7 +65,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/stockfish/stockfish.SlackBuild b/games/stockfish/stockfish.SlackBuild index 14c364b10de2..21b643cb5e04 100644 --- a/games/stockfish/stockfish.SlackBuild +++ b/games/stockfish/stockfish.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stockfish VERSION=${VERSION:-11} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/stone_soup/stone_soup.SlackBuild b/games/stone_soup/stone_soup.SlackBuild index 17d2394a4e8b..d8cc62f0865b 100644 --- a/games/stone_soup/stone_soup.SlackBuild +++ b/games/stone_soup/stone_soup.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stone_soup VERSION=${VERSION:-0.26.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/games/stormbaancoureur/stormbaancoureur.SlackBuild b/games/stormbaancoureur/stormbaancoureur.SlackBuild index 1cf0d1ca6cfa..004d6befa33f 100644 --- a/games/stormbaancoureur/stormbaancoureur.SlackBuild +++ b/games/stormbaancoureur/stormbaancoureur.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stormbaancoureur VERSION=${VERSION:-2.1.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/games/stratagus/stratagus.SlackBuild b/games/stratagus/stratagus.SlackBuild index 1adce22ec379..94f515513fc8 100644 --- a/games/stratagus/stratagus.SlackBuild +++ b/games/stratagus/stratagus.SlackBuild @@ -27,6 +27,8 @@ # 20180915 bkw: updated for v2.4.1 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stratagus VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/stuntrally/stuntrally.SlackBuild b/games/stuntrally/stuntrally.SlackBuild index 73039d39bb19..f1f11610a78c 100644 --- a/games/stuntrally/stuntrally.SlackBuild +++ b/games/stuntrally/stuntrally.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=stuntrally SRCNAM=StuntRally VERSION=${VERSION:-2.6} @@ -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/games/sumeria/sumeria.SlackBuild b/games/sumeria/sumeria.SlackBuild index 0148af053a43..8a3029939419 100644 --- a/games/sumeria/sumeria.SlackBuild +++ b/games/sumeria/sumeria.SlackBuild @@ -8,6 +8,8 @@ # VERSION came from the server timestamp of the source file. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sumeria VERSION=${VERSION:-20020219} 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/games/sumwars/sumwars.SlackBuild b/games/sumwars/sumwars.SlackBuild index 1c754e6256aa..b3f47fde0914 100644 --- a/games/sumwars/sumwars.SlackBuild +++ b/games/sumwars/sumwars.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sumwars VERSION=${VERSION:-0.5.8} SRCVERSION=$VERSION-src @@ -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/games/supermariowar/supermariowar.SlackBuild b/games/supermariowar/supermariowar.SlackBuild index 6f9c5aefc2bf..2a551d28cb11 100644 --- a/games/supermariowar/supermariowar.SlackBuild +++ b/games/supermariowar/supermariowar.SlackBuild @@ -8,6 +8,8 @@ # 20170302 bkw: use long-format github URL +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=supermariowar VERSION=${VERSION:-2.0beta1.1} BUILD=${BUILD:-1} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild index dbaaf7309bb0..02e49141bdfd 100644 --- a/games/supertux/supertux.SlackBuild +++ b/games/supertux/supertux.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=supertux VERSION=${VERSION:-0.6.2_rc.1} SRCVERSION=$(echo $VERSION | tr _ - ) @@ -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/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild index 92b1b5ae6974..aca5d1d69aa3 100644 --- a/games/supertuxkart/supertuxkart.SlackBuild +++ b/games/supertuxkart/supertuxkart.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=supertuxkart SRCNAM=SuperTuxKart VERSION=${VERSION:-1.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/games/syobonaction/syobonaction.SlackBuild b/games/syobonaction/syobonaction.SlackBuild index 13f655fca510..480569813411 100644 --- a/games/syobonaction/syobonaction.SlackBuild +++ b/games/syobonaction/syobonaction.SlackBuild @@ -9,6 +9,8 @@ # The source is hosted on my server to avoid the JS-laden download page # on codeplex. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=syobonaction VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/taipan/taipan.SlackBuild b/games/taipan/taipan.SlackBuild index 7ff54bb4bd6b..bd6427725864 100644 --- a/games/taipan/taipan.SlackBuild +++ b/games/taipan/taipan.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=taipan VERSION=${VERSION:-0.9} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/talkfilters/talkfilters.SlackBuild b/games/talkfilters/talkfilters.SlackBuild index 25d6274b5dd8..94d44705f2c3 100644 --- a/games/talkfilters/talkfilters.SlackBuild +++ b/games/talkfilters/talkfilters.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for talkfilters # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=talkfilters VERSION=${VERSION:-2.3.8} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/tanglet/tanglet.SlackBuild b/games/tanglet/tanglet.SlackBuild index fed2d76628d9..1f77e60bfcde 100644 --- a/games/tanglet/tanglet.SlackBuild +++ b/games/tanglet/tanglet.SlackBuild @@ -27,6 +27,8 @@ # Build script for tanglet +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tanglet VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} @@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/tbftss/tbftss.SlackBuild b/games/tbftss/tbftss.SlackBuild index 12505a1ef056..3a2348e611d6 100644 --- a/games/tbftss/tbftss.SlackBuild +++ b/games/tbftss/tbftss.SlackBuild @@ -10,6 +10,8 @@ # doc location still changed to support slackware prefered location # 28/11/2019 update to 1.5.1 and fixes due to change in packaging of source +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tbftss VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-2} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/teeworlds/teeworlds.SlackBuild b/games/teeworlds/teeworlds.SlackBuild index 65657482bd48..1930f7e2e570 100644 --- a/games/teeworlds/teeworlds.SlackBuild +++ b/games/teeworlds/teeworlds.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=teeworlds VERSION=${VERSION:-0.7.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/games/term2048/term2048.SlackBuild b/games/term2048/term2048.SlackBuild index d2550a84de38..db961d671b9c 100644 --- a/games/term2048/term2048.SlackBuild +++ b/games/term2048/term2048.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=term2048 VERSION=${VERSION:-0.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/games/tintin/tintin.SlackBuild b/games/tintin/tintin.SlackBuild index 72a73f10d8db..9ef4e96d178b 100644 --- a/games/tintin/tintin.SlackBuild +++ b/games/tintin/tintin.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=tintin VERSION=${VERSION:-2.01.1} 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/games/tome-ah/tome-ah.SlackBuild b/games/tome-ah/tome-ah.SlackBuild index 3c578306c57e..3a986ec2fb8a 100644 --- a/games/tome-ah/tome-ah.SlackBuild +++ b/games/tome-ah/tome-ah.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tome-ah VERSION=${VERSION:-2.3.11_ah} 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/games/tome-sx/tome-sx.SlackBuild b/games/tome-sx/tome-sx.SlackBuild index fd67688a368b..87d40a15f077 100644 --- a/games/tome-sx/tome-sx.SlackBuild +++ b/games/tome-sx/tome-sx.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tome-sx VERSION=${VERSION:-20160915_c1fe5a0} 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/games/tome/tome.SlackBuild b/games/tome/tome.SlackBuild index b06afc32b42c..6bd1ee7f97f4 100644 --- a/games/tome/tome.SlackBuild +++ b/games/tome/tome.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tome SRCNAM=t-engine4-src VERSION=${VERSION:-1.5.10} @@ -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/games/tong/tong.SlackBuild b/games/tong/tong.SlackBuild index 858be7b71c66..fe643aaa6dc1 100644 --- a/games/tong/tong.SlackBuild +++ b/games/tong/tong.SlackBuild @@ -5,6 +5,8 @@ # Slackware build script for tong # Written by Owen Swerkstrom <owenswerk@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tong VERSION=${VERSION:-1.3} 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/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild index 568dd86c9da4..0b59ca219af3 100644 --- a/games/torcs/torcs.SlackBuild +++ b/games/torcs/torcs.SlackBuild @@ -8,6 +8,8 @@ # 20170704 bkw: fix build on -current +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=torcs VERSION=${VERSION:-1.3.7} BUILD=${BUILD:-1} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild index 0858e80f337e..8a1a152c5dab 100644 --- a/games/trackballs/trackballs.SlackBuild +++ b/games/trackballs/trackballs.SlackBuild @@ -10,6 +10,8 @@ # 20201024 bkw: update for v1.3.1 # 20170621 bkw: fix build on -current +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=trackballs VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/transfusion/transfusion.SlackBuild b/games/transfusion/transfusion.SlackBuild index 750593930277..761636a8204b 100644 --- a/games/transfusion/transfusion.SlackBuild +++ b/games/transfusion/transfusion.SlackBuild @@ -9,6 +9,8 @@ # The game is distributed as a binary. This script just repackages # the binary into a nice Slack package and adds KDE/XFCE desktop integration. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=transfusion VERSION=${VERSION:-1.05_beta2} SRCVER=$(echo $VERSION | sed 's/_/-/g') @@ -16,7 +18,6 @@ ARCH=i586 # possibly a fib, we dunno how the binary was compiled BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/trigger-rally/trigger-rally.SlackBuild b/games/trigger-rally/trigger-rally.SlackBuild index 4b02545b871f..d7c0f4352c5d 100644 --- a/games/trigger-rally/trigger-rally.SlackBuild +++ b/games/trigger-rally/trigger-rally.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=trigger-rally 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/games/triplea/triplea.SlackBuild b/games/triplea/triplea.SlackBuild index e12efb265ead..feec5abd8a19 100644 --- a/games/triplea/triplea.SlackBuild +++ b/games/triplea/triplea.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=triplea VERSION=${VERSION:-1.8.0.9} 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/games/tt/tt.SlackBuild b/games/tt/tt.SlackBuild index eee17947a650..61e92f253b9e 100644 --- a/games/tt/tt.SlackBuild +++ b/games/tt/tt.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=tt VERSION=${VERSION:-15.1} 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/games/tty-solitaire/tty-solitaire.SlackBuild b/games/tty-solitaire/tty-solitaire.SlackBuild index 2b6503232045..5a43a2d1d0db 100644 --- a/games/tty-solitaire/tty-solitaire.SlackBuild +++ b/games/tty-solitaire/tty-solitaire.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tty-solitaire VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/tuxfootball/tuxfootball.SlackBuild b/games/tuxfootball/tuxfootball.SlackBuild index 406eabdb39fe..519a44e8f983 100644 --- a/games/tuxfootball/tuxfootball.SlackBuild +++ b/games/tuxfootball/tuxfootball.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tuxfootball VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/tuxkart/tuxkart.SlackBuild b/games/tuxkart/tuxkart.SlackBuild index d36e2d0f72a9..41ec1d4598e3 100644 --- a/games/tuxkart/tuxkart.SlackBuild +++ b/games/tuxkart/tuxkart.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=tuxkart VERSION=${VERSION:-0.4.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/games/tuxnes/tuxnes.SlackBuild b/games/tuxnes/tuxnes.SlackBuild index 1f1738c33ce8..5cffbc823a0e 100644 --- a/games/tuxnes/tuxnes.SlackBuild +++ b/games/tuxnes/tuxnes.SlackBuild @@ -4,6 +4,8 @@ # Written by Kyle Guinn <elyk03@gmail.com> # Updated slightly by B. Watson <yalhcru@gmail.com>, with permission +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tuxnes VERSION=${VERSION:-0.75} 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/games/tworld/tworld.SlackBuild b/games/tworld/tworld.SlackBuild index 73bbda31d231..d036396d792e 100644 --- a/games/tworld/tworld.SlackBuild +++ b/games/tworld/tworld.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tworld VERSION=${VERSION:-1.3.2} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/typespeed/typespeed.SlackBuild b/games/typespeed/typespeed.SlackBuild index 182210836feb..1c9e6423d941 100644 --- a/games/typespeed/typespeed.SlackBuild +++ b/games/typespeed/typespeed.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for talkfilters # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=typespeed VERSION=${VERSION:-0.6.5} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/typhoon_2001/typhoon_2001.SlackBuild b/games/typhoon_2001/typhoon_2001.SlackBuild index 6fac72b0706f..9cabf530a2e9 100644 --- a/games/typhoon_2001/typhoon_2001.SlackBuild +++ b/games/typhoon_2001/typhoon_2001.SlackBuild @@ -11,6 +11,8 @@ # typhoon.cfg needs to be a real file and be writable by the user. # (it will be created the first time the game is run). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=typhoon_2001 VERSION=${VERSION:-r3992} BUILD=${BUILD:-1} @@ -21,7 +23,6 @@ TAG=${TAG:-_SBo} # so the check is gone and the ARCH is hardcoded. ARCH=i586 -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ucr/ucr.SlackBuild b/games/ucr/ucr.SlackBuild index dcc6f0ff6e0a..e06d6c18afbb 100644 --- a/games/ucr/ucr.SlackBuild +++ b/games/ucr/ucr.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ucr VERSION=${VERSION:-0.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/games/ufoai/ufoai.SlackBuild b/games/ufoai/ufoai.SlackBuild index abfc009447ef..ca89aec1de03 100644 --- a/games/ufoai/ufoai.SlackBuild +++ b/games/ufoai/ufoai.SlackBuild @@ -32,6 +32,8 @@ # - allow building the radiant editor. I have no idea if it's working # correctly, since I have no idea how to use it. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ufoai VERSION=${VERSION:-2.5} BUILD=${BUILD:-2} @@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/uligo/uligo.SlackBuild b/games/uligo/uligo.SlackBuild index 18a12ec517d9..c1000378f535 100644 --- a/games/uligo/uligo.SlackBuild +++ b/games/uligo/uligo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uligo VERSION=${VERSION:-0.3} _VERSION=$(echo "$VERSION" | sed 's/\.//g') # because they use weird tarball names @@ -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/games/ultimatestunts/ultimatestunts.SlackBuild b/games/ultimatestunts/ultimatestunts.SlackBuild index fd54ad50c421..684448e2a44a 100644 --- a/games/ultimatestunts/ultimatestunts.SlackBuild +++ b/games/ultimatestunts/ultimatestunts.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ultimatestunts VERSION=${VERSION:-0.7.7.1} SRC_VER=$(echo $VERSION | tr -d \.) @@ -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/games/unigine-superposition-benchmark/unigine-superposition-benchmark.SlackBuild b/games/unigine-superposition-benchmark/unigine-superposition-benchmark.SlackBuild index 9deb0d8a24ce..611f0ebf3738 100644 --- a/games/unigine-superposition-benchmark/unigine-superposition-benchmark.SlackBuild +++ b/games/unigine-superposition-benchmark/unigine-superposition-benchmark.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=unigine-superposition-benchmark VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/unknown-horizons/unknown-horizons.SlackBuild b/games/unknown-horizons/unknown-horizons.SlackBuild index 53bc68a5c03b..05a38c6c4509 100644 --- a/games/unknown-horizons/unknown-horizons.SlackBuild +++ b/games/unknown-horizons/unknown-horizons.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=unknown-horizons VERSION=${VERSION:-2017.2} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/unnethack/unnethack.SlackBuild b/games/unnethack/unnethack.SlackBuild index 6aee9d2337ae..0e926eb16a7e 100644 --- a/games/unnethack/unnethack.SlackBuild +++ b/games/unnethack/unnethack.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=unnethack VERSION=${VERSION:-5.2.0} 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/games/unvanquished/unvanquished.SlackBuild b/games/unvanquished/unvanquished.SlackBuild index b8629b4551fa..e9b5d26da1cd 100644 --- a/games/unvanquished/unvanquished.SlackBuild +++ b/games/unvanquished/unvanquished.SlackBuild @@ -28,6 +28,8 @@ # - add sysctl stuff to let the game actually start up # Apparently this build never worked and nobody noticed. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=unvanquished VERSION=${VERSION:-0.50.0} BUILD=${BUILD:-2} @@ -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/games/uqm/uqm.SlackBuild b/games/uqm/uqm.SlackBuild index 9f527f429968..9d8719c345bf 100644 --- a/games/uqm/uqm.SlackBuild +++ b/games/uqm/uqm.SlackBuild @@ -16,6 +16,8 @@ # hasn't changed, so VERSION now has both versions. Also, moved # the binary to /usr/games where it belongs. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uqm VERSION=${VERSION:-0.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 OUTPUT=${OUTPUT:-/tmp} diff --git a/games/uqm_3domusic/uqm_3domusic.SlackBuild b/games/uqm_3domusic/uqm_3domusic.SlackBuild index 26a2e8e1d66d..7e647546b02c 100644 --- a/games/uqm_3domusic/uqm_3domusic.SlackBuild +++ b/games/uqm_3domusic/uqm_3domusic.SlackBuild @@ -8,13 +8,14 @@ # 20210302 bkw: Yay, there's finally an update after 10 years! +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uqm_3domusic VERSION=${VERSION:-0.8.0} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/uqm_remixes/uqm_remixes.SlackBuild b/games/uqm_remixes/uqm_remixes.SlackBuild index e6a8a57d0409..7ea7a27b473c 100644 --- a/games/uqm_remixes/uqm_remixes.SlackBuild +++ b/games/uqm_remixes/uqm_remixes.SlackBuild @@ -9,6 +9,8 @@ # Upstream's files are unversioned. VERSION here is the version of uqm the # files are intended for (according to their web site). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uqm_remixes VERSION=${VERSION:-0.8.0} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/uqm_voice/uqm_voice.SlackBuild b/games/uqm_voice/uqm_voice.SlackBuild index 43ac79ecae4c..8280a6ef09c1 100644 --- a/games/uqm_voice/uqm_voice.SlackBuild +++ b/games/uqm_voice/uqm_voice.SlackBuild @@ -8,13 +8,14 @@ # 20201026 bkw: updated for v0.8.0 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=uqm_voice VERSION=${VERSION:-0.8.0} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ut2004/ut2004.SlackBuild b/games/ut2004/ut2004.SlackBuild index df190de6cdaa..e18f27a9cd6d 100644 --- a/games/ut2004/ut2004.SlackBuild +++ b/games/ut2004/ut2004.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=ut2004 VERSION=${VERSION:-3369} 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/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild index 910f8a78c407..6d0e4f25c2cb 100644 --- a/games/vbam/vbam.SlackBuild +++ b/games/vbam/vbam.SlackBuild @@ -43,6 +43,8 @@ # old vbam name as symlinks. # - Correct README, plus cosmetic reformatting. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vbam VERSION=${VERSION:-2.1.4} BUILD=${BUILD:-1} @@ -62,7 +64,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/vcmi-core/vcmi-core.SlackBuild b/games/vcmi-core/vcmi-core.SlackBuild index acf9c772f7b8..e021ecf4f567 100644 --- a/games/vcmi-core/vcmi-core.SlackBuild +++ b/games/vcmi-core/vcmi-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=vcmi-core SRCNAM=core VERSION=${VERSION:-20130724} @@ -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/games/vcmi-resolutions/vcmi-resolutions.SlackBuild b/games/vcmi-resolutions/vcmi-resolutions.SlackBuild index 997ca1498473..df8b4b076da0 100644 --- a/games/vcmi-resolutions/vcmi-resolutions.SlackBuild +++ b/games/vcmi-resolutions/vcmi-resolutions.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vcmi-resolutions SRCNAM=vcmi VERSION=${VERSION:-20141001} @@ -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/games/vcmi-wog/vcmi-wog.SlackBuild b/games/vcmi-wog/vcmi-wog.SlackBuild index d57db3dd46f8..a5b32fe1d713 100644 --- a/games/vcmi-wog/vcmi-wog.SlackBuild +++ b/games/vcmi-wog/vcmi-wog.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vcmi-wog SRCNAM=wog VERSION=${VERSION:-20121203} @@ -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/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild index 599ccafb788d..361a9c21f49d 100644 --- a/games/vcmi/vcmi.SlackBuild +++ b/games/vcmi/vcmi.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=vcmi VERSION=${VERSION:-0.99_gitb310f2e} 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/games/vectoroids/vectoroids.SlackBuild b/games/vectoroids/vectoroids.SlackBuild index 39ae2662676f..eda3bc3256dd 100644 --- a/games/vectoroids/vectoroids.SlackBuild +++ b/games/vectoroids/vectoroids.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vectoroids VERSION=${VERSION:-1.1.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/games/vegastrike/vegastrike.SlackBuild b/games/vegastrike/vegastrike.SlackBuild index 3f4f06306c32..ea37db3dcd5f 100644 --- a/games/vegastrike/vegastrike.SlackBuild +++ b/games/vegastrike/vegastrike.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vegastrike VERSION=${VERSION:-0.5.1.r1} BUILD=${BUILD:-2} @@ -55,7 +57,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/vera/vera.SlackBuild b/games/vera/vera.SlackBuild index a9e2a4c4753f..23b605dbf089 100644 --- a/games/vera/vera.SlackBuild +++ b/games/vera/vera.SlackBuild @@ -8,6 +8,8 @@ # 20201024 bkw: updated for v1.24 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vera VERSION=${VERSION:-1.24} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/vitaquake2-libretro/vitaquake2-libretro.SlackBuild b/games/vitaquake2-libretro/vitaquake2-libretro.SlackBuild index 9a74f8386dbe..7b2818cf600d 100644 --- a/games/vitaquake2-libretro/vitaquake2-libretro.SlackBuild +++ b/games/vitaquake2-libretro/vitaquake2-libretro.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vitaquake2-libretro VERSION=${VERSION:-eaa758f} LIBNAM=${LIBNAM:-vitaquake2_libretro} @@ -36,7 +38,6 @@ case "$( uname -m )" in esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/vitetris/vitetris.SlackBuild b/games/vitetris/vitetris.SlackBuild index 8cac26acb3e8..6d2389f8ff50 100644 --- a/games/vitetris/vitetris.SlackBuild +++ b/games/vitetris/vitetris.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for vitetris # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vitetris VERSION=${VERSION:-0.57} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/vkQuake/vkQuake.SlackBuild b/games/vkQuake/vkQuake.SlackBuild index 077c1a3f0d94..16cc48197f8f 100644 --- a/games/vkQuake/vkQuake.SlackBuild +++ b/games/vkQuake/vkQuake.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vkQuake VERSION=${VERSION:-1.05.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/games/vms-empire/vms-empire.SlackBuild b/games/vms-empire/vms-empire.SlackBuild index 38cf78e4084d..e5d6e3e123f4 100644 --- a/games/vms-empire/vms-empire.SlackBuild +++ b/games/vms-empire/vms-empire.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=vms-empire 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/games/voxelands/voxelands.SlackBuild b/games/voxelands/voxelands.SlackBuild index ef41967d88d1..b846aee32db4 100644 --- a/games/voxelands/voxelands.SlackBuild +++ b/games/voxelands/voxelands.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=voxelands VERSION=${VERSION:-1501.00} 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/games/wargus/wargus.SlackBuild b/games/wargus/wargus.SlackBuild index 32bc19392b56..38990f880c65 100644 --- a/games/wargus/wargus.SlackBuild +++ b/games/wargus/wargus.SlackBuild @@ -8,6 +8,8 @@ # 20180915 bkw: updated for v2.4.1 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wargus VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild index 591a800502ed..08cd76424e96 100644 --- a/games/warsow/warsow.SlackBuild +++ b/games/warsow/warsow.SlackBuild @@ -24,6 +24,8 @@ # Updated by goarilla <goarilla@gmail.com> # Updated to v2.1.2 by SlackBuilds.org: version 2.1 was broken. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=warsow VERSION=${VERSION:-2.1.2} BUILD=${BUILD:-1} @@ -36,7 +38,6 @@ case "$( uname -m )" in esac TMP=${TMP:-/tmp/SBo} -CWD=$(pwd) PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/warzone2100/warzone2100.SlackBuild b/games/warzone2100/warzone2100.SlackBuild index 98ce113cdc5e..cf4fd6e1b345 100644 --- a/games/warzone2100/warzone2100.SlackBuild +++ b/games/warzone2100/warzone2100.SlackBuild @@ -31,6 +31,8 @@ # - got rid of unneeded template code (no perllocal.pod gets installed) # - move binary to /usr/games (since it has a section 6 man page) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=warzone2100 VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} @@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/waterCloset/waterCloset.SlackBuild b/games/waterCloset/waterCloset.SlackBuild index 045b2ef04fb2..b639dd7562d2 100644 --- a/games/waterCloset/waterCloset.SlackBuild +++ b/games/waterCloset/waterCloset.SlackBuild @@ -9,6 +9,8 @@ # fix doc dir for slackware defaults. # 06/02/2020. version 1.0 first major "full" version. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=waterCloset GITNAM=wc VERSION=${VERSION:-1.0} @@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild index 5176759abec8..bf2b3b0fb6ed 100644 --- a/games/wesnoth/wesnoth.SlackBuild +++ b/games/wesnoth/wesnoth.SlackBuild @@ -26,6 +26,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wesnoth VERSION=${VERSION:-1.14.15} 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/games/widelands/widelands.SlackBuild b/games/widelands/widelands.SlackBuild index 01c9ef7c982e..780b1364f2d3 100644 --- a/games/widelands/widelands.SlackBuild +++ b/games/widelands/widelands.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=widelands VERSION=${VERSION:-build21} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/wmquake/wmquake.SlackBuild b/games/wmquake/wmquake.SlackBuild index 042a5b77a17d..cc75c11d48e9 100644 --- a/games/wmquake/wmquake.SlackBuild +++ b/games/wmquake/wmquake.SlackBuild @@ -37,6 +37,8 @@ # - install binary in /usr/libexec, *not /usr/share*! Dammit! # - fix wrapper script to run in user's homedir +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wmquake VERSION=${VERSION:-1.1} BUILD=${BUILD:-2} @@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/wolf4sdl/wolf4sdl.SlackBuild b/games/wolf4sdl/wolf4sdl.SlackBuild index a89936852018..8b8503eb1a78 100644 --- a/games/wolf4sdl/wolf4sdl.SlackBuild +++ b/games/wolf4sdl/wolf4sdl.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wolf4sdl VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/wordwarvi/wordwarvi.SlackBuild b/games/wordwarvi/wordwarvi.SlackBuild index 6870f6faaf56..f01980481cb2 100644 --- a/games/wordwarvi/wordwarvi.SlackBuild +++ b/games/wordwarvi/wordwarvi.SlackBuild @@ -9,6 +9,8 @@ # 20210224 bkw: update for v1.0.4 # 20170302 bkw: use long-format github URL, add .desktop, BUILD=2 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wordwarvi VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} @@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/worldofgoo/worldofgoo.SlackBuild b/games/worldofgoo/worldofgoo.SlackBuild index 268f8b251078..4c115b425a94 100644 --- a/games/worldofgoo/worldofgoo.SlackBuild +++ b/games/worldofgoo/worldofgoo.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=worldofgoo SRCNAM=WorldOfGooDemo VERSION=${VERSION:-1.41} @@ -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/games/worldofpadman/worldofpadman.SlackBuild b/games/worldofpadman/worldofpadman.SlackBuild index 199b1b7fc407..a357964aa85c 100644 --- a/games/worldofpadman/worldofpadman.SlackBuild +++ b/games/worldofpadman/worldofpadman.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=worldofpadman VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} @@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xarchon/xarchon.SlackBuild b/games/xarchon/xarchon.SlackBuild index fb09b08c0275..807be585958a 100644 --- a/games/xarchon/xarchon.SlackBuild +++ b/games/xarchon/xarchon.SlackBuild @@ -13,6 +13,8 @@ # further note, written later: no, Adept is nowhere near complete or # playable. So I'm patching the game to remove the menu option for it. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xarchon VERSION=${VERSION:-0.60} BUILD=${BUILD:-2} @@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xcowsay/xcowsay.SlackBuild b/games/xcowsay/xcowsay.SlackBuild index ced093ca3f37..e8af90c53296 100644 --- a/games/xcowsay/xcowsay.SlackBuild +++ b/games/xcowsay/xcowsay.SlackBuild @@ -22,6 +22,8 @@ # so don't try. Maybe 1.6 or later will support non-compositing WMs # at some point. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xcowsay VERSION=${VERSION:-1.5.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/games/xcpc/xcpc.SlackBuild b/games/xcpc/xcpc.SlackBuild index 351a6fc2588f..f18c198c5911 100644 --- a/games/xcpc/xcpc.SlackBuild +++ b/games/xcpc/xcpc.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xcpc VERSION=${VERSION:-20070122} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xlennart/xlennart.SlackBuild b/games/xlennart/xlennart.SlackBuild index f6565f19339e..1d5bd468e30d 100644 --- a/games/xlennart/xlennart.SlackBuild +++ b/games/xlennart/xlennart.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=xlennart VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-2} @@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xmahjongg/xmahjongg.SlackBuild b/games/xmahjongg/xmahjongg.SlackBuild index 1364d9b00b62..865873c967d7 100644 --- a/games/xmahjongg/xmahjongg.SlackBuild +++ b/games/xmahjongg/xmahjongg.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=xmahjongg VERSION=${VERSION:-3.7} 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/games/xmoto/xmoto.SlackBuild b/games/xmoto/xmoto.SlackBuild index 1284a0c43589..7bbc88466c8b 100644 --- a/games/xmoto/xmoto.SlackBuild +++ b/games/xmoto/xmoto.SlackBuild @@ -3,6 +3,8 @@ # Modified by the SlackBuilds.org project # Maintained by Alex Word <alex_word86@yahoo.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xmoto VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} @@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xonotic/xonotic.SlackBuild b/games/xonotic/xonotic.SlackBuild index 0c8635833475..2ccd3ebe5ec2 100644 --- a/games/xonotic/xonotic.SlackBuild +++ b/games/xonotic/xonotic.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xonotic VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-2} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xpilot-ng/xpilot-ng.SlackBuild b/games/xpilot-ng/xpilot-ng.SlackBuild index 2146bce77119..55465eea61f5 100644 --- a/games/xpilot-ng/xpilot-ng.SlackBuild +++ b/games/xpilot-ng/xpilot-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=xpilot-ng VERSION=${VERSION:-4.7.3} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xroar-roms/xroar-roms.SlackBuild b/games/xroar-roms/xroar-roms.SlackBuild index 1d47139c500c..39c69c1b552c 100644 --- a/games/xroar-roms/xroar-roms.SlackBuild +++ b/games/xroar-roms/xroar-roms.SlackBuild @@ -11,13 +11,14 @@ # as simple as adding it to the .info file, just make sure the download # links line up with the md5sums. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xroar-roms VERSION=${VERSION:-20180901} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild index 6361c5f586f8..687e53d3bece 100644 --- a/games/xroar/xroar.SlackBuild +++ b/games/xroar/xroar.SlackBuild @@ -37,6 +37,8 @@ # 20170122 bkw: update for 0.34.7 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xroar VERSION=${VERSION:-0.36.2} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild index a8d2fc332398..5ef4ffb86e05 100644 --- a/games/xskat/xskat.SlackBuild +++ b/games/xskat/xskat.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=xskat VERSION=${VERSION:-4.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/games/xspacewarp/xspacewarp.SlackBuild b/games/xspacewarp/xspacewarp.SlackBuild index efbd73c72d64..8b49a860fe31 100644 --- a/games/xspacewarp/xspacewarp.SlackBuild +++ b/games/xspacewarp/xspacewarp.SlackBuild @@ -39,6 +39,8 @@ # to quit the game (nothing mentioned in the 'Orientation', man page, # or README). +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xspacewarp VERSION=${VERSION:-1.2b} BUILD=${BUILD:-2} @@ -54,7 +56,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xu4/xu4.SlackBuild b/games/xu4/xu4.SlackBuild index 3d94b9fd4ec6..753ab0be8138 100644 --- a/games/xu4/xu4.SlackBuild +++ b/games/xu4/xu4.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=xu4 VERSION=${VERSION:-20130612_svn} BUILD=${BUILD:-2} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/xye/xye.SlackBuild b/games/xye/xye.SlackBuild index 9eda515b43a6..e13dd1b4c768 100644 --- a/games/xye/xye.SlackBuild +++ b/games/xye/xye.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=xye VERSION=${VERSION:-0.12.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/games/yabause/yabause.SlackBuild b/games/yabause/yabause.SlackBuild index 452ee2fe4089..f8f8f063f2a4 100644 --- a/games/yabause/yabause.SlackBuild +++ b/games/yabause/yabause.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yabause VERSION=${VERSION:-0.9.15} 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/games/yae/yae.SlackBuild b/games/yae/yae.SlackBuild index 4211b5073282..93e2f710cc6c 100644 --- a/games/yae/yae.SlackBuild +++ b/games/yae/yae.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yae VERSION=${VERSION:-0.7} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/yahtzee/yahtzee.SlackBuild b/games/yahtzee/yahtzee.SlackBuild index b03c9f33ec05..d790a6e678d3 100644 --- a/games/yahtzee/yahtzee.SlackBuild +++ b/games/yahtzee/yahtzee.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yahtzee VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild index d16f226fb6c9..294b4fe6b219 100644 --- a/games/yamagi-quake2/yamagi-quake2.SlackBuild +++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild @@ -24,6 +24,8 @@ # Includes components from the Arch Linux AUR builds. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yamagi-quake2 VERSION=${VERSION:-7.41} BUILD=${BUILD:-1} @@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/yar/yar.SlackBuild b/games/yar/yar.SlackBuild index 39795e6adc71..70eb6a249965 100644 --- a/games/yar/yar.SlackBuild +++ b/games/yar/yar.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yar VERSION=${VERSION:-0.99} 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/games/yarntown/yarntown.SlackBuild b/games/yarntown/yarntown.SlackBuild index 3bc88173ad59..2226ebf319a7 100644 --- a/games/yarntown/yarntown.SlackBuild +++ b/games/yarntown/yarntown.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yarntown VERSION=${VERSION:-1.0.6} 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/games/yetris/yetris.SlackBuild b/games/yetris/yetris.SlackBuild index 5d9ee6b15473..a00d1a138987 100644 --- a/games/yetris/yetris.SlackBuild +++ b/games/yetris/yetris.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=yetris VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/z26/z26.SlackBuild b/games/z26/z26.SlackBuild index d94d7e82d0ed..bcd5b00896ba 100644 --- a/games/z26/z26.SlackBuild +++ b/games/z26/z26.SlackBuild @@ -12,6 +12,8 @@ # - 64-bit support via statified binary (see statify.sh) # - BUILD=2 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=z26 VERSION=${VERSION:-2.13} 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/games/z26v3/z26v3.SlackBuild b/games/z26v3/z26v3.SlackBuild index be5e83cef0c9..dde6be4eec73 100644 --- a/games/z26v3/z26v3.SlackBuild +++ b/games/z26v3/z26v3.SlackBuild @@ -20,6 +20,8 @@ # should leave the config file locations alone, but allow the emulator # to start in the absence of a config file. Still thinking on this one. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=z26v3 VERSION=${VERSION:-3.02.01} 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/games/zaz/zaz.SlackBuild b/games/zaz/zaz.SlackBuild index f622bb3f0ec3..14ba5c29c26b 100644 --- a/games/zaz/zaz.SlackBuild +++ b/games/zaz/zaz.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zaz VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zbom/zbom.SlackBuild b/games/zbom/zbom.SlackBuild index 289be08cf5fc..d285c64feb7d 100644 --- a/games/zbom/zbom.SlackBuild +++ b/games/zbom/zbom.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zbom VERSION=${VERSION:-1.4} 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/games/zdbsp/zdbsp.SlackBuild b/games/zdbsp/zdbsp.SlackBuild index 6b3d945a5060..1e19518eb424 100644 --- a/games/zdbsp/zdbsp.SlackBuild +++ b/games/zdbsp/zdbsp.SlackBuild @@ -8,6 +8,8 @@ # 20180213 bkw: move binary to /usr/games, BUILD=2 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zdbsp VERSION=${VERSION:-1.19} BUILD=${BUILD:-2} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zdoom/zdoom.SlackBuild b/games/zdoom/zdoom.SlackBuild index 73ad723189a2..304e7284512c 100644 --- a/games/zdoom/zdoom.SlackBuild +++ b/games/zdoom/zdoom.SlackBuild @@ -37,6 +37,8 @@ # but please do so quietly, as though you also had been compiled without # sound support :) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zdoom VERSION=${VERSION:-2.8.1} BUILD=${BUILD:-1} @@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zelda-roth-se/zelda-roth-se.SlackBuild b/games/zelda-roth-se/zelda-roth-se.SlackBuild index 56a5ac7db5ee..4ed765e95701 100644 --- a/games/zelda-roth-se/zelda-roth-se.SlackBuild +++ b/games/zelda-roth-se/zelda-roth-se.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zelda-roth-se VERSION=${VERSION:-1.2.1} 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/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild b/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild index a7d628124d5c..f524276ea3c5 100644 --- a/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild +++ b/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zelda-xd2-mercuris-chess VERSION=${VERSION:-1.1.1} 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/games/zennode/zennode.SlackBuild b/games/zennode/zennode.SlackBuild index 9621e689abf6..e31439289c89 100644 --- a/games/zennode/zennode.SlackBuild +++ b/games/zennode/zennode.SlackBuild @@ -8,6 +8,8 @@ # 20180215 bkw: BUILD=2, move binary to /usr/games +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zennode VERSION=${VERSION:-1.2.1} BUILD=${BUILD:-2} @@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/znake/znake.SlackBuild b/games/znake/znake.SlackBuild index 90c68f758da0..8bc53a730bef 100644 --- a/games/znake/znake.SlackBuild +++ b/games/znake/znake.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=znake VERSION=${VERSION:-1.18} BUILD=${BUILD:-1} @@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zod-engine/zod-engine.SlackBuild b/games/zod-engine/zod-engine.SlackBuild index 85a82da9f91a..d43f20b1844c 100644 --- a/games/zod-engine/zod-engine.SlackBuild +++ b/games/zod-engine/zod-engine.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zod-engine VERSION=${VERSION:-2011.09.06} 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/games/zoom/zoom.SlackBuild b/games/zoom/zoom.SlackBuild index 213696c77fc2..7c81975a4101 100644 --- a/games/zoom/zoom.SlackBuild +++ b/games/zoom/zoom.SlackBuild @@ -8,6 +8,8 @@ # 20170621 bkw: fix build for -current +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zoom VERSION=${VERSION:-1.1.5} 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/games/zork/zork.SlackBuild b/games/zork/zork.SlackBuild index 2345c05d53ec..079370dce988 100644 --- a/games/zork/zork.SlackBuild +++ b/games/zork/zork.SlackBuild @@ -12,6 +12,8 @@ # 20140219 bkw: fix .desktop files so they validate. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zork VERSION=${VERSION:-20140219} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ TAG=${TAG:-_SBo} ARCH=noarch -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zsdx/zsdx.SlackBuild b/games/zsdx/zsdx.SlackBuild index db9e9109cdca..062e0093e87d 100644 --- a/games/zsdx/zsdx.SlackBuild +++ b/games/zsdx/zsdx.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zsdx VERSION=${VERSION:-1.12.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/games/zseal/zseal.SlackBuild b/games/zseal/zseal.SlackBuild index 70db6456f6f0..9447afc88506 100644 --- a/games/zseal/zseal.SlackBuild +++ b/games/zseal/zseal.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zseal VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -46,7 +48,6 @@ case "$ARCH" in read -t 10 PLACEHOLDER ;; esac -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild index 55442c9cabf5..121b08f0e5b6 100644 --- a/games/zsnes/zsnes.SlackBuild +++ b/games/zsnes/zsnes.SlackBuild @@ -26,6 +26,8 @@ # 20180123 bkw: Finally, 64-bit support! Sort-of. Using a dirty hack. # Also, move binary to /usr/games and man page to section 6. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zsnes VERSION=${VERSION:-1.51b} BUILD=${BUILD:-4} @@ -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/games/zsxd/zsxd.SlackBuild b/games/zsxd/zsxd.SlackBuild index 08b5adc790f9..8253337c9d5b 100644 --- a/games/zsxd/zsxd.SlackBuild +++ b/games/zsxd/zsxd.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zsxd VERSION=${VERSION:-1.12.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/games/ztools/ztools.SlackBuild b/games/ztools/ztools.SlackBuild index 554132c13460..b6738d6b1f2b 100644 --- a/games/ztools/ztools.SlackBuild +++ b/games/ztools/ztools.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ztools VERSION=${VERSION:-7.3.1} BUILD=${BUILD:-1} @@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/games/ztrack/ztrack.SlackBuild b/games/ztrack/ztrack.SlackBuild index f1f1aa6e424c..f630aaf6dde3 100644 --- a/games/ztrack/ztrack.SlackBuild +++ b/games/ztrack/ztrack.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for ztrack # Written by Dan-Simon Myrland <dansimon@radiotube.org> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=ztrack VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} @@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |