[arch-commits] Commit in dmd/trunk (PKGBUILD dmd-doc.desktop)

Dan Printzell wild at archlinux.org
Sat Mar 16 23:03:14 UTC 2019


    Date: Saturday, March 16, 2019 @ 23:03:14
  Author: wild
Revision: 442253

upgpkg: dmd 1:2.085.0-1

Updated to 2.085.0

Modified:
  dmd/trunk/PKGBUILD
  dmd/trunk/dmd-doc.desktop

-----------------+
 PKGBUILD        |   10 ++++------
 dmd-doc.desktop |    2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-16 22:40:36 UTC (rev 442252)
+++ PKGBUILD	2019-03-16 23:03:14 UTC (rev 442253)
@@ -11,7 +11,7 @@
 pkgdesc='D programming language compiler and standard library'
 groups=('dlang' 'dlang-dmd')
 pkgbase=dmd
-pkgver=2.084.1
+pkgver=2.085.0
 pkgrel=1
 epoch=1
 arch=('x86_64')
@@ -27,10 +27,10 @@
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
-            '7af3b28db8ee7d6de5f8dc53827dd9ea1520830da373c07d26cf974c2038d8db'
+            '25d53bb87ff337f99984fcf77d4216d0b9af53ce9dfaf1c3fadf9c3959338487'
             'SKIP'
             '3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-            '19c9cd3670bdef7fbde88de36c459d940e6b7bacc2a5e48aefbfd1b2c1895e07')
+            '4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
 validpgpkeys=('AFC7DB45693D62BB472BF27BAB8FE924C2F7E724') # Martin Nowak <code at dawg.eu>
 noextract=("dmd.$pkgver.linux.tar.xz")
 
@@ -43,10 +43,8 @@
 
     # Add $LDFLAGS and $CXXFLAGS to the compilation
     # '-link-defaultlib-shared=false' statically links dmd to liblphobos
-    _linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed "s/,/ -L=/g")
-
     sed -i "/^CXXFLAGS :=/ a $CXXFLAGS \\\\" "$srcdir"/dmd/src/posix.mak
-    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false $_linkflags" "$srcdir"/dmd/src/posix.mak
+    sed -i "/^DFLAGS=/ a override DFLAGS += -link-defaultlib-shared=false -L=\"$LDFLAGS\"" "$srcdir"/dmd/src/posix.mak
     sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/druntime/posix.mak
     sed -i "/^DFLAGS=/ a override DFLAGS += $_linkflags" "$srcdir"/phobos/posix.mak
 }

Modified: dmd-doc.desktop
===================================================================
--- dmd-doc.desktop	2019-03-16 22:40:36 UTC (rev 442252)
+++ dmd-doc.desktop	2019-03-16 23:03:14 UTC (rev 442253)
@@ -2,6 +2,6 @@
 Type=Application
 Name=dmd/phobos documentation
 Comment=dmd compiler and phobos library documentation
-Exec=xdg-open /usr/share/d/html/d/language-reference.html
+Exec=xdg-open /usr/share/d/html/d/spec/intro.html
 Icon=dmd-doc
 Categories=Development;



More information about the arch-commits mailing list