[arch-commits] Commit in dcd/trunk (PKGBUILD)

Dan Printzell wild at archlinux.org
Thu Apr 26 17:56:37 UTC 2018


    Date: Thursday, April 26, 2018 @ 17:56:36
  Author: wild
Revision: 318171

upgpkg: dcd 0.9.3-1

Updated to 0.9.3 and use ldc to gain a performance boost

Modified:
  dcd/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-26 16:23:56 UTC (rev 318170)
+++ PKGBUILD	2018-04-26 17:56:36 UTC (rev 318171)
@@ -4,16 +4,16 @@
 # Contributor: Mihails Strasuns <public at dicebot.lv>
 
 pkgname=('dcd')
-pkgver=0.9.1
-pkgrel=2
-_pkgcommit=9f4c6ddaf43544682de37d864d33b52e9648ca10
+pkgver=0.9.3
+pkgrel=1
+_pkgcommit=15f5b119773a34cfe29f48bc0ff55c2d0255d33e
 pkgdesc="D Completion Daemon: auto-complete for the D programming language"
 arch=('x86_64')
 url="https://github.com/Hackerpilot/DCD"
 license=('GPL3')
 groups=('dlang')
-makedepends=('dmd' 'git')
-depends=('libphobos')
+makedepends=('ldc' 'git')
+depends=('liblphobos')
 
 source=(
 	"git+https://github.com/dlang-community/DCD#commit=$_pkgcommit"
@@ -44,12 +44,15 @@
 	git config submodule.libdparse.url "$srcdir/libdparse"
 	git config submodule.dsymbol.url "$srcdir/dsymbol"
 	git submodule update
+
+	# Only LDC have -O5
+	sed -i "/-O5/ a -flto=full -linker=gold -link-defaultlib-shared=false\\\\" makefile
 }
 
 build() {
 	cd "$srcdir/DCD"
 
-	make dmd
+	make ldc
 }
 
 package() {



More information about the arch-commits mailing list