aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/devilutionx/devilutionx.SlackBuild15
-rw-r--r--games/devilutionx/devilutionx.info2
2 files changed, 9 insertions, 8 deletions
diff --git a/games/devilutionx/devilutionx.SlackBuild b/games/devilutionx/devilutionx.SlackBuild
index 92dbc853475c..482e80dc26ea 100644
--- a/games/devilutionx/devilutionx.SlackBuild
+++ b/games/devilutionx/devilutionx.SlackBuild
@@ -24,15 +24,12 @@
cd $(dirname $0) ; CWD=$(pwd)
-PKGNAM=devilutionX
PRGNAM=devilutionx
+SRCNAM=devilutionX
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKGNAM
-OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,6 +44,10 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -66,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PKGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/games/devilutionx/devilutionx.info b/games/devilutionx/devilutionx.info
index c2337d67a464..f145dad7c489 100644
--- a/games/devilutionx/devilutionx.info
+++ b/games/devilutionx/devilutionx.info
@@ -1,7 +1,7 @@
PRGNAM="devilutionx"
VERSION="1.3.0"
HOMEPAGE="https://github.com/diasurgical/devilutionX"
-DOWNLOAD="https://github.com/diasurgical/devilutionX/archive/1.3.0/devilutionx-1.3.0.tar.gz"
+DOWNLOAD="https://github.com/diasurgical/devilutionX/archive/1.3.0/devilutionX-1.3.0.tar.gz"
MD5SUM="23791a40dfc5b6fbe6a935a3b76d5bc3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""