From 33fb893a3120325c39539aee94361222659ae04f Mon Sep 17 00:00:00 2001 From: davidovki Date: Thu, 16 Mar 2023 11:32:48 +0000 Subject: Added slock configuration files --- slock/deploy.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 slock/deploy.sh (limited to 'slock/deploy.sh') 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 -- cgit v1.2.1