Add package installation to install.sh

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2017-02-01 20:15:43 +01:00
parent 8cb83209a7
commit 9c36744401
3 changed files with 168 additions and 5 deletions

View file

@ -4,12 +4,14 @@
# Usage: ./install.sh # Usage: ./install.sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# TODO: Install yaourt # TODO: Install yaourt or else the next thing fails
# Install packages - "yaourt -Qqe > packages.list"
yaourt -S $(cat "$DIR/yaourt/packages.list")
# Install aur packages - "yaourt -Qqm > packages.aur.list"
yaourt -S --noconfirm $(cat "$DIR/yaourt/packages.aur.list")
# TODO: Install needed packages
# google-chrome-beta
# vlc
# steam
# TODO: Create a function that makes the linking easier and that checks if # TODO: Create a function that makes the linking easier and that checks if
# the links already exists # the links already exists
@ -38,6 +40,7 @@ ln -s "$DIR/bin" "$HOME/bin"
chmod +x "$HOME/bin/*" chmod +x "$HOME/bin/*"
# Download and install composer # Download and install composer
# TODO: Install this using yaourt
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php php composer-setup.php
php -r "unlink('composer-setup.php');" php -r "unlink('composer-setup.php');"

16
yaourt/packages.aur.list Normal file
View file

@ -0,0 +1,16 @@
adapta-gtk-theme
android-udev-git
google-chrome-beta
grive
heroku-toolbelt
hyper
i3blocks
icu57
minecraft-launcher
package-query
paper-icon-theme
ttf-font-awesome
ttf-mac-fonts
ttf-ms-fonts
yaourt
yarn

144
yaourt/packages.list Normal file
View file

@ -0,0 +1,144 @@
adapta-gtk-theme
alsa-utils
android-tools
android-udev-git
anki
apache
atom
autoconf
automake
bash
bash-completion
binutils
bison
bzip2
compton
coreutils
cronie
cryptsetup
cups
device-mapper
dhcpcd
diffutils
e2fsprogs
fakeroot
feh
file
filesystem
filezilla
findutils
firefox
flex
gawk
gcc
gcc-libs
gettext
gimp
git
glibc
gnome-keyring
gnome-terminal
google-chrome-beta
grep
grive
grub
gutenprint
gvfs
gvfs-mtp
gzip
heimdall
heroku-toolbelt
hplip
htop
hyper
i3-wm
i3blocks
i3lock
i3status
ibus-anthy
ibus-qt
inetutils
iproute2
iputils
jdk8-openjdk
jfsutils
keepassx2
less
libreoffice-fresh
libtool
licenses
linux
livestreamer
logrotate
lvm2
lxappearance
m4
make
man-db
man-pages
mariadb
mdadm
minecraft-launcher
nano
netctl
nodejs
notify-osd
npm
openssh
package-query
pacman
paper-icon-theme
patch
pavucontrol
pciutils
pcmanfm-gtk3
pcmciautils
perl
php
php-apache
picard
pkg-config
procps-ng
psmisc
pulseaudio
python-gobject
python-pillow
python-pyqt5
python-reportlab
reiserfsprogs
rofi
s-nail
scrot
sed
shadow
simple-scan
steam
sudo
sysfsutils
systemd-sysvcompat
tar
texinfo
transmission-gtk
ttf-arphic-uming
ttf-baekmuk
ttf-font-awesome
ttf-freefont
ttf-mac-fonts
ttf-ms-fonts
ttf-roboto
unzip
usbutils
util-linux
vi
vim
vlc
which
xfsprogs
xorg-server
xorg-utils
xorg-xinit
xorg-xkill
xorg-xrandr
xterm
yaourt
yarn