Fix typo in scripts/setup-ubuntu.sh
[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+=" libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses.
17 PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
18 PACKAGES+=" libtool-bin"
19 PACKAGES+=" lzip"
20 PACKAGES+=" python3.6"
21 PACKAGES+=" tar"
22 PACKAGES+=" unzip"
23 PACKAGES+=" m4"
24 PACKAGES+=" openjdk-8-jdk" # Used for android-sdk.
25 PACKAGES+=" pkg-config"
26 PACKAGES+=" python-docutils" # For rst2man, used by mpv.
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