Add scripts/setup-archlinux.sh similar to setup-ubuntu.sh (#1098)
authorpvagner <pvdeejay@gmail.com>
Fri, 30 Jun 2017 22:39:28 +0000 (00:39 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 30 Jun 2017 22:39:28 +0000 (00:39 +0200)
scripts/setup-archlinux.sh [new file with mode: 0755]

diff --git a/scripts/setup-archlinux.sh b/scripts/setup-archlinux.sh
new file mode 100755 (executable)
index 0000000..895e16f
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/bash
+set -e -u
+
+PACKAGES=""
+PACKAGES+=" apache-ant" # Used by apksigner.
+PACKAGES+=" asciidoc"
+PACKAGES+=" automake"
+PACKAGES+=" bison"
+PACKAGES+=" clang" # Used by golang, useful to have same compiler building.
+PACKAGES+=" curl" # Used for fetching sources.
+PACKAGES+=" ed" # Used by bc
+PACKAGES+=" flex"
+PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
+PACKAGES+=" git" # Used by the neovim build.
+PACKAGES+=" help2man"
+PACKAGES+=" intltool" # Used by qalc build.
+PACKAGES+=" glib2" # Provides 'glib-genmarshal' which the glib build uses.
+PACKAGES+=" libtool"
+#PACKAGES+=" ncurses5-compat-libs" # Used by mariadb for host build part. - only available in aur
+PACKAGES+=" lzip"
+PACKAGES+=" python"
+PACKAGES+=" tar"
+PACKAGES+=" unzip"
+PACKAGES+=" m4"
+PACKAGES+=" jre8-openjdk-headless" # Used for android-sdk.
+PACKAGES+=" pkg-config"
+PACKAGES+=" python-docutils" # For rst2man, used by mpv.
+PACKAGES+=" python-setuptools" # Needed by at least asciinema.
+PACKAGES+=" scons"
+PACKAGES+=" texinfo"
+PACKAGES+=" xmlto"
+#PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
+
+sudo pacman -Syq --noconfirm $PACKAGES
+
+sudo mkdir -p /data/data/com.termux/files/usr
+sudo chown -R `whoami` /data
+
+echo "Please also install ncurses5-compat-libs and makedepend packages from the AUR before continuing"