slock

My slock fork
git clone https://git.kausban.com/slock/raw/.git
Log | Files | Refs | README

commit 552165efc862ee4f6d2069fda8dd89ef83308fec
parent 4ad9b1b0dc5f64761bf7d12a58c4dfc1984aed33
Author: kausban <[email protected]>
Date:   Mon, 15 Mar 2021 13:37:12 +0100

v1.4-5 with backspace patch

Diffstat:
MPKGBUILD | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD @@ -2,19 +2,22 @@ # Contributor: Sebastian A. Liem <sebastian at liem dot se> pkgname=slock +groups=('modified') pkgver=1.4 -pkgrel=4 +pkgrel=5 pkgdesc="A simple screen locker for X" arch=('x86_64') url="https://tools.suckless.org/slock" license=('MIT') depends=('libxext' 'libxrandr') source=("https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" - slock-pam_auth-20190207-35633d4.diff - slock-message-20191215-post_pam.diff - config.h) + "backspace.patch" + "slock-pam_auth-20190207-35633d4.diff" + "slock-message-20191215-post_pam.diff" + "config.h") #source=("slock-$pkgver.tar.bz2::https://hg.suckless.org/slock/archive/$_pkgver.tar.gz") md5sums=('f91dd5ba50ce7bd1842caeca067086a3' + '20d46d8e70dfc80a2cd8467b461ac74d' 'eddc691152663c3f623ad63649b93bc2' '030f0ba0039750b67460f0b4b0ad147b' '3c7c2f5567299b01b28232ada132e28f') @@ -24,6 +27,7 @@ prepare() { cp $srcdir/config.h config.h sed -i 's|static const char \*group = "nogroup";|static const char *group = "nobody";|' config.def.h sed -ri 's/((CPP|C|LD)FLAGS) =/\1 +=/g' config.mk + patch -p1 <../backspace.patch patch -p1 -i "${srcdir}/slock-pam_auth-20190207-35633d4.diff" patch -p1 -i "${srcdir}/slock-message-20191215-post_pam.diff" }