Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 11:54:35 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 11:54:35 +0200
commit89af8fca555fabd73860aea96f0492fc11177714 (patch)
tree79197ffbd5bdfeb9d2d8f6ffeaf5115f3c53cae1
parent58fb713daca8368b897a87c39c6449cba0f4601f (diff)
extract_source_directory: download from cache
-rwxr-xr-xlib/common-functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 0658f24..4e194de 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -466,8 +466,7 @@ extract_source_directory() {
if [ -n "${revision}" ] \
&& [ "${revision}" != '0000000000000000000000000000000000000000' ]; then
- # TODO: use cache, here
- curl -LSs "https://gitlab.archlinux.org/archlinux/packaging/packages/${pkgbase_translated}/-/archive/${revision}/${pkgbase_translated}-${revision}.tar.gz" \
+ curl -LSs "https://buildmaster.archlinux32.org/upstrea-packages/${pkgbase_translated}-${revision}.tar.gz" \
|tar -xz --strip-components=1 -C "${output}" -- "${pkgbase_translated}-${revision}"
printf '\n' >> \
"${output}/PKGBUILD"