shell-scripts/solus_dev_setup.sh
2020-06-06 16:32:38 -05:00

35 lines
966 B
Bash
Executable file

#!/bin/bash
first="Tracey"
last="Clark"
email="tracey_dev@tlcnet.info"
phabtoken="replace_with_phabtoken"
# Switch to unstable repository and install applications
sudo eopkg ar Solus https://mirrors.rit.edu/solus/packages/unstable/eopkg-index.xml.xz
sudo eopkg enable-repo Solus-Dev
sudo eopkg up -y
sudo eopkg install vscode htop zsh openssh vim ripgrep
# Install and setup build tools
sudo eopkg it -c system.devel
sudo eopkg it solbuild arcanist solbuild-config-unstable
sudo solbuild init
sudo solbuild update
mkdir ~/packaging
cd ~/packaging
git clone https://dev.getsol.us/source/common.git
ln -sv common/Makefile.common .
ln -sv common/Makefile.toplevel Makefile
ln -sv common/Makefile.iso .
git config --global user.name "$first $last"
git config --global user.email $email
mkdir -p ~/.config/solus/
echo -e "Name=$first $last\nEmail=$email" > ~/.config/solus/packager
arc set-config default https://dev.getsol.us
#arc install-certificate $phabtoken