| 1 | #!/bin/bash |
| 2 | set -e -u |
| 3 | |
| 4 | PACKAGES="" |
| 5 | PACKAGES+=" apache-ant" # Used by apksigner. |
| 6 | PACKAGES+=" asciidoc" |
| 7 | PACKAGES+=" automake" |
| 8 | PACKAGES+=" bison" |
| 9 | PACKAGES+=" clang" # Used by golang, useful to have same compiler building. |
| 10 | PACKAGES+=" curl" # Used for fetching sources. |
| 11 | PACKAGES+=" ed" # Used by bc |
| 12 | PACKAGES+=" flex" |
| 13 | PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses. |
| 14 | PACKAGES+=" git" # Used by the neovim build. |
| 15 | PACKAGES+=" help2man" |
| 16 | PACKAGES+=" intltool" # Used by qalc build. |
| 17 | PACKAGES+=" glib2" # Provides 'glib-genmarshal' which the glib build uses. |
| 18 | PACKAGES+=" libtool" |
| 19 | #PACKAGES+=" ncurses5-compat-libs" # Used by mariadb for host build part. - only available in aur |
| 20 | PACKAGES+=" lzip" |
| 21 | PACKAGES+=" python" |
| 22 | PACKAGES+=" tar" |
| 23 | PACKAGES+=" unzip" |
| 24 | PACKAGES+=" m4" |
| 25 | PACKAGES+=" jre8-openjdk-headless" # Used for android-sdk. |
| 26 | PACKAGES+=" pkg-config" |
| 27 | PACKAGES+=" python-docutils" # For rst2man, used by mpv. |
| 28 | PACKAGES+=" python-setuptools" # Needed by at least asciinema. |
| 29 | PACKAGES+=" scons" |
| 30 | PACKAGES+=" texinfo" |
| 31 | PACKAGES+=" xmlto" |
| 32 | #PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses. |
| 33 | PACKAGES+=" expat" # Needed by ghostscript |
| 34 | PACKAGES+=" libjpeg-turbo" # Needed by ghostscript |
| 35 | |
| 36 | sudo pacman -Syq --noconfirm $PACKAGES |
| 37 | |
| 38 | sudo mkdir -p /data/data/com.termux/files/usr |
| 39 | sudo chown -R `whoami` /data |
| 40 | |
| 41 | echo "Please also install ncurses5-compat-libs and makedepend packages from the AUR before continuing" |