[arch-commits] Commit in dub/trunk (PKGBUILD)

Dan Printzell wild at gemini.archlinux.org
Sun Jan 23 01:00:08 UTC 2022


    Date: Sunday, January 23, 2022 @ 01:00:08
  Author: wild
Revision: 1113516

upgpkg: dub 1.27.0-2: Rebuilt with new pgp key

Modified:
  dub/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-23 00:59:53 UTC (rev 1113515)
+++ PKGBUILD	2022-01-23 01:00:08 UTC (rev 1113516)
@@ -1,4 +1,4 @@
-# Maintainer: Dan Printzell <arch at vild.io>
+# Maintainer: Dan Printzell <wild at archlinux.org>
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
 # Contributor: Mihails Strasuns <public at dicebot.lv>
 # Contributor: Moritz Maxeiner <moritz at ucworks.org>
@@ -5,7 +5,7 @@
 
 pkgname=dub
 pkgver=1.27.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Developer package manager for D programming language"
 arch=('x86_64')
 url="https://github.com/dlang/dub"
@@ -19,11 +19,7 @@
 build() {
 	cd "$pkgname-$pkgver"
 
-	echo Generating version file...
-	echo "module dub.version_;" > source/dub/version_.d
-	echo "enum dubVersion = \"$pkgver\";" >> source/dub/version_.d
-
-	ldmd2 -ofbin/dub -release -O5 -version=DubUseCurl -Isource -L-lcurl -L="$LDFLAGS" -release -flto=full -linker=gold -link-defaultlib-shared=false -L--build-id @build-files.txt
+	DMD=ldmd2 ldmd2 -run build.d -release -O3 -linker=gold --flto=thin -link-defaultlib-shared=false -L--build-id
 }
 
 package() {



More information about the arch-commits mailing list