diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-03 02:10:50 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2020-01-03 02:10:57 -0600 |
commit | 37d63ed2593a65450a1f07f270f9561a6a69410b (patch) | |
tree | 2be5a121a9bb0eba4bc5619c3051209a816ea0ed | |
parent | a21c07cd7257bac0fa366f31e705887fe875dfab (diff) | |
download | slackbuilds-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>
-rw-r--r-- | games/mars/mars.SlackBuild | 7 |
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 ;; |