extra/dtools to 2.107.1-1

This commit is contained in:
Kevin Mihelich 2024-03-11 23:03:52 +00:00
parent 209dde5a40
commit 4cb431f9d9
2 changed files with 8 additions and 8 deletions

View file

@ -1,11 +1,11 @@
pkgbase = dtools
pkgdesc = Ancilliary tools for the D programming language
pkgver = 2.107.0
pkgver = 2.107.1
pkgrel = 1
url = https://www.dlang.org
arch = x86_64
groups = dlang
license = Boost
license = BSL-1.0
makedepends = dmd
makedepends = libphobos
depends = curl
@ -15,7 +15,7 @@ pkgbase = dtools
conflicts = ddemangle
conflicts = dustmite
conflicts = rdmd
source = dtools-2.107.0.tar.gz::https://github.com/dlang/tools/archive/v2.107.0.tar.gz
sha512sums = 7e12f29eb230d7160b985bb6f892b8b267d51bdab96c9f75ab0d80d9fea596c106253f2673bfc54084f343116751c827e83aa8a27cad77c71b3475a0f9b2806d
source = dtools-2.107.1.tar.gz::https://github.com/dlang/tools/archive/v2.107.1.tar.gz
sha512sums = a6500e583302c156a3e39a91e6fb8740a42e70307c211ec889824b30b78302b2a897a8f87ff8c3b05a8d99552e014d09bfc09c963811f492c16adfd7056b2299
pkgname = dtools

View file

@ -9,10 +9,10 @@
# - use ldmd in build() (ldmd is LDC's DMD-compatible entry point)
pkgname=dtools
pkgver=2.107.0
pkgver=2.107.1
pkgrel=1
pkgdesc='Ancilliary tools for the D programming language'
license=('Boost')
license=('BSL-1.0')
groups=('dlang')
arch=('x86_64')
url='https://www.dlang.org'
@ -21,13 +21,13 @@ provides=('ddemangle' 'dustmite' 'rdmd')
conflicts=('ddemangle' 'dustmite' 'rdmd')
depends=('curl' 'liblphobos')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/tools/archive/v$pkgver.tar.gz")
sha512sums=('7e12f29eb230d7160b985bb6f892b8b267d51bdab96c9f75ab0d80d9fea596c106253f2673bfc54084f343116751c827e83aa8a27cad77c71b3475a0f9b2806d')
sha512sums=('a6500e583302c156a3e39a91e6fb8740a42e70307c211ec889824b30b78302b2a897a8f87ff8c3b05a8d99552e014d09bfc09c963811f492c16adfd7056b2299')
build() {
DMD=ldmd
# 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=auto//")
_linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed -e "s/-Wl,/-L=/g" -e "s/,/ -L=/g" -e "s/-flto=auto//")
cd tools-$pkgver
# rdmd is used to build others