This package downloads stuff in build(). This should not happen.
If you cannot make this download happening through the source array, try to move it to prepare() so that build() can run in an offline environment:
==> Starting build()...
[...]
-- Installing: /var/cache/makepkg/build/curl-impersonate-chrome/src/curl-impersonate-1.0.0rc2/build/brotli-1.1.0/out/installed/lib/pkgconfig/libbrotlienc.pc
make[1]: Leaving directory '/var/cache/makepkg/build/curl-impersonate-chrome/src/curl-impersonate-1.0.0rc2/build/brotli-1.1.0/out'
curl -L https://github.com/google/boringssl/archive/673e61fc215b178a90c0e67858bbf162c8158993.zip \
-o boringssl-673e61fc215b178a90c0e67858bbf162c8158993.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 48.3M 0 48.3M 0 0 5140k 0 --:--:-- 0:00:09 --:--:-- 6536k
unzip -q -o boringssl-673e61fc215b178a90c0e67858bbf162c8158993.zip
# mv boringssl boringssl-673e61fc215b178a90c0e67858bbf162c8158993
cd boringssl-673e61fc215b178a90c0e67858bbf162c8158993/
for p in /var/cache/makepkg/build/curl-impersonate-chrome/src/curl-impersonate-1.0.0rc2/build/../patches/boringssl.patch; do patch -p1 < $p; done
[...]
Regards and thanks for the package!
Pinned Comments
mattf commented on 2025-05-08 09:29 (UTC) (edited on 2025-05-08 09:32 (UTC) by mattf)
Upstream has now made it possible to build both firefox and chrome (including safari, chrome_android) all together, so I would encorage using this package from now on instead: https://aur.archlinux.org/packages/curl-impersonate