Package Details: ntfy-alertmanager 0.3.0-1

Git Clone URL: https://aur.archlinux.org/ntfy-alertmanager.git (read-only, click to copy)
Package Base: ntfy-alertmanager
Description: A bridge between ntfy and Alertmanager
Upstream URL: https://hub.xenrox.net/~xenrox/ntfy-alertmanager
Licenses: AGPL3
Submitter: xenrox
Maintainer: xenrox
Last Packager: xenrox
Votes: 1
Popularity: 0.197624
First Submitted: 2023-07-19 23:57 (UTC)
Last Updated: 2024-05-27 12:09 (UTC)

Latest Comments

jab416171 commented on 2024-04-06 18:32 (UTC)

Please wrap LDFLAGS in quotes, like so:

diff --git a/PKGBUILD b/PKGBUILD
index 19d7561..6a3c8f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,7 +42,7 @@ build() {
         -trimpath \
         -mod=readonly \
         -modcacherw \
-        -ldflags "-linkmode external -X main.version=v${pkgver} -extldflags ${LDFLAGS}" \
+        -ldflags "-linkmode external -X main.version=v${pkgver} -extldflags \"${LDFLAGS}\"" \
         -o ntfy-alertmanager
 }