Updated to 2.099.0

This commit is contained in:
Dan Printzell 2022-03-17 18:24:34 +00:00
parent 3bb19317ae
commit 019a847c29

View File

@ -3,8 +3,8 @@
# Contributor: Mihails Strasunse <public@dicebot.lv>
pkgname=dtools
pkgver=2.098.1
pkgrel=2
pkgver=2.099.0
pkgrel=1
pkgdesc='Ancilliary tools for the D programming language'
license=('Boost')
groups=('dlang')
@ -15,13 +15,13 @@ provides=('ddemangle' 'dustmite' 'rdmd')
conflicts=('ddemangle' 'dustmite' 'rdmd')
depends=('curl')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/tools/archive/v$pkgver.tar.gz")
sha512sums=('a7e96cb38c95d910307c0fefa3840f8315799d4713e6c7ec591bd37863683962aede4359c7114b715a760b438df540dfc42e8da8394b1f4c892384e21fe7575e')
sha512sums=('0c92fa2974d92dd741f0cfcc2a7f3320917d2c5220af0ffff87d544a08f8cc713e84fa5ad46db40f32c883da4c450e27bfc046ac237c20169f9d405549756941')
build() {
DMD=dmd
# Add $LDFLAGS to the compilation, and remove -flto
_linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto//")
_linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto=auto//")
cd tools-$pkgver
# rdmd is used to build others