Skip to content

Commit

Permalink
Added support for 'pacman' package manager in linux setup script
Browse files Browse the repository at this point in the history
pacman is the package manager for many arch based distros
Headers are generally provided with binaries so *-devel isn't required
  • Loading branch information
rathod-sahaab authored and morevnaproject committed Mar 13, 2019
1 parent 7d80197 commit a6476f2
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions 1-setup-linux-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,47 @@ elif which zypper >/dev/null; then
echo "Running zypper (you need root privelegies to do that)..."
su -c "zypper install $PKG_LIST" || true
fi
elif which pacman >/dev/null; then
#
# Arch Linux
#
PKG_LIST="git \
atk \
automake autoconf \
boost \
bzip2 \
cairo \
freetype2 \
fftw \
fontconfig \
gtk3 \
gettext \
gtkmm3 \
glibmm \
gcc \
imagemagick \
jack \
libxml2 \
libxml++ \
libxml++2.6 \
libtiff \
libx11 libxext libxt libxi libxinerama libxfixes libxdamage libxcomposite libxcursor libxft libxrender libxrandr \
libtool \
libpng \
libsigc++ \
libjpeg \
libmng \
openexr \
ocl-icd \
opencl-headers \
pango \
sdl \
sdl2 \
shared-mime-info"
echo "Running pacman (you need root previllages to do that)..."
echo
sudo pacman -S --needed --noconfirm $PKG_LIST || true

else
echo "WARNING: This build script does not works with package mangement systems other than yum, zypper or apt! You should install dependent packages manually."
echo "REQUIRED PACKAGES: "
Expand Down

0 comments on commit a6476f2

Please sign in to comment.