-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-setup.sh
More file actions
executable file
·36 lines (27 loc) · 1.65 KB
/
env-setup.sh
File metadata and controls
executable file
·36 lines (27 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Installing packages
sudo apt update
sudo apt-get -y install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-9-aarch64-linux-gnu gcc-aarch64-linux-gnu libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc unzip bc ccache git imagemagick lib32readline-dev lib32z1-dev liblz4-tool pngquant libncurses5-dev libsdl1.2-dev libssl-dev libxml2 lzop pngcrush rsync schedtool squashfs-tools openjdk-8-jdk p7zip-full meld brotli qt5-qmake android-tools-adb android-tools-fastboot texinfo maven swapspace libncurses5 zsh python3-pip vim
# Configure git
git config --global user.name "Fedor Shatokhin"
git config --global user.email "groza01i@gmail.com"
git config --global credential.helper store
git config --global commit.gpgsign true
git config --global user.signingkey "E3CAEFE862A947DD"
git config --global merge.log true
git config --global core.editor nano
# Clone kernel build dependencies
mkdir ~/build
git clone https://github.com/AlpacaGang/Publishbot ~/build/PublishBot
git clone https://github.com/arter97/arm64-gcc.git --depth=1 ~/build/tools/arm64-gcc
git clone https://github.com/AlpacaGang/AnyKernel3.git -b master ~/build/AK3
pip3 install -r ~/build/PublishBot/requirements.txt
git clone https://github.com/FedorShatokhin2005/aliases ~/.aliases
echo "source ~/.aliases/aliases" >> ~/.bashrc
# Clone gruvbox theme
git clone --depth=1 https://github.com/morhetz/gruvbox.git ~/.vim/pack/default/start/gruvbox
# Clone ale plugin
git clone --depth=1 https://github.com/dense-analysis/ale.git ~/.vim/pack/git-plugins/start/ale
# Copy vimrc
# Thanks @liferooter
cp -v .vimrc ~/.vimrc