From edcaeae4b31e6319fcadc2f4c717d2dd243203da Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 11 Oct 2017 07:02:21 +0200 Subject: [PATCH] development/dmd: Updated for version 2.076.1 Signed-off-by: Willy Sudiarto Raharjo --- development/dmd/dmd.SlackBuild | 27 +++++++++++++-------------- development/dmd/dmd.info | 6 +++--- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/development/dmd/dmd.SlackBuild b/development/dmd/dmd.SlackBuild index f6b0fe828c..c58984dcda 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.076.0} +VERSION=${VERSION:-2.076.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,29 +64,28 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir $PKG/etc -sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/d|g" \ - -e "s|%@P%/../lib32|/usr/lib|" \ - -e "s|%@P%/../lib64|/usr/lib64|" \ - linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf -rm linux/bin${ARCHSUFFIX}/dmd.conf +sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/dmd|g" \ + -e "s|%@P%/../lib32|/usr/lib|" \ + -e "s|%@P%/../lib64|/usr/lib64|" \ + linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf mkdir -p $PKG/usr/bin -rm -f linux/bin${ARCHSUFFIX}/README.TXT -mv linux/bin${ARCHSUFFIX}/* $PKG/usr/bin +mv linux/bin${ARCHSUFFIX}/{dmd,dumpobj,obj2asm,ddemangle,dustmite,rdmd,dub} \ + $PKG/usr/bin -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/d +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/dmd # Runtime. -mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/d -find $PKG/usr/include/d -name "*.S" -print0 | xargs -0 rm +mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/dmd +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/d -mv src/phobos/etc/* $PKG/usr/include/d/etc +mv src/phobos/std $PKG/usr/include/dmd +mv src/phobos/etc/* $PKG/usr/include/dmd/etc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv html/* $PKG/usr/doc/$PRGNAM-$VERSION +mv html/d/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/dmd/dmd.info b/development/dmd/dmd.info index 01f4970b7a..da0bfa8b0a 100644 --- a/development/dmd/dmd.info +++ b/development/dmd/dmd.info @@ -1,8 +1,8 @@ PRGNAM="dmd" -VERSION="2.076.0" +VERSION="2.076.1" HOMEPAGE="https://dlang.org" -DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz" -MD5SUM="66f807874cbe954e44f73df379bf26fc" +DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.076.1/dmd.2.076.1.linux.tar.xz" +MD5SUM="e06b0348b82b230328fa958b3cb98055" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""