Date: Monday, April 16, 2018 @ 21:06:11 Author: wild Revision: 316570
upgpkg: dub 1.8.1-1 Updated to 1.8.0 and uses ldc to gain a performance boost (~20-30% according to upstream) Modified: dub/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-16 20:55:47 UTC (rev 316569) +++ PKGBUILD 2018-04-16 21:06:11 UTC (rev 316570) @@ -4,7 +4,7 @@ # Contributor: Moritz Maxeiner <mor...@ucworks.org> pkgname=('dub') -pkgver=1.8.0 +pkgver=1.8.1 pkgrel=1 pkgdesc="Developer package manager for D programming language" arch=('x86_64') @@ -11,14 +11,13 @@ url="https://github.com/D-Programming-Language/dub" license=('MIT') groups=('dlang') -makedepends=('dmd') -depends=('libphobos' 'curl') +makedepends=('ldc') +depends=('liblphobos' 'curl') source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz") -sha512sums=('042c84266c3f8f49fe882f79eff3df6d8e83d9b9c93f6fde06b50212282a9e3ecd80f6b75c08c51f62a45f4aec409fff6022b0fe74ee1b0b0bcbf4d7d6930be0') +sha512sums=('e3aafbf3f8292b1e1c97c44107bef684caf86b0229c5630da1dcb47f8ff02377bfef2e813bb97fa06563b95842f846100aae61c5bc4123695b497c8b076179d6') build() { - DC=dmd cd "$pkgname-$pkgver" echo Generating version file... @@ -25,7 +24,7 @@ echo "module dub.version_;" > source/dub/version_.d echo "enum dubVersion = \"$pkgver\";" >> source/dub/version_.d - $DC -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt + ldmd2 -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl -release -flto=full -linker=gold -link-defaultlib-shared=false @build-files.txt } package() {