summaryrefslogtreecommitdiffstats
path: root/development/d-tools
diff options
context:
space:
mode:
Diffstat (limited to 'development/d-tools')
-rw-r--r--development/d-tools/d-tools.SlackBuild20
-rw-r--r--development/d-tools/d-tools.info10
2 files changed, 20 insertions, 10 deletions
diff --git a/development/d-tools/d-tools.SlackBuild b/development/d-tools/d-tools.SlackBuild
index 57881db20b..3c58df103d 100644
--- a/development/d-tools/d-tools.SlackBuild
+++ b/development/d-tools/d-tools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for D tools
@@ -22,12 +22,15 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=d-tools
-VERSION=${VERSION:-2.095.1}
+VERSION=${VERSION:-2.096.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DUB_VERSION=${DUB_VERSION:-1.24.1}
+DUB_VERSION=${DUB_VERSION:-1.25.0}
DSCANNER_VERSION=${DSCANNER_VERSION:-0.11.0}
DCD_VERSION=${DCD_VERSION:-0.13.1}
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -149,4 +159,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/d-tools/d-tools.info b/development/d-tools/d-tools.info
index e31f51f8e6..3dc632fad4 100644
--- a/development/d-tools/d-tools.info
+++ b/development/d-tools/d-tools.info
@@ -1,12 +1,12 @@
PRGNAM="d-tools"
-VERSION="2.095.1"
+VERSION="2.096.0"
HOMEPAGE="https://dlang.org"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.24.1.tar.gz \
- https://download.dlackware.com/hosted-sources/d-tools/tools-2.095.1.tar.gz \
+DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.25.0.tar.gz \
+ https://download.dlackware.com/hosted-sources/d-tools/tools-2.096.0.tar.gz \
https://download.dlackware.com/hosted-sources/d-tools/D-Scanner-0.11.0.tar.xz \
https://download.dlackware.com/hosted-sources/d-tools/DCD-0.13.1.tar.xz"
-MD5SUM="5d7eb278c6a101866954831a591bc682 \
- 08441a9ca3bef510310be0fb59a45cf1 \
+MD5SUM="60d031ed0e2054d721e44aea33bd0ca4 \
+ 00852d0d9aba131b990baeb025fbdf38 \
59426567074ca0505fd394b599e0879d \
3eebf17739f25c511c9957ade050bbe9"
DOWNLOAD_x86_64=""