summaryrefslogtreecommitdiff
path: root/st/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'st/deploy.sh')
-rwxr-xr-xst/deploy.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/st/deploy.sh b/st/deploy.sh
new file mode 100755
index 0000000..bae1ef3
--- /dev/null
+++ b/st/deploy.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+wd="$HOME/.local/src/st"
+
+[ ! -d "$HOME/.local/src" ] && mkdir -p "$wd"
+
+git clone https://git.suckless.org/st "$wd"
+
+patch -d "$wd" -p1 -i davidovski.patch
+
+make -C "$wd"
+doas make -C "$wd" install PREFIX=/usr