aboutsummaryrefslogtreecommitdiff
path: root/games/d2x-rebirth/d2x-rebirth.SlackBuild
diff options
context:
space:
mode:
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 89a0bea41b210..6ef4dfed8d635 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 \) \