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