Dan Printzell pushed to branch main at Arch Linux / Packaging / Packages / dub


Commits:
d306a72b by Dan Printzell at 2026-08-16T19:55:21+02:00
upgpkg: 1.42.0-1: Updated to 1.42.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = dub
        pkgdesc = Developer package manager for D programming language
-       pkgver = 1.41.0
+       pkgver = 1.42.0
        pkgrel = 1
        url = https://github.com/dlang/dub
        arch = x86_64
@@ -8,7 +8,7 @@ pkgbase = dub
        license = MIT
        makedepends = ldc
        depends = curl
-       source = 
dub-1.41.0.tar.gz::https://github.com/dlang/dub/archive/v1.41.0.tar.gz
-       sha512sums = 
27e531c51dea57458d2b9bb666ae3ef3c3ba9d5cd75427e19fd6272af62164a98fce0a5e85af2abbbf4e1561906aef11d616ba721d281b0ea2c579a272bbf90c
+       source = 
dub-1.42.0.tar.gz::https://github.com/dlang/dub/archive/v1.42.0.tar.gz
+       sha512sums = 
ec722a3baf6e111714111abc7bf0178216a1cb59ee5ff32a7faf84a1417be8609746d4f83f532b20c037b3af2f2dae3f69f542730a41e08520e27d3525e79d69
 
 pkgname = dub


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 # Contributor: Moritz Maxeiner <[email protected]>
 
 pkgname=dub
-pkgver=1.41.0
+pkgver=1.42.0
 pkgrel=1
 pkgdesc="Developer package manager for D programming language"
 arch=('x86_64')
@@ -14,12 +14,13 @@ groups=('dlang')
 makedepends=('ldc')
 depends=('curl')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/dub/archive/v$pkgver.tar.gz";)
-sha512sums=('27e531c51dea57458d2b9bb666ae3ef3c3ba9d5cd75427e19fd6272af62164a98fce0a5e85af2abbbf4e1561906aef11d616ba721d281b0ea2c579a272bbf90c')
+sha512sums=('ec722a3baf6e111714111abc7bf0178216a1cb59ee5ff32a7faf84a1417be8609746d4f83f532b20c037b3af2f2dae3f69f542730a41e08520e27d3525e79d69')
 
 build() {
        cd "$pkgname-$pkgver"
 
-       GITVER=$pkgver DMD=ldmd2 ldmd2 -run build.d -release -O3 -linker=gold 
--flto=thin -link-defaultlib-shared=false -L--build-id
+       _ldFlags="$(echo -ne $LDFLAGS | sed -e 's/-Wl,/-L=/g' -e 
's/=auto/=full/' -e 's/\(-L=-z\),\([a-z-]*\)/\1 -L=\2/g')"
+       GITVER=$pkgver DMD=ldmd2 ldmd2 -run build.d -release -O3 $_ldFlags 
-link-defaultlib-shared=false -L--build-id
 
        # Build man pages
        bin/dub --single scripts/man/gen_man.d



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dub/-/commit/d306a72bdc3e89883a2aa214a989bf0660febbea

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dub/-/commit/d306a72bdc3e89883a2aa214a989bf0660febbea
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to