diff options
author | davidovki <david@davidovski.xyz> | 2023-03-16 11:32:48 +0000 |
---|---|---|
committer | davidovki <david@davidovski.xyz> | 2023-03-16 11:32:48 +0000 |
commit | 33fb893a3120325c39539aee94361222659ae04f (patch) | |
tree | cf878af2e7fe8abe7fc4e63e1a8f918068d5bd3a /slock/deploy.sh | |
parent | a8944ec46d19126c2054f7232a78a1f395c93b1b (diff) |
Added slock configuration files
Diffstat (limited to 'slock/deploy.sh')
-rwxr-xr-x | slock/deploy.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/slock/deploy.sh b/slock/deploy.sh new file mode 100755 index 0000000..6ee800a --- /dev/null +++ b/slock/deploy.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +pkgver=1.5 + +[ -d "~/.local/src" ]mkdir -p ~/.local/src + +curl -o ~/.local/src/slock-$pkgver.tar.gz https://dl.suckless.org/tools/slock-$pkgver.tar.gz +tar -C ~/.local/src/ -xvf ~/local/src/slock-$pkgver.tar.gz + +srcdir=~/.local/src/slock-$pkgver + cp config.h $srcdir +make -C $srcdir + +doas make -C $srcdir install PREFIX=/usr |