summaryrefslogtreecommitdiff
path: root/games/mars/mars.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 02:10:50 -0500
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 02:10:57 -0600
commit37d63ed2593a65450a1f07f270f9561a6a69410b (patch)
tree2be5a121a9bb0eba4bc5619c3051209a816ea0ed /games/mars/mars.SlackBuild
parenta21c07cd7257bac0fa366f31e705887fe875dfab (diff)
downloadslackbuilds-37d63ed2593a65450a1f07f270f9561a6a69410b.tar.gz
games/mars: Fixed PRGNAM in build script.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/mars/mars.SlackBuild')
-rw-r--r--games/mars/mars.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/mars/mars.SlackBuild b/games/mars/mars.SlackBuild
index 13e6d54b2f..b05c250155 100644
--- a/games/mars/mars.SlackBuild
+++ b/games/mars/mars.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.
-SRCNAM=mars_source
-PRGNAM=$(echo $SRCNAM | cut -c1-4)
-SRCDIR=$(echo $PRGNAM-game)
+PRGNAM=mars
VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=${PRGNAM}_source
+SRCDIR=${PRGNAM}-game
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;