summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-03-03 08:29:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 19:16:17 +0700
commit0d311892d99eeb9e0bcdd61da682edcaf953e132 (patch)
treecb02be160da92e2004b05d154bf4b275d8001ff4
parent96d601a2b21608d5069a576bc94dbf1c10ab4129 (diff)
downloadslackbuilds-0d311892d99eeb9e0bcdd61da682edcaf953e132.tar.gz
development/dmd: Updated for version 2.079.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/dmd/dmd.SlackBuild11
-rw-r--r--development/dmd/dmd.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/development/dmd/dmd.SlackBuild b/development/dmd/dmd.SlackBuild
index ef8e7bcd5f..9ea53a1417 100644
--- a/development/dmd/dmd.SlackBuild
+++ b/development/dmd/dmd.SlackBuild
@@ -23,7 +23,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dmd
-VERSION=${VERSION:-2.078.3}
+VERSION=${VERSION:-2.079.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,7 +81,14 @@ find $PKG/usr/include/dmd -name "*.S" -print0 | xargs -0 rm
# Phobos.
mv linux/lib${ARCHSUFFIX}/libphobos2.* $PKG/usr/lib${LIBDIRSUFFIX}
mv src/phobos/std $PKG/usr/include/dmd
-mv src/phobos/etc/* $PKG/usr/include/dmd/etc
+mv src/phobos/etc/c $PKG/usr/include/dmd/etc
+rm -r $PKG/usr/include/dmd/etc/c/zlib
+
+# DMD.
+mv src/dmd/dmd $PKG/usr/include/dmd
+
+# Remove C/C++ sources.
+find $PKG/usr/include/dmd \( -name "*.c" -or -name "*.h" \) -print0 | xargs -0 rm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv html/d/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/dmd/dmd.info b/development/dmd/dmd.info
index 2c05ba9fc6..7f2af955b3 100644
--- a/development/dmd/dmd.info
+++ b/development/dmd/dmd.info
@@ -1,8 +1,8 @@
PRGNAM="dmd"
-VERSION="2.078.3"
+VERSION="2.079.0"
HOMEPAGE="https://dlang.org"
-DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.078.3/dmd.2.078.3.linux.tar.xz"
-MD5SUM="c61e8c03cd575dce53c3d5506c5d7753"
+DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.079.0/dmd.2.079.0.linux.tar.xz"
+MD5SUM="c1ab3b7aef5cd44f845135e3d279d2f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""