[arch-commits] Commit in dscanner/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Thu Apr 26 18:16:17 UTC 2018
Date: Thursday, April 26, 2018 @ 18:16:13
Author: wild
Revision: 318190
upgpkg: dscanner 0.5.2-1
Updated to 0.5.2 and use ldc to gain a performance boost
Modified:
dscanner/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-26 18:15:49 UTC (rev 318189)
+++ PKGBUILD 2018-04-26 18:16:13 UTC (rev 318190)
@@ -2,16 +2,16 @@
# Maintainer: Dan Printzell <arch at vild.io>
pkgname=('dscanner')
-pkgver=0.5.1
+pkgver=0.5.2
pkgrel=1
-_pkgcommit=6ca59c71a2d0d7355eb43bdbb2ace60e43208718
+_pkgcommit=dae286504c15b997529d3e07f37fcd177519f61f
pkgdesc="Swiss-army knife for D source code"
arch=('x86_64')
url="https://github.com/dlang-community/D-Scanner"
license=("custom")
groups=('dlang')
-makedepends=('dmd' 'git')
-depends=('libphobos')
+makedepends=('ldc' 'git')
+depends=('liblphobos')
source=(
"git+https://github.com/dlang-community/D-Scanner#commit=$_pkgcommit"
@@ -43,11 +43,14 @@
git config submodule.libddoc.url "$srcdir/libddoc"
git config submodule.stdx-allocator.url "$srcdir/stdx-allocator"
git submodule update
+
+ # Only LDC have -O5
+ sed -i "s/-O5/-O5 -flto=full -linker=gold -link-defaultlib-shared=false/g" makefile
}
build() {
cd "$srcdir/D-Scanner"
- make
+ make ldc
}
package() {
More information about the arch-commits
mailing list