mariadb: Disable MariaDB Backup
[termux-packages] / scripts / setup-ubuntu.sh
1 #!/bin/bash
2 set -e -u
3
4 PACKAGES=""
5 PACKAGES+=" 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+=" flex"
12 PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
13 PACKAGES+=" git" # Used by the neovim build.
14 PACKAGES+=" help2man"
15 PACKAGES+=" intltool" # Used by qalc build.
16 PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
17 PACKAGES+=" libtool-bin"
18 PACKAGES+=" lzip"
19 PACKAGES+=" python3.6"
20 PACKAGES+=" tar"
21 PACKAGES+=" unzip"
22 PACKAGES+=" m4"
23 PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
24 PACKAGES+=" pkg-config"
25 PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
26 PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
27 PACKAGES+=" scons"
28 PACKAGES+=" texinfo"
29 PACKAGES+=" xmlto"
30 PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
31
32 DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
33
34 sudo mkdir -p /data/data/com.termux/files/usr
35 sudo chown -R `whoami` /data