aboutsummaryrefslogtreecommitdiff
path: root/development/d-tools
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-05-27 09:36:21 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-30 08:20:07 +0700
commit13dc7e800c7ac8aa64c6a54b59e9b0c8fa893d63 (patch)
tree5d14ef26f00f26801311cc23776fe219d67adee6 /development/d-tools
parent48d1a4aefdfacba7afcccba99cdf1b6e7539b7ec (diff)
development/d-tools: Updated for version 2.086.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/d-tools')
-rw-r--r--development/d-tools/README1
-rw-r--r--development/d-tools/d-tools.SlackBuild21
-rw-r--r--development/d-tools/d-tools.info16
3 files changed, 29 insertions, 9 deletions
diff --git a/development/d-tools/README b/development/d-tools/README
index 4bab43bb34ea9..79c8ee33c1ae7 100644
--- a/development/d-tools/README
+++ b/development/d-tools/README
@@ -7,6 +7,7 @@ The following tools are included:
* rdmd - D build tool.
* dustmite - Test case minimization tool.
* D-Scanner - Swiss-army knife for D source code.
+* DCD - Auto-complete program.
By default DMD is used to build all tools but you can build them with GDC as
well. DMD is not required in this case. Specify $DC variable for that:
diff --git a/development/d-tools/d-tools.SlackBuild b/development/d-tools/d-tools.SlackBuild
index 9654064e00118..e00eea9b61bae 100644
--- a/development/d-tools/d-tools.SlackBuild
+++ b/development/d-tools/d-tools.SlackBuild
@@ -23,12 +23,13 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=d-tools
-VERSION=${VERSION:-2.085.1}
+VERSION=${VERSION:-2.086.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-DUB_VERSION=${DUB_VERSION:-1.14.0}
+DUB_VERSION=${DUB_VERSION:-1.15.0}
DSCANNER_VERSION=${DSCANNER_VERSION:-0.7.1}
+DCD_VERSION=${DCD_VERSION:-0.11.1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -124,6 +125,22 @@ case "$DC" in
esac
mv bin/dscanner $PKG/usr/bin
+# Build DCD.
+cd $TMP
+rm -rf DCD-$DCD_VERSION
+tar xvf $CWD/DCD-$DCD_VERSION.tar.xz
+cd DCD-$DCD_VERSION
+chown -R root:root .
+chmod -R u+w,go-w,a+rX-st .
+
+case "$DC" in
+ *gdc) make gdc
+ ;;
+ *) make dmd
+ ;;
+esac
+mv bin/dcd-{client,server} $PKG/usr/bin
+
# Copy documentation.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/d-tools/d-tools.info b/development/d-tools/d-tools.info
index 92883e3b3b334..e8abeb37c1155 100644
--- a/development/d-tools/d-tools.info
+++ b/development/d-tools/d-tools.info
@@ -1,12 +1,14 @@
PRGNAM="d-tools"
-VERSION="2.085.1"
+VERSION="2.086.0"
HOMEPAGE="https://dlang.org"
-DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.14.0.tar.gz \
- https://download.dlackware.com/hosted-sources/d-tools/tools-2.085.1.tar.gz \
- https://download.dlackware.com/hosted-sources/d-tools/D-Scanner-0.7.1.tar.xz"
-MD5SUM="846c2296f4c0a2f197e0c4af6fd7d8c3 \
- 634fadf961796486140c39d05c691218 \
- fda4167c48345741b9453d4d26ca51b3"
+DOWNLOAD="https://download.dlackware.com/hosted-sources/d-tools/dub-1.15.0.tar.gz \
+ https://download.dlackware.com/hosted-sources/d-tools/tools-2.086.0.tar.gz \
+ https://download.dlackware.com/hosted-sources/d-tools/D-Scanner-0.7.1.tar.xz \
+ https://download.dlackware.com/hosted-sources/d-tools/DCD-0.11.1.tar.xz"
+MD5SUM="c9bee373220fd054ac5c8bc0d85910e6 \
+ d91961e6cdba78572399a37909478e34 \
+ a1ed23533a626ab2c22bd51074292086 \
+ 692592b88d579c43620b83479ae2f3e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmd"