mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
13 lines
248 B
Bash
Executable file
13 lines
248 B
Bash
Executable file
#!/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
|