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