aboutsummaryrefslogtreecommitdiff
path: root/source.sh
blob: 6da1fc98d03109d55aa4cdbbc626983a3fc75055 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/sh
# Installs from source
su - $USE <<EOF
xdg-settings set default-web-browser firefox.desktop
git clone https://git.hrhr.dev/pass
mv pass .password-store

mkdir src
cd src

git clone https://git.suckless.org/st
cd st
curl -O http://st.suckless.org/patches/alpha/st-alpha-0.8.2.diff
git apply st-alpha-0.8.2.diff
sed 's/^float alpha =.*$/float alpha = 0.6;/' config.def.h > config.h
make
sudo make install
cd ..

git clone https://git.suckless.org/sent
cd sent
cp config.def.h config.h
make
sudo make install
cd ..

aurbuild() {
    git clone https://aur.archlinux.org/$1.git
    cd $1
    if [ $2 = '--asdeps' ]; then makepkg --noconfirm --asdeps -si
    makepkg --noconfirm -si
    cd ..
}

aurbuild preloader-signed &
aurbuild woeusb &
aurbuild gconf --asdeps && aurbuild minecraft-launcher-beta&
aurbuild zoom &
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
aurbuild tor-browser &
aurbuild dict-wn &
aurbuild diction &
gpg --keyserver keys.gnupg.net --recv-keys 55D0C732
aurbuild dict-gcide &
aurbuild dict-moby-thesaurus &
aurbuild dict-devils &
aurbuild dict-foldoc &
aurbuild dict-wikt-en-all &

git clone https://git.hrhr.dev/dict-misc
cd dict-misc
makepkg --noconfirm -si
cd ..

git clone https://git.hrhr.dev/utils
cd utils
make
sudo make install
cd ..

git clone https://git.hrhr.dev/badroff
cd utils
make
sudo make install
cd ..
EOF