From 89af8fca555fabd73860aea96f0492fc11177714 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 11:54:35 +0200 Subject: extract_source_directory: download from cache --- lib/common-functions | 3 +-- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3-70-g09d2