A small factory that compiles Aria2.
It is recommended to install a clean and up-to-date macOS using Virtual Machine Tools.
Ex. Parallels Desktop + macOS Ventura
Then install the basic software, such as Homebrew, Xcode Command Line Tools etc.
# Git clone codes
git clone https://github.com/motrixapp/aria2-factory.git
# Based on the system arch, copy the build script.
ARCH=$(uname -m)
cp ./scripts/darwin/$ARCH/build.sh ./
# Make build.sh executable
chmod +x ./build.sh
# Go
sh ./build.sh
Prepare a Linux host with docker installed.
# Git clone codes
git clone https://github.com/motrixapp/aria2-factory.git
# Go
sh ./aria2-factory/scripts/[platform]/[arch]/build.sh