aboutsummaryrefslogtreecommitdiff
path: root/games/d1x-rebirth/d1x-rebirth.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:56:46 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:56:46 +0100
commite33b94e2cecd3117e9be556900082b774d1abf51 (patch)
tree36ccafac764e8eca1787aab36ed8e23b77ccfdcd /games/d1x-rebirth/d1x-rebirth.SlackBuild
parentf236e92221f7509580c3c51cdd97b3153abea1d7 (diff)
games/d1x-rebirth: Updated for version 0.58.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/d1x-rebirth/d1x-rebirth.SlackBuild')
-rw-r--r--games/d1x-rebirth/d1x-rebirth.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/d1x-rebirth/d1x-rebirth.SlackBuild b/games/d1x-rebirth/d1x-rebirth.SlackBuild
index 777a4230dc7e8..fa82be4fab1a3 100644
--- a/games/d1x-rebirth/d1x-rebirth.SlackBuild
+++ b/games/d1x-rebirth/d1x-rebirth.SlackBuild
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=d1x-rebirth
-VERSION=${VERSION:-0.57.3}
+VERSION=${VERSION:-0.58.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAME=${SRCNAME:-d1x-rebirth_v0.57.3-src}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -61,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAME
-tar xvf $CWD/$SRCNAME.tar.gz
-cd $SRCNAME
+rm -rf ${PRGNAM}_v${VERSION}-src
+tar xvf $CWD/${PRGNAM}_v${VERSION}-src.tar.gz
+cd ${PRGNAM}_v${VERSION}-src
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \