summaryrefslogtreecommitdiff
path: root/st/deploy.sh
blob: aeb65e6ab2ce0c412f73e21ad6fc13fc01249246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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"

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

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