‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‏ (@duanluan)Arch 系 Linux 通过镜像加速 AUR 的 GitHub 请求 中发帖

# 安装 axel
sudo pacman -S axel
# 下载脚本文件
mkdir -p ~/.local/bin
curl -fL -o ~/.local/bin/github-mirror-axel.sh https://raw.githubusercontent.com/duanluan/shell-scripts/main/github-mirror-axel.sh
chmod +x ~/.local/bin/github-mirror-axel.sh

# 复制 /etc/pacman.conf 到个人目录,避免系统更新 pacman 包时覆盖
cp /etc/makepkg.conf ~/.makepkg.conf

# 修改 ~/.makepkg.conf
nano ~/.makepkg.conf

# 找到 DLAGENTS 部分,修改为如下内容
DLAGENTS=(...