Dan Printzell pushed to branch main at Arch Linux / Packaging / Packages / dfmt
Commits:
cff735a4 by Dan Printzell at 2024-09-01T01:13:43+02:00
upgpkg: 0.15.2-1: Updated to 0.15.2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = dfmt
pkgdesc = Dfmt is a formatter for D source code
- pkgver = 0.15.1
- pkgrel = 2
+ pkgver = 0.15.2
+ pkgrel = 1
url = https://github.com/dlang-community/dfmt
arch = x86_64
groups = dlang
@@ -9,7 +9,7 @@ pkgbase = dfmt
makedepends = ldc
makedepends = git
depends = liblphobos
- source =
git+https://github.com/dlang-community/dfmt#commit=470e65f7cc19441c4d50932520aefb7d93f242d5
+ source =
git+https://github.com/dlang-community/dfmt#commit=d8e43e23eca0aa32f064fe7efe8e74a9efa8018e
source = git+https://github.com/dlang-community/libdparse
source = git+https://github.com/sociomantic-tsunami/makd
source = git+https://github.com/sociomantic-tsunami/beaver
=====================================
PKGBUILD
=====================================
@@ -1,9 +1,9 @@
# Maintainer: Dan Printzell <[email protected]>
pkgname=('dfmt')
-pkgver=0.15.1
-pkgrel=2
-_pkgcommit=470e65f7cc19441c4d50932520aefb7d93f242d5
+pkgver=0.15.2
+pkgrel=1
+_pkgcommit=d8e43e23eca0aa32f064fe7efe8e74a9efa8018e
pkgdesc="Dfmt is a formatter for D source code"
arch=('x86_64')
url="https://github.com/dlang-community/dfmt"
@@ -35,8 +35,8 @@ prepare() {
git config submodule.stdx-allocator.url "$srcdir/stdx-allocator"
git -c protocol.file.allow=always submodule update
- export _ldFlags="$(echo -ne $LDFLAGS | sed -e 's/-Wl,/-L=/g' -e
's/=auto/=full')"
- _extraFlags="-O5 -linker=gold -link-defaultlib-shared=false $_ldFlags"
+ _ldFlags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed -e
"s/-Wl,/-L=/g" -e "s/,/ -L=/g" -e "s/-flto=auto//")
+ _extraFlags="-link-defaultlib-shared=false $_ldFlags"
sed -i "/LDC_FLAGS \:=/ a override LDC_FLAGS += $_extraFlags" makefile
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dfmt/-/commit/cff735a41f259827e37a12376cb8df4fa6e28b24
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/dfmt/-/commit/cff735a41f259827e37a12376cb8df4fa6e28b24
You're receiving this email because of your account on gitlab.archlinux.org.