aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 11:41:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-05 16:01:32 +0700
commit7f26b9929fe95171f3719de3f601b696a2def263 (patch)
treec695221c62ff155a5a657883822af40538d24f23 /games
parente6362e61d4cb76998694df32c864f5ceb3d95d54 (diff)
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/0ad-data/0ad-data.SlackBuild3
-rw-r--r--games/0ad/0ad.SlackBuild3
-rw-r--r--games/3D-Fasteroids/3D-Fasteroids.SlackBuild3
-rw-r--r--games/4digits/4digits.SlackBuild3
-rw-r--r--games/7kaa/7kaa.SlackBuild3
-rw-r--r--games/BeastieWorker-levels/BeastieWorker-levels.SlackBuild3
-rw-r--r--games/BeastieWorker/BeastieWorker.SlackBuild3
-rw-r--r--games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild3
-rw-r--r--games/CorsixTH/CorsixTH.SlackBuild3
-rw-r--r--games/FlightGear-data/FlightGear-data.SlackBuild3
-rw-r--r--games/FlightGear/FlightGear.SlackBuild3
-rw-r--r--games/KAdventure/KAdventure.SlackBuild3
-rw-r--r--games/KoboDeluxe/KoboDeluxe.SlackBuild3
-rw-r--r--games/OpenJK/OpenJK.SlackBuild3
-rw-r--r--games/OpenRA/OpenRA.SlackBuild3
-rw-r--r--games/OpenXcom/OpenXcom.SlackBuild3
-rw-r--r--games/PyLotRO/PyLotRO.SlackBuild3
-rw-r--r--games/Pyfa/Pyfa.SlackBuild3
-rw-r--r--games/QuickNES-Core/QuickNES-Core.SlackBuild3
-rw-r--r--games/RetroArch/RetroArch.SlackBuild3
-rw-r--r--games/SLADE/SLADE.SlackBuild3
-rw-r--r--games/Scorched3D/Scorched3D.SlackBuild3
-rw-r--r--games/Sokoban/Sokoban.SlackBuild3
-rw-r--r--games/SpaceZero/SpaceZero.SlackBuild3
-rw-r--r--games/Tempus-Irae/Tempus-Irae.SlackBuild3
-rw-r--r--games/UrbanTerror/UrbanTerror.SlackBuild3
-rw-r--r--games/VASSAL/VASSAL.SlackBuild3
-rw-r--r--games/ZEsarUX/ZEsarUX.SlackBuild3
-rw-r--r--games/abe/abe.SlackBuild3
-rw-r--r--games/abuse/abuse.SlackBuild3
-rw-r--r--games/ace/ace.SlackBuild3
-rw-r--r--games/adl/adl.SlackBuild3
-rw-r--r--games/adom/adom.SlackBuild3
-rw-r--r--games/advancemame/advancemame.SlackBuild3
-rw-r--r--games/advancescan/advancescan.SlackBuild3
-rw-r--r--games/ags/ags.SlackBuild3
-rw-r--r--games/aisleriot/aisleriot.SlackBuild3
-rw-r--r--games/aklabeth/aklabeth.SlackBuild3
-rw-r--r--games/alephone/alephone.SlackBuild3
-rw-r--r--games/alienarena/alienarena.SlackBuild3
-rw-r--r--games/alienwave/alienwave.SlackBuild3
-rw-r--r--games/an/an.SlackBuild3
-rw-r--r--games/angband/angband.SlackBuild3
-rw-r--r--games/antares/antares.SlackBuild3
-rw-r--r--games/antimicro/antimicro.SlackBuild3
-rw-r--r--games/ardentryst/ardentryst.SlackBuild3
-rw-r--r--games/armagetronad/armagetronad.SlackBuild3
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild3
-rw-r--r--games/arx-libertatis/arx-libertatis.SlackBuild3
-rw-r--r--games/asc/asc.SlackBuild3
-rw-r--r--games/asciijump/asciijump.SlackBuild3
-rw-r--r--games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild3
-rw-r--r--games/assaultcube/assaultcube.SlackBuild3
-rw-r--r--games/asteroidsinfinity/asteroidsinfinity.SlackBuild3
-rw-r--r--games/astromenace/astromenace.SlackBuild3
-rw-r--r--games/atanks/atanks.SlackBuild3
-rw-r--r--games/atari++/atari++.SlackBuild3
-rw-r--r--games/atari800/atari800.SlackBuild3
-rw-r--r--games/atari800_roms/atari800_roms.SlackBuild3
-rw-r--r--games/barrage/barrage.SlackBuild3
-rw-r--r--games/bastet/bastet.SlackBuild3
-rw-r--r--games/berusky-data/berusky-data.SlackBuild3
-rw-r--r--games/berusky/berusky.SlackBuild3
-rw-r--r--games/berusky2-data/berusky2-data.SlackBuild3
-rw-r--r--games/berusky2/berusky2.SlackBuild3
-rw-r--r--games/bitfighter/bitfighter.SlackBuild3
-rw-r--r--games/blobby2/blobby2.SlackBuild3
-rw-r--r--games/blobwars/blobwars.SlackBuild3
-rw-r--r--games/bloodcm/bloodcm.SlackBuild3
-rw-r--r--games/bloodfrontier/bloodfrontier.SlackBuild3
-rw-r--r--games/bluemoon/bluemoon.SlackBuild3
-rw-r--r--games/bluez-sixaxis/bluez-sixaxis.SlackBuild3
-rw-r--r--games/bomberclone/bomberclone.SlackBuild3
-rw-r--r--games/boswars/boswars.SlackBuild3
-rw-r--r--games/braincurses/braincurses.SlackBuild3
-rw-r--r--games/brainparty/brainparty.SlackBuild3
-rw-r--r--games/brickout/brickout.SlackBuild3
-rw-r--r--games/briquolo/briquolo.SlackBuild3
-rw-r--r--games/brutalchess/brutalchess.SlackBuild3
-rw-r--r--games/bstone/bstone.SlackBuild3
-rw-r--r--games/burgerspace/burgerspace.SlackBuild3
-rw-r--r--games/bzflag/bzflag.SlackBuild3
-rw-r--r--games/caph/caph.SlackBuild3
-rw-r--r--games/ceferino/ceferino.SlackBuild3
-rw-r--r--games/cgames/cgames.SlackBuild3
-rw-r--r--games/cgmadness/cgmadness.SlackBuild3
-rw-r--r--games/cgoban/cgoban.SlackBuild3
-rw-r--r--games/chessx/chessx.SlackBuild3
-rw-r--r--games/chexquest3/chexquest3.SlackBuild3
-rw-r--r--games/chocolate-doom/chocolate-doom.SlackBuild3
-rw-r--r--games/chocolate_duke3D/chocolate_duke3D.SlackBuild3
-rw-r--r--games/chroma/chroma.SlackBuild3
-rw-r--r--games/chromium-bsu/chromium-bsu.SlackBuild3
-rw-r--r--games/circuslinux/circuslinux.SlackBuild3
-rw-r--r--games/ckmame/ckmame.SlackBuild3
-rw-r--r--games/clonekeen/clonekeen.SlackBuild3
-rw-r--r--games/colem/colem.SlackBuild3
-rw-r--r--games/commandergenius/commandergenius.SlackBuild3
-rw-r--r--games/connectagram/connectagram.SlackBuild3
-rw-r--r--games/conquest/conquest.SlackBuild3
-rw-r--r--games/cosmic_assault/cosmic_assault.SlackBuild3
-rw-r--r--games/cosmosmash/cosmosmash.SlackBuild3
-rw-r--r--games/cowsay/cowsay.SlackBuild3
-rw-r--r--games/cpat/cpat.SlackBuild3
-rw-r--r--games/crack-attack/crack-attack.SlackBuild3
-rw-r--r--games/crimson/crimson.SlackBuild3
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild3
-rw-r--r--games/crossfire-client/crossfire-client.SlackBuild3
-rw-r--r--games/crrcsim/crrcsim.SlackBuild3
-rw-r--r--games/cubosphere/cubosphere.SlackBuild3
-rw-r--r--games/curseofwar/curseofwar.SlackBuild3
-rw-r--r--games/cutemaze/cutemaze.SlackBuild3
-rw-r--r--games/cuyo/cuyo.SlackBuild3
-rw-r--r--games/cyphesis/cyphesis.SlackBuild3
-rw-r--r--games/d1x-rebirth/d1x-rebirth.SlackBuild3
-rw-r--r--games/d2x-rebirth/d2x-rebirth.SlackBuild3
-rw-r--r--games/darkplaces/darkplaces.SlackBuild3
-rw-r--r--games/defendguin/defendguin.SlackBuild3
-rw-r--r--games/desmume/desmume.SlackBuild3
-rw-r--r--games/dfarc/dfarc.SlackBuild3
-rw-r--r--games/dgen/dgen.SlackBuild3
-rw-r--r--games/dhewm3/dhewm3.SlackBuild3
-rw-r--r--games/dice/dice.SlackBuild3
-rw-r--r--games/digger/digger.SlackBuild3
-rw-r--r--games/dolphin-emu/dolphin-emu.SlackBuild3
-rw-r--r--games/domination/domination.SlackBuild3
-rw-r--r--games/doom_shareware_data/doom_shareware_data.SlackBuild3
-rw-r--r--games/doomretro/doomretro.SlackBuild3
-rw-r--r--games/doomsday/doomsday.SlackBuild3
-rw-r--r--games/doomseeker/doomseeker.SlackBuild3
-rw-r--r--games/dopewars/dopewars.SlackBuild3
-rw-r--r--games/dreamchess-music/dreamchess-music.SlackBuild3
-rw-r--r--games/dreamchess/dreamchess.SlackBuild3
-rw-r--r--games/ds-models/ds-models.SlackBuild3
-rw-r--r--games/dunelegacy/dunelegacy.SlackBuild3
-rw-r--r--games/dungeon/dungeon.SlackBuild3
-rw-r--r--games/dustrac/dustrac.SlackBuild3
-rw-r--r--games/ecwolf/ecwolf.SlackBuild3
-rw-r--r--games/edgar/edgar.SlackBuild3
-rw-r--r--games/eduke32/eduke32.SlackBuild3
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild3
-rw-r--r--games/eduke32_shareware_data/eduke32_shareware_data.SlackBuild3
-rw-r--r--games/egoboo/egoboo.SlackBuild3
-rw-r--r--games/einstein/einstein.SlackBuild3
-rw-r--r--games/ember/ember.SlackBuild3
-rw-r--r--games/empire/empire.SlackBuild3
-rw-r--r--games/endgame-singularity/endgame-singularity.SlackBuild3
-rw-r--r--games/endless-sky/endless-sky.SlackBuild3
-rw-r--r--games/enigma/enigma.SlackBuild3
-rw-r--r--games/etlegacy-data/etlegacy-data.SlackBuild3
-rw-r--r--games/etlegacy-from-source/etlegacy-from-source.SlackBuild3
-rw-r--r--games/etlegacy/etlegacy.SlackBuild3
-rw-r--r--games/eureka/eureka.SlackBuild3
-rw-r--r--games/extremetuxracer/extremetuxracer.SlackBuild3
-rw-r--r--games/exult/exult.SlackBuild3
-rw-r--r--games/f1spirit/f1spirit.SlackBuild3
-rw-r--r--games/fceux/fceux.SlackBuild3
-rw-r--r--games/ffgo/ffgo.SlackBuild3
-rw-r--r--games/fgo/fgo.SlackBuild3
-rw-r--r--games/fgrun/fgrun.SlackBuild3
-rw-r--r--games/fifengine/fifengine.SlackBuild3
-rw-r--r--games/fillets-ng-data/fillets-ng-data.SlackBuild3
-rw-r--r--games/fillets-ng/fillets-ng.SlackBuild3
-rw-r--r--games/firestorm-opensim/firestorm-opensim.SlackBuild3
-rw-r--r--games/firestorm/firestorm.SlackBuild3
-rw-r--r--games/fizmo/fizmo.SlackBuild3
-rw-r--r--games/flare-game/flare-game.SlackBuild3
-rw-r--r--games/flare/flare.SlackBuild3
-rw-r--r--games/foobillardplus/foobillardplus.SlackBuild3
-rw-r--r--games/fortune-ASR/fortune-ASR.SlackBuild3
-rw-r--r--games/fortune-dharma/fortune-dharma.SlackBuild3
-rw-r--r--games/fortune-dune/fortune-dune.SlackBuild3
-rw-r--r--games/fortune-farscape/fortune-farscape.SlackBuild3
-rw-r--r--games/fortune-futurama/fortune-futurama.SlackBuild3
-rw-r--r--games/fortune-game_of_thrones/fortune-game_of_thrones.SlackBuild3
-rw-r--r--games/fortune-noobfarm/fortune-noobfarm.SlackBuild3
-rw-r--r--games/fortune-slackware/fortune-slackware.SlackBuild3
-rw-r--r--games/fortune-starwars/fortune-starwars.SlackBuild3
-rw-r--r--games/fortune_doctor_who/fortune_doctor_who.SlackBuild3
-rw-r--r--games/fortune_firefly/fortune_firefly.SlackBuild3
-rw-r--r--games/freeblocks/freeblocks.SlackBuild3
-rw-r--r--games/freeciv/freeciv.SlackBuild3
-rw-r--r--games/freedink/freedink.SlackBuild3
-rw-r--r--games/freedoom/freedoom.SlackBuild3
-rw-r--r--games/freedroid/freedroid.SlackBuild3
-rw-r--r--games/freedroidrpg/freedroidrpg.SlackBuild3
-rw-r--r--games/freeminer/freeminer.SlackBuild3
-rw-r--r--games/freeorion/freeorion.SlackBuild3
-rw-r--r--games/frogatto/frogatto.SlackBuild3
-rw-r--r--games/frotz/frotz.SlackBuild3
-rw-r--r--games/frozen-bubble/frozen-bubble.SlackBuild3
-rw-r--r--games/fs-uae-arcade/fs-uae-arcade.SlackBuild3
-rw-r--r--games/fs-uae-launcher/fs-uae-launcher.SlackBuild3
-rw-r--r--games/fs-uae/fs-uae.SlackBuild3
-rw-r--r--games/fs2open/fs2open.SlackBuild3
-rw-r--r--games/fuse-emulator/fuse-emulator.SlackBuild3
-rw-r--r--games/galaxyv2/galaxyv2.SlackBuild3
-rw-r--r--games/game_1945/game_1945.SlackBuild3
-rw-r--r--games/garden/garden.SlackBuild3
-rw-r--r--games/gargoyle/gargoyle.SlackBuild3
-rw-r--r--games/gbrainy/gbrainy.SlackBuild3
-rw-r--r--games/gemrb/gemrb.SlackBuild3
-rw-r--r--games/gens-gs/gens-gs.SlackBuild3
-rw-r--r--games/ggmud/ggmud.SlackBuild3
-rw-r--r--games/gl-117/gl-117.SlackBuild3
-rw-r--r--games/glPortal/glPortal.SlackBuild3
-rw-r--r--games/glbsp/glbsp.SlackBuild3
-rw-r--r--games/glestae/glestae.SlackBuild3
-rw-r--r--games/glob2/glob2.SlackBuild3
-rw-r--r--games/glxosd/glxosd.SlackBuild3
-rw-r--r--games/gnonograms/gnonograms.SlackBuild3
-rw-r--r--games/gnubg/gnubg.SlackBuild3
-rw-r--r--games/gnugo/gnugo.SlackBuild3
-rw-r--r--games/gnurobbo/gnurobbo.SlackBuild3
-rw-r--r--games/gnuski/gnuski.SlackBuild3
-rw-r--r--games/golly/golly.SlackBuild3
-rw-r--r--games/goonies/goonies.SlackBuild3
-rw-r--r--games/gottet/gottet.SlackBuild3
-rw-r--r--games/greed/greed.SlackBuild3
-rw-r--r--games/gtkballs/gtkballs.SlackBuild3
-rw-r--r--games/gtklife/gtklife.SlackBuild3
-rw-r--r--games/gzdoom-legacy/gzdoom-legacy.SlackBuild3
-rw-r--r--games/gzdoom/gzdoom.SlackBuild3
-rw-r--r--games/hack-of-life/hack-of-life.SlackBuild3
-rw-r--r--games/hatari/hatari.SlackBuild3
-rw-r--r--games/hatari_tos_roms/hatari_tos_roms.SlackBuild3
-rw-r--r--games/haxima-nazghul/haxima-nazghul.SlackBuild3
-rw-r--r--games/hedgewars/hedgewars.SlackBuild3
-rw-r--r--games/heretic_shareware_data/heretic_shareware_data.SlackBuild3
-rw-r--r--games/hex-a-hop/hex-a-hop.SlackBuild3
-rw-r--r--games/hexalate/hexalate.SlackBuild3
-rw-r--r--games/hexen_demo_data/hexen_demo_data.SlackBuild3
-rw-r--r--games/hexglass/hexglass.SlackBuild3
-rw-r--r--games/higan/higan.SlackBuild3
-rw-r--r--games/hlsdk/hlsdk.SlackBuild3
-rw-r--r--games/hnefatafl/hnefatafl.SlackBuild3
-rw-r--r--games/ho1/ho1.SlackBuild3
-rw-r--r--games/homm3_shareware_data/homm3_shareware_data.SlackBuild3
-rw-r--r--games/icebreaker/icebreaker.SlackBuild3
-rw-r--r--games/ifm/ifm.SlackBuild3
-rw-r--r--games/img2xterm/img2xterm.SlackBuild3
-rw-r--r--games/innoextract/innoextract.SlackBuild3
-rw-r--r--games/instead/instead.SlackBuild3
-rw-r--r--games/invasion3d/invasion3d.SlackBuild3
-rw-r--r--games/ioquake3/ioquake3.SlackBuild3
-rw-r--r--games/iortcw/iortcw.SlackBuild3
-rw-r--r--games/jag/jag.SlackBuild3
-rw-r--r--games/javacpc/javacpc.SlackBuild3
-rw-r--r--games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild3
-rw-r--r--games/jfsw/jfsw.SlackBuild3
-rw-r--r--games/jfsw_demo_data/jfsw_demo_data.SlackBuild3
-rw-r--r--games/jfsw_hires_pack/jfsw_hires_pack.SlackBuild3
-rw-r--r--games/jfsw_registered_data/jfsw_registered_data.SlackBuild3
-rw-r--r--games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild3
-rw-r--r--games/jfsw_wanton_destruction/jfsw_wanton_destruction.SlackBuild3
-rw-r--r--games/jin/jin.SlackBuild3
-rw-r--r--games/jzintv/jzintv.SlackBuild3
-rw-r--r--games/kardsgt/kardsgt.SlackBuild3
-rw-r--r--games/kildclient/kildclient.SlackBuild3
-rw-r--r--games/koules/koules.SlackBuild3
-rw-r--r--games/larn/larn.SlackBuild3
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild3
-rw-r--r--games/lgogdownloader/lgogdownloader.SlackBuild3
-rw-r--r--games/lightyears/lightyears.SlackBuild3
-rw-r--r--games/lincity-ng/lincity-ng.SlackBuild3
-rw-r--r--games/liquidwar6/liquidwar6.SlackBuild3
-rw-r--r--games/lmarbles/lmarbles.SlackBuild3
-rw-r--r--games/lmpc/lmpc.SlackBuild3
-rw-r--r--games/loemu/loemu.SlackBuild3
-rw-r--r--games/ltris/ltris.SlackBuild3
-rw-r--r--games/lutris/lutris.SlackBuild3
-rw-r--r--games/m64py/m64py.SlackBuild3
-rw-r--r--games/madbomber/madbomber.SlackBuild3
-rw-r--r--games/maelstrom/maelstrom.SlackBuild3
-rw-r--r--games/mame/mame.SlackBuild3
-rw-r--r--games/mame2000-libretro/mame2000-libretro.SlackBuild3
-rw-r--r--games/manaplus/manaplus.SlackBuild3
-rw-r--r--games/mangband/mangband.SlackBuild3
-rw-r--r--games/marathon-data/marathon-data.SlackBuild3
-rw-r--r--games/marathon-eternal-data/marathon-eternal-data.SlackBuild3
-rw-r--r--games/marathon-evil-data/marathon-evil-data.SlackBuild3
-rw-r--r--games/marathon-infinity-data/marathon-infinity-data.SlackBuild3
-rw-r--r--games/marathon-phoenix-data/marathon-phoenix-data.SlackBuild3
-rw-r--r--games/marathon-red-data/marathon-red-data.SlackBuild3
-rw-r--r--games/marathon-rubicon-data/marathon-rubicon-data.SlackBuild3
-rw-r--r--games/marathon2-data/marathon2-data.SlackBuild3
-rw-r--r--games/mari0/mari0.SlackBuild3
-rw-r--r--games/mars/mars.SlackBuild3
-rw-r--r--games/meandmyshadow/meandmyshadow.SlackBuild3
-rw-r--r--games/mednafen/mednafen.SlackBuild3
-rw-r--r--games/mednaffe/mednaffe.SlackBuild3
-rw-r--r--games/megaglest/megaglest.SlackBuild3
-rw-r--r--games/megamario/megamario.SlackBuild3
-rw-r--r--games/mfe/mfe.SlackBuild3
-rw-r--r--games/mgba/mgba.SlackBuild3
-rw-r--r--games/micropolis/micropolis.SlackBuild3
-rw-r--r--games/minetest/minetest.SlackBuild3
-rw-r--r--games/minetest_game/minetest_game.SlackBuild3
-rw-r--r--games/mininim/mininim.SlackBuild3
-rw-r--r--games/miscom/miscom.SlackBuild3
-rw-r--r--games/mog/mog.SlackBuild3
-rw-r--r--games/moon-buggy/moon-buggy.SlackBuild3
-rw-r--r--games/moria/moria.SlackBuild3
-rw-r--r--games/mrboom/mrboom.SlackBuild3
-rw-r--r--games/mrrescue/mrrescue.SlackBuild3
-rw-r--r--games/mupen64plus/mupen64plus.SlackBuild3
-rw-r--r--games/myman/myman.SlackBuild3
-rw-r--r--games/nFlood/nFlood.SlackBuild3
-rw-r--r--games/nSnake/nSnake.SlackBuild3
-rw-r--r--games/naev/naev.SlackBuild3
-rw-r--r--games/nblood/nblood.SlackBuild3
-rw-r--r--games/ncursesoflife/ncursesoflife.SlackBuild3
-rw-r--r--games/nestopia/nestopia.SlackBuild3
-rw-r--r--games/neverball/neverball.SlackBuild3
-rw-r--r--games/nevernoid/nevernoid.SlackBuild3
-rw-r--r--games/nexuiz/nexuiz.SlackBuild3
-rw-r--r--games/ninvaders/ninvaders.SlackBuild3
-rw-r--r--games/njam/njam.SlackBuild3
-rw-r--r--games/nlarn/nlarn.SlackBuild3
-rw-r--r--games/noteye/noteye.SlackBuild3
-rw-r--r--games/notpacman/notpacman.SlackBuild3
-rw-r--r--games/nottetris2/nottetris2.SlackBuild3
-rw-r--r--games/npush/npush.SlackBuild3
-rw-r--r--games/nsudoku/nsudoku.SlackBuild3
-rw-r--r--games/nsuds/nsuds.SlackBuild3
-rw-r--r--games/nuvie/nuvie.SlackBuild3
-rw-r--r--games/o2em/o2em.SlackBuild3
-rw-r--r--games/oblige-legacy4/oblige-legacy4.SlackBuild3
-rw-r--r--games/oblige/oblige.SlackBuild3
-rw-r--r--games/odamex/odamex.SlackBuild3
-rw-r--r--games/onscripter/onscripter.SlackBuild3
-rw-r--r--games/oolite/oolite.SlackBuild3
-rw-r--r--games/open-adventure/open-adventure.SlackBuild3
-rw-r--r--games/openarena/openarena.SlackBuild3
-rw-r--r--games/openclonk/openclonk.SlackBuild3
-rw-r--r--games/opendune/opendune.SlackBuild3
-rw-r--r--games/openjazz/openjazz.SlackBuild3
-rw-r--r--games/openlierox/openlierox.SlackBuild3
-rw-r--r--games/openmortal/openmortal.SlackBuild3
-rw-r--r--games/openmsx-catapult/openmsx-catapult.SlackBuild3
-rw-r--r--games/openmsx-debugger/openmsx-debugger.SlackBuild3
-rw-r--r--games/openmsx/openmsx.SlackBuild3
-rw-r--r--games/openmw/openmw.SlackBuild3
-rw-r--r--games/opensonic/opensonic.SlackBuild3
-rw-r--r--games/openspades/openspades.SlackBuild3
-rw-r--r--games/openttd/openttd.SlackBuild3
-rw-r--r--games/opentyrian/opentyrian.SlackBuild3
-rw-r--r--games/openyahtzee/openyahtzee.SlackBuild3
-rw-r--r--games/ostrichriders/ostrichriders.SlackBuild3
-rw-r--r--games/pacman-arena/pacman-arena.SlackBuild3
-rw-r--r--games/pacman/pacman.SlackBuild3
-rw-r--r--games/pangzero/pangzero.SlackBuild3
-rw-r--r--games/pasang-emas/pasang-emas.SlackBuild3
-rw-r--r--games/pcgen/pcgen.SlackBuild3
-rw-r--r--games/pcsx-rearmed/pcsx-rearmed.SlackBuild3
-rw-r--r--games/pcsx2/pcsx2.SlackBuild3
-rw-r--r--games/pcsxr/pcsxr.SlackBuild3
-rw-r--r--games/peg-e/peg-e.SlackBuild3
-rw-r--r--games/penguin-command/penguin-command.SlackBuild3
-rw-r--r--games/pengupop/pengupop.SlackBuild3
-rw-r--r--games/pentagram/pentagram.SlackBuild3
-rw-r--r--games/pinball/pinball.SlackBuild3
-rw-r--r--games/pingus/pingus.SlackBuild3
-rw-r--r--games/pioneer/pioneer.SlackBuild3
-rw-r--r--games/pipewalker/pipewalker.SlackBuild3
-rw-r--r--games/planetblupi/planetblupi.SlackBuild3
-rw-r--r--games/playonlinux/playonlinux.SlackBuild3
-rw-r--r--games/pokerth/pokerth.SlackBuild3
-rw-r--r--games/pom1/pom1.SlackBuild3
-rw-r--r--games/powerslave_demo_data/powerslave_demo_data.SlackBuild3
-rw-r--r--games/ppsspp/ppsspp.SlackBuild3
-rw-r--r--games/prboom-plus/prboom-plus.SlackBuild3
-rw-r--r--games/prboom/prboom.SlackBuild3
-rw-r--r--games/puNES/puNES.SlackBuild3
-rw-r--r--games/pushover/pushover.SlackBuild3
-rw-r--r--games/puzzles/puzzles.SlackBuild3
-rw-r--r--games/pybik/pybik.SlackBuild3
-rw-r--r--games/pychess/pychess.SlackBuild3
-rw-r--r--games/pysolfc-extra-cardsets/pysolfc-extra-cardsets.SlackBuild3
-rw-r--r--games/pysolfc/pysolfc.SlackBuild3
-rw-r--r--games/qmc2/qmc2.SlackBuild3
-rw-r--r--games/qtads/qtads.SlackBuild3
-rw-r--r--games/qtsixa/qtsixa.SlackBuild3
-rw-r--r--games/quake3_shareware_data/quake3_shareware_data.SlackBuild3
-rw-r--r--games/quake_shareware_data/quake_shareware_data.SlackBuild3
-rw-r--r--games/quakeforge/quakeforge.SlackBuild3
-rw-r--r--games/quakespasm/quakespasm.SlackBuild3
-rw-r--r--games/quarry/quarry.SlackBuild3
-rw-r--r--games/qxw/qxw.SlackBuild3
-rw-r--r--games/qzdl/qzdl.SlackBuild3
-rw-r--r--games/qzdoom/qzdoom.SlackBuild3
-rw-r--r--games/redeclipse/redeclipse.SlackBuild3
-rw-r--r--games/rejoystick/rejoystick.SlackBuild3
-rw-r--r--games/residualvm/residualvm.SlackBuild3
-rw-r--r--games/retux/retux.SlackBuild3
-rw-r--r--games/rezerwar/rezerwar.SlackBuild3
-rw-r--r--games/rlvm/rlvm.SlackBuild3
-rw-r--r--games/roadfighter/roadfighter.SlackBuild3
-rw-r--r--games/robotfindskitten/robotfindskitten.SlackBuild3
-rw-r--r--games/roccat-tools/roccat-tools.SlackBuild3
-rw-r--r--games/rocksndiamonds/rocksndiamonds.SlackBuild3
-rw-r--r--games/rogue/rogue.SlackBuild3
-rw-r--r--games/roll/roll.SlackBuild3
-rw-r--r--games/rott/rott.SlackBuild3
-rw-r--r--games/sauerbraten/sauerbraten.SlackBuild3
-rw-r--r--games/scid/scid.SlackBuild3
-rw-r--r--games/scid_vs_pc/scid_vs_pc.SlackBuild3
-rw-r--r--games/scribble/scribble.SlackBuild3
-rw-r--r--games/scummvm/scummvm.SlackBuild3
-rw-r--r--games/sdlpop/sdlpop.SlackBuild3
-rw-r--r--games/simplesok/simplesok.SlackBuild3
-rw-r--r--games/simsu/simsu.SlackBuild3
-rw-r--r--games/singularity/singularity.SlackBuild3
-rw-r--r--games/skulltag/skulltag.SlackBuild3
-rw-r--r--games/sl/sl.SlackBuild3
-rw-r--r--games/smashbattle/smashbattle.SlackBuild3
-rw-r--r--games/smc/smc.SlackBuild3
-rw-r--r--games/smokinguns/smokinguns.SlackBuild3
-rw-r--r--games/sms_sdl/sms_sdl.SlackBuild3
-rw-r--r--games/snes9x/snes9x.SlackBuild3
-rw-r--r--games/snes9x2010/snes9x2010.SlackBuild3
-rw-r--r--games/sokowiz/sokowiz.SlackBuild3
-rw-r--r--games/solarus-quest-editor/solarus-quest-editor.SlackBuild3
-rw-r--r--games/solarus/solarus.SlackBuild3
-rw-r--r--games/solarwolf/solarwolf.SlackBuild3
-rw-r--r--games/speed-dreams/speed-dreams.SlackBuild3
-rw-r--r--games/spring/spring.SlackBuild3
-rw-r--r--games/srb2/srb2.SlackBuild3
-rw-r--r--games/starfighter/starfighter.SlackBuild3
-rw-r--r--games/steam/steam.SlackBuild3
-rw-r--r--games/steem/steem.SlackBuild3
-rw-r--r--games/stella/stella.SlackBuild3
-rw-r--r--games/stockfish/stockfish.SlackBuild3
-rw-r--r--games/stone_soup/stone_soup.SlackBuild3
-rw-r--r--games/stormbaancoureur/stormbaancoureur.SlackBuild3
-rw-r--r--games/stratagus/stratagus.SlackBuild3
-rw-r--r--games/stuntrally/stuntrally.SlackBuild3
-rw-r--r--games/sumeria/sumeria.SlackBuild3
-rw-r--r--games/sumwars/sumwars.SlackBuild3
-rw-r--r--games/supermariowar/supermariowar.SlackBuild3
-rw-r--r--games/supertux/supertux.SlackBuild3
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild3
-rw-r--r--games/syobonaction/syobonaction.SlackBuild3
-rw-r--r--games/taipan/taipan.SlackBuild3
-rw-r--r--games/talkfilters/talkfilters.SlackBuild3
-rw-r--r--games/tanglet/tanglet.SlackBuild3
-rw-r--r--games/tbftss/tbftss.SlackBuild3
-rw-r--r--games/teeworlds/teeworlds.SlackBuild3
-rw-r--r--games/term2048/term2048.SlackBuild3
-rw-r--r--games/tintin/tintin.SlackBuild3
-rw-r--r--games/tome-ah/tome-ah.SlackBuild3
-rw-r--r--games/tome-sx/tome-sx.SlackBuild3
-rw-r--r--games/tome/tome.SlackBuild3
-rw-r--r--games/tong/tong.SlackBuild3
-rw-r--r--games/torcs/torcs.SlackBuild3
-rw-r--r--games/trackballs/trackballs.SlackBuild3
-rw-r--r--games/transfusion/transfusion.SlackBuild3
-rw-r--r--games/trigger-rally/trigger-rally.SlackBuild3
-rw-r--r--games/triplea/triplea.SlackBuild3
-rw-r--r--games/tt/tt.SlackBuild3
-rw-r--r--games/tty-solitaire/tty-solitaire.SlackBuild3
-rw-r--r--games/tuxfootball/tuxfootball.SlackBuild3
-rw-r--r--games/tuxkart/tuxkart.SlackBuild3
-rw-r--r--games/tuxnes/tuxnes.SlackBuild3
-rw-r--r--games/tworld/tworld.SlackBuild3
-rw-r--r--games/typespeed/typespeed.SlackBuild3
-rw-r--r--games/typhoon_2001/typhoon_2001.SlackBuild3
-rw-r--r--games/ucr/ucr.SlackBuild3
-rw-r--r--games/ufoai/ufoai.SlackBuild3
-rw-r--r--games/uligo/uligo.SlackBuild3
-rw-r--r--games/ultimatestunts/ultimatestunts.SlackBuild3
-rw-r--r--games/unigine-superposition-benchmark/unigine-superposition-benchmark.SlackBuild3
-rw-r--r--games/unknown-horizons/unknown-horizons.SlackBuild3
-rw-r--r--games/unnethack/unnethack.SlackBuild3
-rw-r--r--games/unvanquished/unvanquished.SlackBuild3
-rw-r--r--games/uqm/uqm.SlackBuild3
-rw-r--r--games/uqm_3domusic/uqm_3domusic.SlackBuild3
-rw-r--r--games/uqm_remixes/uqm_remixes.SlackBuild3
-rw-r--r--games/uqm_voice/uqm_voice.SlackBuild3
-rw-r--r--games/ut2004/ut2004.SlackBuild3
-rw-r--r--games/vbam/vbam.SlackBuild3
-rw-r--r--games/vcmi-core/vcmi-core.SlackBuild3
-rw-r--r--games/vcmi-resolutions/vcmi-resolutions.SlackBuild3
-rw-r--r--games/vcmi-wog/vcmi-wog.SlackBuild3
-rw-r--r--games/vcmi/vcmi.SlackBuild3
-rw-r--r--games/vectoroids/vectoroids.SlackBuild3
-rw-r--r--games/vegastrike/vegastrike.SlackBuild3
-rw-r--r--games/vera/vera.SlackBuild3
-rw-r--r--games/vitaquake2-libretro/vitaquake2-libretro.SlackBuild3
-rw-r--r--games/vitetris/vitetris.SlackBuild3
-rw-r--r--games/vkQuake/vkQuake.SlackBuild3
-rw-r--r--games/vms-empire/vms-empire.SlackBuild3
-rw-r--r--games/voxelands/voxelands.SlackBuild3
-rw-r--r--games/wargus/wargus.SlackBuild3
-rw-r--r--games/warsow/warsow.SlackBuild3
-rw-r--r--games/warzone2100/warzone2100.SlackBuild3
-rw-r--r--games/waterCloset/waterCloset.SlackBuild3
-rw-r--r--games/wesnoth/wesnoth.SlackBuild3
-rw-r--r--games/widelands/widelands.SlackBuild3
-rw-r--r--games/wmquake/wmquake.SlackBuild3
-rw-r--r--games/wolf4sdl/wolf4sdl.SlackBuild3
-rw-r--r--games/wordwarvi/wordwarvi.SlackBuild3
-rw-r--r--games/worldofgoo/worldofgoo.SlackBuild3
-rw-r--r--games/worldofpadman/worldofpadman.SlackBuild3
-rw-r--r--games/xarchon/xarchon.SlackBuild3
-rw-r--r--games/xcowsay/xcowsay.SlackBuild3
-rw-r--r--games/xcpc/xcpc.SlackBuild3
-rw-r--r--games/xlennart/xlennart.SlackBuild3
-rw-r--r--games/xmahjongg/xmahjongg.SlackBuild3
-rw-r--r--games/xmoto/xmoto.SlackBuild3
-rw-r--r--games/xonotic/xonotic.SlackBuild3
-rw-r--r--games/xpilot-ng/xpilot-ng.SlackBuild3
-rw-r--r--games/xroar-roms/xroar-roms.SlackBuild3
-rw-r--r--games/xroar/xroar.SlackBuild3
-rw-r--r--games/xskat/xskat.SlackBuild3
-rw-r--r--games/xspacewarp/xspacewarp.SlackBuild3
-rw-r--r--games/xu4/xu4.SlackBuild3
-rw-r--r--games/xye/xye.SlackBuild3
-rw-r--r--games/yabause/yabause.SlackBuild3
-rw-r--r--games/yae/yae.SlackBuild3
-rw-r--r--games/yahtzee/yahtzee.SlackBuild3
-rw-r--r--games/yamagi-quake2/yamagi-quake2.SlackBuild3
-rw-r--r--games/yar/yar.SlackBuild3
-rw-r--r--games/yarntown/yarntown.SlackBuild3
-rw-r--r--games/yetris/yetris.SlackBuild3
-rw-r--r--games/z26/z26.SlackBuild3
-rw-r--r--games/z26v3/z26v3.SlackBuild3
-rw-r--r--games/zaz/zaz.SlackBuild3
-rw-r--r--games/zbom/zbom.SlackBuild3
-rw-r--r--games/zdbsp/zdbsp.SlackBuild3
-rw-r--r--games/zdoom/zdoom.SlackBuild3
-rw-r--r--games/zelda-roth-se/zelda-roth-se.SlackBuild3
-rw-r--r--games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild3
-rw-r--r--games/zennode/zennode.SlackBuild3
-rw-r--r--games/znake/znake.SlackBuild3
-rw-r--r--games/zod-engine/zod-engine.SlackBuild3
-rw-r--r--games/zoom/zoom.SlackBuild3
-rw-r--r--games/zork/zork.SlackBuild3
-rw-r--r--games/zsdx/zsdx.SlackBuild3
-rw-r--r--games/zseal/zseal.SlackBuild3
-rw-r--r--games/zsnes/zsnes.SlackBuild3
-rw-r--r--games/zsxd/zsxd.SlackBuild3
-rw-r--r--games/ztools/ztools.SlackBuild3
-rw-r--r--games/ztrack/ztrack.SlackBuild3
544 files changed, 1088 insertions, 544 deletions
diff --git a/games/0ad-data/0ad-data.SlackBuild b/games/0ad-data/0ad-data.SlackBuild
index 1c7b56113e049..7bb3cbcee0443 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 fb1c911b72cf4..a1849b2f0939e 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 7a9beec088f38..d3fd591cb4bea 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 396e5be3bc962..b88f3aefcbf48 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 f0b7aad5e647f..365454ec102a7 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 bb6dfd71349f4..1461956301acc 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 fd07ab8fe31bd..b911f8cf6baca 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 361539d548d81..31f2ae4ab3e0a 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 fb8362a4f7e8a..7b3e5d543800e 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 d8c30ee3689fe..2278a32e434d8 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 a32d38b3bbaa1..1f60b0315a64a 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 5ac3ad966736f..d209983dfe1fa 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 f052368ef701c..cebbc2a5e706b 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 c5cc2ffece493..446c4069f33cf 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 a225fbc4b45b1..9687e2bae7d93 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 1ce79879ae946..2405eb6aafe26 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 ab6fd93c8c68a..7497d602277ba 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 eba776b75e60c..58631b4ab655f 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 ef6969438ae2c..4473ffd8f5c9f 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 44a3ad258490d..8562526c688ea 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 db81111efdf44..1fae15093c660 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 4e39ae18c15c4..c6bdf610ec572 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 3a497961c7b7c..608e99fbe34fb 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 f1cf22f2ba422..30a79f24759b1 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 07e5bc224f809..7c10f165929f5 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 6c34a4057e80d..a03cb95b7c9b3 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 f2b47d580e80b..d9b1657898ed0 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 4f3c2c195b32b..7a2d5f566a270 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 e77a84f09a1bd..1a3fcfe0bd585 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 c55692b8cc2ad..856cba1ec6525 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 3ac5df867aafb..f86ba9debd94c 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 0529dd1b8bc42..ed3e5dd774ac3 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 bcf6ae63bada4..747f1b5a49b90 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 0dc9bdc6abd03..b94b49ce8d3cf 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 e881fa0adce5a..33d0fbf07c96e 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 42b01bfb91cbd..552d7d5b21098 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 2d4073637aa5e..1fe5a0587fcc9 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 eb4b562edcccc..6625673cfe28d 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 6923873b4526b..44072e774e0a5 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 405fddac311b0..e643c3c10aed9 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 30fac52bf20da..bbd19a1cbbf97 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 986b05ad928d0..4a67d51628295 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 7cf8d9f9da675..54c7e7bda1d5d 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 3c4d933840798..3f106023527f5 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 a7690d212881d..c84a8c544d5f4 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 aae78035848bb..7a37295d6e3fc 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 feaf495a791b8..f9ebdb0fe50b4 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 782e4e5e053d1..0df77636985bd 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 d3c5a3cb795c7..d81d363749d24 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 2929ec3c5810d..43c415e402c29 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 8b0156909f53c..2ccd50ab8a047 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 9bfc9152e8f5a..4b2ea0768c5e8 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 ff6b5f8d7e298..443034ce7b896 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 fdd6c209d8a38..f008b1b25a298 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 e110195c107e4..273b2945bacf9 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 1f1a3e4ff9484..3f000c9cdfc8c 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 b2710e841a197..fd6e4f701a632 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 ee23692b1da78..0db8db1cb95a8 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 a702c94eafa3c..db7cc7ba750f9 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 c7a9c659710be..8d24f715b9d61 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 9facfed677dff..dfcb02e7af7b5 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 94cda7f8dafa5..44827abd4a86a 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 d2f8b56aa7063..19f3be333dcd4 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 3c979dae48bbf..c4828ca4bf72d 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 67e4607c15a15..7b9db797edccd 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 cd47e5a3b0354..7033a05c68a48 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 776d68a209e36..94ec81750eb10 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 56233c93e5dc6..0d95a79bfe2e7 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 3c12281408a8d..1093fcb4732a6 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 a960641dc64c0..cbce87ab4a9db 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 bf3c464374cf8..2526a777b5035 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 719ce00c2522d..e1aa39214f0e3 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 0cfab5bc571a7..7ea2dfb74fce3 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 eaf6b4431833f..d5dbd25703a1a 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 99fdfd0d5484a..6e95024866f3c 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 699a04ee6a0ae..74bff813a4683 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 36c594e6a45e1..a9eeb09a1dae9 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 6f309613ff779..7b56f8ba1c493 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 9f2ef1c486166..4246a5f13d0a8 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 06cfbadbb00ca..4e9ba872e82c8 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 ba8e92dd12678..c5c0946e14274 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 fcf1ce1533629..070e81be30237 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 ba4cfaa5d0a61..dd71ffdbc0d4a 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 4cad8ab78ac45..eb7979e2acb27 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 73fdbf3ad2575..d882248e6eb53 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 a4d95b9880613..b892b42538885 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 13a0359138d5a..57a1b4f7c7bf8 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 25059e81212be..bb21a563e5342 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 70d915656ddb9..9182aedcef021 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 3dbe00159bc4d..417c3acd274e4 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 eb5581048adcb..6823f14dfa13c 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 1f9c281e43c6f..a24b20cef94b8 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 2205b8f615314..b0bea615596b9 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 254280f3b5650..1afaf3cb2ae40 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 6b1eeccd12af0..ba7adb512e0ad 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 ed08c3b45d801..3d423c7c6cf92 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 bca0d169e3f6e..2d4b50aaf05c9 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 1f351795c2753..7f11b59f7675f 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 6900a1a99b15a..08127735e9419 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 5c987982a48c2..5dcf6e5e782ff 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 73216b8a6629f..6234efa5579c4 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 68a9a871e1709..b45df35d36f64 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 15bd7cb40079d..5e6653aeae7ba 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 8398c8ef8a892..5c1159203eccd 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 b3eb607081e79..0231b65c8db55 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 7d8d35ad389dc..918dac913e46c 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 3d1ffd4255647..fb544e3556510 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 f8b63616a408b..f885ac87ed58c 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 274eac6f4baa2..e138849b6aba4 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 f5cb395a342c7..3d8478bd2882e 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 f5c53e8496448..a8f799d60b7fa 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 53042e5bb56a4..1dcbfd40c5715 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 85ba58a60edc9..1e2dc7d9882c5 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 daeca834063cd..f299ac6d18784 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 5400bdec1d2f5..f077e5433165a 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 c84190bf45219..d30fe6b0a7767 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 174de5176f33e..d697450e1c0b2 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 9676283ce55b8..3fbe68742c3ac 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 45a156c96bf9a..cf7265cfd395b 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 c7f6e3c2234c8..e4ed633a43dd6 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 ae7dc28acc216..a2cf492e6e65f 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 2d304994df64e..ef1573b4fbd97 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 ae98dda2cfc24..d6ed7bd1f3ede 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 1e40ee531fde7..5b4728e678f49 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 678f1721c2280..f1aa9d429d64f 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 60470b650b8a3..d13cf379d7461 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 d2f37efc79660..e95b859e09274 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 732e2d15a653e..3569c2a9a6949 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 ef1ad01ea1ce3..72367234cf5da 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 befada0f6c73f..51c775456e6b5 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 a4c3e3329eed6..d37d3dbff1b75 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 370c41b051984..def2c27473d28 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 549b1803695ad..fe6dce63dd24e 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 7623a0414aaa6..01d5eb3c02b2a 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 577d46b0f84fe..920dcab067cd2 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 191c8b0971ce7..cc9d72b4774fe 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 d4d564dfe84b2..b305f98cbaa24 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 55874fd1d5ed0..ea10f973fc054 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 a1881ae539496..92c3850250957 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 0d6a5db03526f..1ff3b88489b04 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 b8b19c0fbdcc0..a6f55b2b73cda 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 d52897c4e96df..b3ebdcb0d8c21 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 7d89646ab6aa2..664d8cf87f56b 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 b435ac03eb530..edb8068d7720f 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 95e8d56c9916c..39f4799e58b8a 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 5c74aa6cb898b..cf5c7eccdcd97 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 b2edd7fc68c87..7b1a9003574c5 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 47006ca6ac794..06b8ba2223d61 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 60916818ba1a8..8bbed0fa2c666 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 0b4304e3cb959..3c50d7478ad54 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 7f8f25430874b..be9f4f7bbbf08 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 28982a66fc71a..bc8031aa950c9 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 4ce5579826dbf..80028ec9c9752 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 f230bd909da1e..b26403250974e 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 3673ad641683d..31a032fe2d273 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 36dc817b38488..714e99cf1cede 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 98c7e97a79756..db55febc64b67 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 5d01954256f33..1f9a146c5720b 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 ee81c6076ef07..f3785d879a97c 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 3ddcb09a8f1a8..fe76277d505d9 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 270d56122c554..5776a99713960 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 7af1ecb3e3b7b..fbf5d6833686c 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 fd5805621be89..4a73a91cd1793 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 443b2c1ed452d..def87ae38a3f1 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 59a9afd8e479e..25c423e7715ac 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 2072f1435a968..03f61241c904b 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 1e39d0fc97ec6..62430becdf6a9 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 d35487423c72b..4d57aa79c6203 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 6cb371f2fb708..baca719d57d90 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 55292880594c3..3a7c8e9be8b5f 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 553c04ba16e3b..2c011005222da 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 581d66ed0b4e4..9d3023f6967d8 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 e8d1fafba536f..c0efd42f495fe 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 6ac5d8d7a6d65..25e4ac9e4fcfe 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 6e061173f98b0..e7463f2354568 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 1f0c5fc24c263..cd2cab5061994 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 b15e51fd79ab0..f7913b121742a 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 28156afa8b03a..f5b0f8b890d57 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 b99595df01358..ddf730c39441e 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 935a3c16ab49c..4ccac85648a96 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 5d0a5608033b4..1213b84175eec 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 29abd59ca0628..220a77d4dc771 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 b8c83ce79cfa6..e7c374258e474 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 deea1734e4edd..2dd7c0d973ed6 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 0bad9caadb70e..a16482cd6ab5d 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 c326be3cee271..d1f919c326186 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 4c2749c640c39..9330046fa8994 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 c0782e6cf7da0..200c58d799915 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 cc7127d6e0525..a5292a2173df2 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 dfb2bef7f8629..6d72ffcf7e112 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 b59ede9bfb29d..1b28595816d0f 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 188bc4168dad8..e699f84a57c34 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 0ea86f362c02a..8bd0d41e8477f 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 fd358ba2eacc3..42ac13b8bd979 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 5c2100eaa00e2..26267221195d6 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 0c3b133c3308a..308b3e295dd1d 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 abd219460ec79..70301de688a84 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 97a4412f1093f..8d9bb45c8ed2e 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 f4996ca3bf75b..6c94e513cfefc 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 8d1cc1609caa9..f8a378e96f9c3 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 9e6ca152e13b1..13a2cd5048a81 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 b9a3310bf5944..be591a1d0196d 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 95d32d469a21f..1e04121b2b581 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 07554879b0258..75248b03b0fd7 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 f30884f01f776..3ddb560f5ff4d 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 cfe4b3143de54..7216315414166 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 03e58d153cafb..00464a981c955 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 0307c787a290d..ae9d1bbdf3458 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 ec280b015b472..e1e49cd1abb98 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 fb1c61bf11cae..096db1c49ae38 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 c30fe4a1e76bc..0a52f1534a1e0 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 1e22531422c00..9cd05eddd3e11 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 41326d15bec1e..0bc318d620bad 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 fea34b44a58ca..e32c3c4af3cd6 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 18054590aaa63..0a013067e4ae4 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 77628e36db01b..967c6039c0e41 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 ff78738860ab5..00a1f4d1c2014 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 90af163fab762..faaa9b270c074 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 01305baaf14aa..c545a8455441d 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 1b0281ead142a..51e137714925d 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 0c1e11c10c8b4..d4418db347752 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 e4a453329dca4..cc2609bc8625e 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 dfceea103998b..7651d3cd885f9 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 443e21b6db2ca..6b71088d9eec8 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 881c3ce41511b..da7f9c729810f 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 803480490e215..4c79caf7b4218 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 8087fbf934911..d6670897fe1fa 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 212eed6db4d19..c03a4850d3023 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 2ecc80bd83ba2..ec140fa894fca 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 d9e8df8819a02..b683f24de5342 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 5551883e72329..9446e3364e14f 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 8ae156c496524..7efda333093d8 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 b7d232cfb9ebe..b20f1a5c74fa4 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 5f5bd35b343a2..243970cb4e16e 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 1541e2d90501d..9b6cb8d2cd13f 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 e38519f261ecc..ef52e9770f2e0 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 d3dc6abecc966..e776f6c1ab916 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 cae79ea7cc64b..17e520cc98f60 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 76b8a068f1ed3..6ef623c4a9d8a 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 0d9a89ea74d23..4326176d2c060 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 73453d156acd5..0238e32355338 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 61e4447ecdf65..4f9962e0af67f 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 5972eb79cf5d3..c7c647d2973c7 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 76936a03365f8..29b840fdf174a 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 409266826ac69..1d29d71760cef 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 750dbea02b1e8..e9451d4d5108d 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 2adb54f80eedb..2555c5e44514e 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 0e11e789ef4a9..b3ffcaf9c2a35 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 6e27a21239411..14c13b4526c19 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 73e59cb6c10e2..0a05f39128705 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 73d4894c00994..fe7d353436fc7 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 0af9777eb5c5d..91be9d2f3b87a 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 0d50b5297e3ab..9e1a52be3bcb9 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 4d0c3a5305c85..d82829cd080a1 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 194bfbf397ce8..3b6e8839c22cd 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 e2cb6c6bc0eb0..5e2063a92d40b 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 f52f52824fe2d..3e84f935e02a5 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 54b113a66bc7d..001f108d766a4 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 5536a4929fb9b..d4ae41e6f638b 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 46969e93a5b15..4a0aa83449355 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 9735b27e90cf5..5894fb2de3f37 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 80531a166a581..d05c66d5b236a 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 9b955e020d073..a49c34eb7d747 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 912c4119f8697..0b922f04181d2 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 7a6333a051afc..fc1f17093b793 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 c76fd3e4f3b64..ee020feec33b7 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 156184b1b8723..24047c8fe3bb0 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 2bfb0c2107a21..668d4a77591ff 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 3bccb6eb657e6..e7d9baaa4ab8a 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 560960e93503a..cbab0f6f27860 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 986f6d50485e0..9fce68527aa45 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 d74cf5e8eb09f..6539d1e933d12 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 d5226671cdce7..c465c3bb0cbd1 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 e24d72c8f096b..8c8134b270a94 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 8b1256582c133..d9fc48a47f0c9 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 12d615a1ba577..47cb43ea09926 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 892f282445625..d374c54bcb226 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 13b7dc392ec79..0f4973db34a24 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 2a3c7be4457be..fe6436903a2f0 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 95d65cabda8ea..cd9fdee897dfc 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 85082ee3ff29f..ff6a00a2a1e95 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 d9fd7a3a4cf09..3c39a8d626704 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 612447cfb69d1..bfdcea4fae578 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 0fca7c4d9e265..52aa2b50393d8 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 3248a8453b8a5..83d85a37734e6 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 b9026a400582a..a74333f4ebbdf 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 27c215a831817..d11cab37f4b99 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 f14213572ef05..fac1c4f08d8e0 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 d01e874bc95a2..35ee8d5db1396 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 a0d3e351a30e8..13e8629dc2092 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 592d029df948b..28910e2a4d29e 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 1f3be7dd5ce7b..a097406071daf 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 c98d4659ac2c9..6668205485801 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 9a06fce5635f4..2f8a8e93391ef 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 37a67b70b4a97..f824cce924b67 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 167bab89b8cc8..87d152a320459 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 df98d320c588a..34da801762839 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 510739edcf031..3364a42bf46a4 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 c45d757f70028..560d00e3a13fa 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 b7aacaa250957..e0cf6ef5e9fd6 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 1742c7564bd5b..b20336bb67f33 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 9c01b24e8b26c..ff9aa15169240 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 294db366e1cbc..a83a90e6015fe 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 7052303758a3c..5356099703e5e 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 bab97e62bde47..14a07245e64dc 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 e70028a7546a1..2bb3467656667 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 4532bbec3ace4..ce84e245fd15a 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 d25cbc6293c19..fae38127a19fc 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 7200ccd75f1a8..9865f50a827cb 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 ca9511e73615e..71443d42a89e8 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 5c96c047fc8a5..d8024c49657e0 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 6703042a92148..fe28443a45099 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 3d9629202ff02..94c1315d10d1a 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 edbbb7d60f28f..17007089bf8c6 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 04b93ace3bfa3..c61a1855e1e87 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 f6d8f8a008c42..56efdf14efa4a 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 fa9781d6b7e0b..6991eeff5a5f4 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 a49c89e002990..a38ab77a31f05 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 e42b8c72df6c7..76a32016bae1c 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 16bc37e53e58d..d81715e6dfeec 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 8e181147b329b..65749701d07cb 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 11b0c1dcd1719..9cefb679d1672 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 d99ba634c1087..eae609c8e6a6a 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 a0884ae89817d..74e603f0613bd 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 f6cb9a8585283..ed68cbc1754ac 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 3a9e8b9683f69..e0d51d2e47967 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 c0f7e6c9d2654..40e9509cbef8c 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 75adaf2bd6efb..562aee964d6e8 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 25534e690e7b7..2ca2b49da16ee 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 5bb4872f556cf..dd0d7ff8737a4 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 2de965830394c..f13160907a90d 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 c8c1b4feb36ec..a95c49f9a2f4e 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 450cf0a97b205..8bab9a32ec59d 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 acc77d44f7353..4b876038c036e 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 81c7ac8e778ac..858dc4d784a3d 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 aa71b861b3ddc..c8bc70fd18dc3 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 312ea50b89f32..b887989837232 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 f5c71b7611a81..475917292651e 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 b2b726d25f01d..aa5cc3739b3f0 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 3bd55ab326acc..0e3472a151571 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 4572facf24c9b..32ee44ea2f9af 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 7497185b7d0c4..5a330abf6ffa2 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 9f67c6584d123..df92b08a4ea6a 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 d0de95ebc085d..3d462d95ab59b 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 04cf2ee690258..d4f016f28f7ec 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 a1aaaf6f03548..28650b4ff655c 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 2e6a61120dba3..3ce50a6903330 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 48023556fb71d..71d0460d2b311 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 d88cc13ac13fe..70434cc71753b 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 10963c20ff3e3..d906c5d1add04 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 7ee18f6a91eb9..3f2289b0a4e7f 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 c5ce31b93f6ac..363bc41189f38 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 1deee7bd46665..6a8425950585f 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 4e46a663a4ce6..eafe288ec492b 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 af1a35ab56a52..22b9ca295b56e 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 cc59e68095a5f..515dbea6d20a2 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 e61a53eade0c3..99a9cf4f1fa28 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 a6ee8fe6f3261..2f652efaf4575 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 3ff04d8c76521..9a94cd825907a 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 8a4648c227b63..18c4c2e6815dc 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 c8c28cecc16ff..5395bc6d6d24a 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 47240ea5f790c..3b9edb7caa8d8 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 6cb0929400a59..0c88107cea7eb 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 92db38bb95458..3f9318f4ae121 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 58f89373ebd52..b5ef239b09b54 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 b12ce85d7e796..59d7f160a10cf 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 8b951abf1f1e7..5380208f53f28 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 43896762a36c8..38f693c50c750 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 15f3300d2b8ac..737ca33222ff3 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 d18e66ac6b6de..769da3cecd3a1 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 add3dbc5845fe..91cb4f342ce27 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 fc76fccc9bc6e..88b10041e58ee 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 b526501286c93..4a01a2ba3200a 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 30940ca354e61..8f30828cfd083 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 1fda944d4d2fa..ffc59e4160393 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 e417ee5cdf498..f2885bab8dce3 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 e368cfe2639dc..24835bfe2a701 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 135015510823c..fdbc0650317bb 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 489ca58aa4490..c7b9e29f4f5c9 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 bc8b812f1e215..c2fc2c717f96b 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 7efac814d7938..3a7cc2b2bba91 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 4961422a440be..55a8b5394ba66 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 cfd0c2194a4fb..0c80290e569c1 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 f91133a5758d3..1602754e35ec5 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 8feb6db47fa27..9f652a3acd3da 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 686c74bc27567..e409f8582df6f 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 c2d3f0c141bfe..1a9a3c7eeec74 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 89639ba146121..442de26839f65 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 9885ffa4deafa..6be5af756a195 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 acf681bcfcd19..c98280c9ad01a 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 8239a75c5ec1c..671d33bcc5ecc 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 8841037ad6c2a..8c04423a583b0 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 8f0c442f6700f..0ed007d1720d2 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 caaa5dc53ed0c..efbccfd8084f2 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 9a64744e37c6b..1636ea249e1b5 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 ac79a90f87e3b..b277825d1bd78 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 1d9fa5f2b060f..d946a24271695 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 89beec92ddfd4..a2d3c6b9bd98e 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 9b7c233ffb543..ae0990632309d 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 40ad0e77449ea..aeb3ce4f1f484 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 939649b99fa3c..40b550cd015c5 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 aae5d745349aa..b3c3f38813425 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 4953ff21d7590..72d75d4c12210 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 37c9b63d9ce22..82b61731f0855 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 b7129e1d09a43..cc40fff214a2b 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 fc2e9ce9c174d..462c1267af4e9 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 21a73edd27893..9fd15be38f213 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 b12a3174659ae..b4edfb9ad86ee 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 0d4ff135c4bb7..967c0b2f2a9d3 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 1e75806099f48..181e70e9a1b44 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 a9dff6a970155..eafb44cc5114b 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 e258120adf68f..1dd688a52f519 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 c57e452ea24c0..49adc554ba8aa 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 8eeb98aeac84c..524003812be48 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 955f384610de0..226b1b786efb2 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 b6cf6681a83bc..7fe51f7df9045 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 83412f9d36213..3cc2aec06d716 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 e825cd12f10a8..c34bfc41fd2b8 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 2c79f03215912..c56e0ab1106b3 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 8e320e51c1148..e548b12a9c568 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 ce0f0438e2c21..190f53fc8921f 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 ffdc1af14e351..8a37ce457ca53 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 54a41d0862f04..59ad5ca9655ac 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 07af80d8b0075..1a990adec71aa 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 f030214d2a9a6..94748460ece91 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 ea473c0625c4b..5829afaeaca88 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 b5c65658b0c97..f2875f900b20f 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 336fb4038a130..0e87728e5ec59 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 26f8edd4591bb..e302e48d4ef07 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 d097cd1d1d6f3..7fb696a510fdb 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 6a2a9562a11f6..152ceaaae41f0 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 2bbcbdc9259e8..ed59d685bc65c 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 14c364b10de2b..21b643cb5e040 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 17d2394a4e8bc..d8cc62f0865bb 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 1cf0d1ca6cfa5..004d6befa33fb 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 1adce22ec3798..94f515513fc84 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 73039d39bb195..f1f11610a78c6 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 0148af053a43f..8a3029939419f 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 1c754e6256aae..b3f47fde09145 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 6f9c5aefc2bf4..2a551d28cb114 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 dbaaf7309bb0b..02e49141bdfd8 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 92b1b5ae6974e..aca5d1d69aa36 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 13f655fca510f..480569813411d 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 7ff54bb4bd6b8..bd64277258648 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 25d6274b5dd8f..94d44705f2c3e 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 fed2d76628d9d..1f77e60bfcdef 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 12505a1ef0568..3a2348e611d66 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 65657482bd484..1930f7e2e5706 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 d2550a84de381..db961d671b9cf 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 72a73f10d8db4..9ef4e96d178b4 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 3c578306c57e0..3a986ec2fb8ac 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 fd67688a368bf..87d40a15f0771 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 b06afc32b42ca..6bd1ee7f97f43 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 858be7b71c663..fe643aaa6dc1b 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 568dd86c9da49..0b59ca219af3e 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 0858e80f337ed..8a1a152c5daba 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 7505939302770..761636a8204b8 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 4b02545b871f1..d7c0f4352c5d3 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 e12efb265ead0..feec5abd8a190 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 eee17947a650b..61e92f253b9e1 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 2b6503232045b..5a43a2d1d0db1 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 406eabdb39fef..519a44e8f9839 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 d36e2d0f72a95..41ec1d4598e39 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 1f1738c33ce8f..5cffbc823a0ee 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 73bbda31d231c..d036396d792e2 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 182210836feb0..1c9e6423d9411 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 6fac72b0706f2..9cabf530a2e92 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 dcc6f0ff6e0ad..e06d6c18afbb8 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 abfc009447ef3..ca89aec1de032 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 18a12ec517d97..c1000378f5355 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 fd54ad50c421e..684448e2a44ad 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 9deb0d8a24ce8..611f0ebf3738d 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 53bc68a5c03b9..05a38c6c45097 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 6aee9d2337ae6..0e926eb16a7e4 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 b8629b4551fab..e9b5d26da1cd8 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 9f527f429968b..9d8719c345bf0 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 26a2e8e1d66d7..7e647546b02ca 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 e6a8a57d04098..7ea7a27b473cf 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 43ac79ecae4c7..8280a6ef09c11 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 df190de6cdaab..e18f27a9cd6d2 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 910f8a78c4077..6d0e4f25c2cb6 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 acf9c772f7b86..e021ecf4f5674 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 997ca14984735..df8b4b076da0a 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 d57db3dd46f8b..a5b32fe1d713d 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 599ccafb788d4..361a9c21f49d1 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 39ae2662676f0..eda3bc3256ddf 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 3f4f06306c328..ea37db3dcd5fb 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 a9e2a4c4753f1..23b605dbf0893 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 9a74f8386dbe7..7b2818cf600de 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 8cac26acb3e8f..6d2389f8ff50b 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 077c1a3f0d947..16cc48197f8f6 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 38cf78e4084df..e5d6e3e123f42 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 ef41967d88d18..b846aee32db44 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 32bc19392b56d..38990f880c650 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 591a800502ed1..08cd76424e968 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 98ce113cdc5e3..cf4fd6e1b3456 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 045b2ef04fb29..b639dd7562d28 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 5176759abec85..bf2b3b0fb6ed8 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 01c9ef7c982ec..780b1364f2d3f 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 042a5b77a17d0..cc75c11d48e90 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 a899368520184..8b8503eb1a78c 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 6870f6faaf568..f01980481cb2b 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 268f8b2510780..4c115b425a940 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 199b1b7fc4071..a357964aa85c3 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 fb09b08c02757..807be585958ae 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 ced093ca3f376..e8af90c532969 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 351a6fc2588f4..f18c198c59116 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 f6565f19339e8..1d5bd468e30d9 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 1364d9b00b620..865873c967d7a 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 1284a0c435895..7bbc88466c8b5 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 0c8635833475b..2ccd3ebe5ec20 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 2146bce77119d..55465eea61f50 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 1d47139c500ca..39c69c1b552c5 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 6361c5f586f80..687e53d3bece2 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 a8d2fc332398b..5ef4ffb86e057 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 efbd73c72d646..8b49a860fe312 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 3d94b9fd4ec68..753ab0be81380 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 9eda515b43a60..e13dd1b4c768c 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 452ee2fe40891..f8f8f063f2a43 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 4211b5073282b..93e2f710cc6cf 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 b03c9f33ec05c..d790a6e678d3f 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 d16f226fb6c96..294b4fe6b219f 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 39795e6adc711..70eb6a2499651 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 3bc88173ad590..2226ebf319a70 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 5d9ee6b154736..a00d1a138987b 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 d94d7e82d0edd..bcd5b00896baa 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 be5e83cef0c90..dde6be4eec735 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 f622bb3f0ec3c..14ba5c29c26b7 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 289be08cf5fc9..d285c64feb7de 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 6b3d945a5060e..1e19518eb4245 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 73ad723189a2e..304e7284512c7 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 56a5ac7db5ee4..4ed765e957017 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 a7d628124d5c6..f524276ea3c53 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 9621e689abf6a..e31439289c890 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 90c68f758da0e..8bc53a730befc 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 85a82da9f91a2..d43f20b1844c3 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 213696c77fc26..7c81975a41010 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 2345c05d53ecf..079370dce9889 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 db9e9109cdca1..062e0093e87d3 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 70db6456f6f08..9447afc88506b 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 55442c9cabf50..121b08f0e5b61 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 08b5adc790f9f..8253337c9d5b0 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 554132c13460c..b6738d6b1f2b3 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 f1f1aa6e424c6..f630aaf6dde32 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}