summaryrefslogtreecommitdiff
path: root/games/d2x-rebirth/d2x-rebirth.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:57:12 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2013-11-10 07:57:12 +0100
commit5693d96433f1410b88cf4eb76c506be0d133ee0e (patch)
tree03b4131a15af2e148b1839698f351ae91d4a6468 /games/d2x-rebirth/d2x-rebirth.SlackBuild
parente33b94e2cecd3117e9be556900082b774d1abf51 (diff)
downloadslackbuilds-5693d96433f1410b88cf4eb76c506be0d133ee0e.tar.gz
games/d2x-rebirth: Updated for version 0.58.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/d2x-rebirth/d2x-rebirth.SlackBuild')
-rw-r--r--games/d2x-rebirth/d2x-rebirth.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/d2x-rebirth/d2x-rebirth.SlackBuild b/games/d2x-rebirth/d2x-rebirth.SlackBuild
index 89a0bea41b..6ef4dfed8d 100644
--- a/games/d2x-rebirth/d2x-rebirth.SlackBuild
+++ b/games/d2x-rebirth/d2x-rebirth.SlackBuild
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=d2x-rebirth
-VERSION=${VERSION:-0.57.3}
+VERSION=${VERSION:-0.58.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAME=${SRCNAME:-d2x-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 \) \