Commit | Line | Data |
---|---|---|
c6f5b04a FF |
1 | #!/bin/bash |
2 | set -e -u | |
4e963c62 FF |
3 | |
4 | PACKAGES="" | |
ba198479 | 5 | PACKAGES+=" ant" # Used by apksigner. |
c6f5b04a FF |
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" | |
c6f5b04a FF |
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. | |
6376c142 | 31 | |
88183689 | 32 | DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES |
4e963c62 FF |
33 | |
34 | sudo mkdir -p /data/data/com.termux/files/usr | |
88183689 | 35 | sudo chown -R `whoami` /data |