[arch-commits] Commit in dfmt/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Sat Jan 5 14:52:07 UTC 2019
Date: Saturday, January 5, 2019 @ 14:52:06
Author: wild
Revision: 420678
upgpkg: dfmt 0.9.0-1
Updated to 0.9.0, building with ldc and linking with makepkg.conf's $LDFLAGS
Modified:
dfmt/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-05 14:40:45 UTC (rev 420677)
+++ PKGBUILD 2019-01-05 14:52:06 UTC (rev 420678)
@@ -1,16 +1,16 @@
# Maintainer: Dan Printzell <arch at vild.io>
pkgname=('dfmt')
-pkgver=0.8.3
+pkgver=0.9.0
pkgrel=1
-_pkgcommit=92d5e1ac8cef71be6538d4b8dc262970cf762f0a
+_pkgcommit=c3537a5d51c0d94389a5cb82dfa623726426e767
pkgdesc="Dfmt is a formatter for D source code"
arch=('x86_64')
url="https://github.com/dlang-community/dfmt"
license=("custom")
groups=('dlang')
-makedepends=('dmd' 'git')
-depends=('libphobos')
+makedepends=('ldc' 'git')
+depends=('liblphobos')
source=(
"git+https://github.com/dlang-community/dfmt#commit=$_pkgcommit"
@@ -36,11 +36,14 @@
git config submodule.beaver.url "$srcdir/beaver"
git config submodule.stdx-allocator.url "$srcdir/stdx-allocator"
git submodule update
+
+ _extraFlags="-O5 -flto=full -linker=gold -link-defaultlib-shared=false -L=\"$LDFLAGS\""
+ sed -i "/LDC_FLAGS \:=/ a override LDC_FLAGS += $_extraFlags" makefile
}
build() {
cd "$srcdir/dfmt"
- make
+ make ldc
}
package() {
More information about the arch-commits
mailing list