diff options
author | Eugen Wissner <belka@caraus.de> | 2019-05-27 09:36:21 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-30 08:20:07 +0700 |
commit | 13dc7e800c7ac8aa64c6a54b59e9b0c8fa893d63 (patch) | |
tree | 5d14ef26f00f26801311cc23776fe219d67adee6 /development/d-tools/d-tools.SlackBuild | |
parent | 48d1a4aefdfacba7afcccba99cdf1b6e7539b7ec (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/d-tools.SlackBuild')
-rw-r--r-- | development/d-tools/d-tools.SlackBuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/development/d-tools/d-tools.SlackBuild b/development/d-tools/d-tools.SlackBuild index 9654064e0011..e00eea9b61ba 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 |