dot/st/deploy.sh

14 lines
248 B
Bash
Raw Normal View History

2023-07-15 22:30:56 +00:00
#!/bin/sh
wd="$HOME/.local/src/st"
[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"
2023-07-16 00:54:27 +00:00
rm -rf "$wd"
2023-07-15 22:30:56 +00:00
git clone https://git.suckless.org/st "$wd"
2023-07-16 00:54:27 +00:00
patch -d "$wd" -p1 -i $(realpath davidovski.patch)
2023-07-15 22:30:56 +00:00
make -C "$wd"
doas make -C "$wd" install PREFIX=/usr