Created
August 5, 2025 15:31
-
-
Save rhenning/6207f20ba1c59265abb998ea314c7a0d to your computer and use it in GitHub Desktop.
custom dlagent patch for chirp-next AUR package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 09f20a4..09fa994 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -7,7 +7,7 @@ | |
pkgname=chirp-next | |
pkgver=20250801 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="GUI tool for programming ham radios" | |
arch=('any') | |
url="https://chirpmyradio.com/projects/chirp/wiki/Home" | |
@@ -24,6 +24,10 @@ source=("${pkgname}-${pkgver}.tar.gz::https://archive.chirpmyradio.com/chirp_nex | |
# Checksums: https://archive.chirpmyradio.com/chirp_next/next-$pkgver/SHA1SUM | |
sha1sums=('5757abf47b454e0bc54bfd5873a558db4242d124') | |
+# User-Agent override workaround for nitpicky Cloudflare config; see: | |
+# https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Custom_DLAGENTS | |
+DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u") | |
+ | |
build() { | |
cd "chirp-${pkgver}" | |
python -m build --wheel --no-isolation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment