summaryrefslogtreecommitdiff
path: root/st/deploy.sh
blob: 05329243e8ea164b1316e242e47d2c62c4037776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

wd="$HOME/.local/src/st"

[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"

rm -rf "$wd"
git clone https://git.suckless.org/st "$wd"
git -C "$wd" checkout 9846a56bd7fdc86bf788db04bbbcbde7b7eb9952

patch -d "$wd" -p1 -i $(realpath davidovski.patch)

make -C "$wd" 
doas make -C "$wd" install PREFIX=/usr