summaryrefslogtreecommitdiff
path: root/games/gemdropx/gemdropx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/gemdropx/gemdropx.SlackBuild')
-rw-r--r--games/gemdropx/gemdropx.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/games/gemdropx/gemdropx.SlackBuild b/games/gemdropx/gemdropx.SlackBuild
index 7fe3fcf7a0..cd542e2ece 100644
--- a/games/gemdropx/gemdropx.SlackBuild
+++ b/games/gemdropx/gemdropx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Gem Drop X
-# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
+# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,17 +26,12 @@
set -e
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit 1
-fi
-
PRGNAM=gemdropx
VERSION=0.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}