Skip to content

Commit

Permalink
Enhancement: Document building on Arch
Browse files Browse the repository at this point in the history
This mainly makes it easy to locally build an Arch image for
testing.
  • Loading branch information
BenjamenMeyer committed Oct 21, 2023
1 parent 83b7582 commit e91a3ab
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,33 @@ function bootstrapOnFuntoo ()
make
}

function bootstrapOnArch ()
{
pacman -Sy --noconfirm \
cmake \
boost \
llvm \
clang \
gcc \
sdl \
sdl2 \
expat \
gtk3 \
libglvnd \
mesa \
python \
autoconf \
automake \
freeglut \
git \
libjpeg-turbo \
libpng \
libvorbis \
libxmu \
openal \
make
}

case "${LINUX_ID}" in
"debian")
bootstrapOnDebian
Expand Down Expand Up @@ -1542,6 +1569,9 @@ case "${LINUX_ID}" in
"funtoo")
bootstrapOnFuntoo
;;
"arch")
bootstrapOnArch
;;
*)
echo "Sorry, unrecognized/unsupported Linux distribution"
exit 2
Expand Down

0 comments on commit e91a3ab

Please sign in to comment.