From 37d63ed2593a65450a1f07f270f9561a6a69410b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 3 Jan 2020 02:10:50 -0500 Subject: games/mars: Fixed PRGNAM in build script. Signed-off-by: B. Watson Signed-off-by: Robby Workman --- games/mars/mars.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'games/mars') 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 ;; -- cgit v1.2.3