aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 02:27:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 02:10:57 -0600
commitcdb4181c9b38220c84b5467432a20ccb9c5f6b29 (patch)
treed7006010e52c1b9ad4961e3a3c3c3bb861cc99ff /games
parentb557451ae272ebc6ac8b3422c47bcccbbed3ab10 (diff)
games/mog: 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')
-rw-r--r--games/mog/mog.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/mog/mog.SlackBuild b/games/mog/mog.SlackBuild
index 2245bc39b9fd3..5097f9d6fe1e5 100644
--- a/games/mog/mog.SlackBuild
+++ b/games/mog/mog.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=mog.src
-PRGNAM=$(echo $SRCNAM | cut -c1-3)
+PRGNAM=mog
VERSION=${VERSION:-0.63.1548}
SRCVER=$(echo $VERSION | sed "s/.1548/-1548/")
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=$PRGNAM.src
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;