development/dmd: Updated for version 2.076.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Eugen Wissner 2017-09-08 16:44:45 +02:00 committed by Willy Sudiarto Raharjo
parent 48e09a6fcb
commit cf656590c0
2 changed files with 12 additions and 5 deletions

View File

@ -23,7 +23,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dmd PRGNAM=dmd
VERSION=${VERSION:-2.075.1} VERSION=${VERSION:-2.076.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -75,8 +75,15 @@ rm -f linux/bin${ARCHSUFFIX}/README.TXT
mv linux/bin${ARCHSUFFIX}/* $PKG/usr/bin mv linux/bin${ARCHSUFFIX}/* $PKG/usr/bin
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/d mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/d
# Runtime.
mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/d
find $PKG/usr/include/d -name "*.S" -print0 | xargs -0 rm
# Phobos.
mv linux/lib${ARCHSUFFIX}/libphobos2.* $PKG/usr/lib${LIBDIRSUFFIX} mv linux/lib${ARCHSUFFIX}/libphobos2.* $PKG/usr/lib${LIBDIRSUFFIX}
mv src/{druntime/import/*,phobos/std} $PKG/usr/include/d mv src/phobos/std $PKG/usr/include/d
mv src/phobos/etc/* $PKG/usr/include/d/etc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv html/* $PKG/usr/doc/$PRGNAM-$VERSION mv html/* $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="dmd" PRGNAM="dmd"
VERSION="2.075.1" VERSION="2.076.0"
HOMEPAGE="https://dlang.org" HOMEPAGE="https://dlang.org"
DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.075.1/dmd.2.075.1.linux.tar.xz" DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz"
MD5SUM="285f7c1ae3a1a061331ff4dd6e855ac9" MD5SUM="66f807874cbe954e44f73df379bf26fc"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""