ports/contrib (3.6): slock: bring back port
commit af7f9a5dc511cc2005ca9a167646815d9a2b885a Author: Steffen Nurpmeso <steffen@sdaoden.eu> Date: Tue Aug 3 23:10:56 2021 +0200 slock: bring back port diff --git a/slock/.footprint b/slock/.footprint new file mode 100644 index 000000000..0db15b16d --- /dev/null +++ b/slock/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwsr-xr-x root/root usr/bin/slock +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/slock.1.gz diff --git a/slock/.signature b/slock/.signature new file mode 100644 index 000000000..57d92380d --- /dev/null +++ b/slock/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF36TKienRUghEHcgDQBGU6Xp7ffEOsJz3MQYZuDPYXOfpZRPJShHsKr2Asb8HnLIz1BgeXapGj8kWzIhWKlAGxwI= +SHA256 (Pkgfile) = bfce378a6f9280fa597cf1d032c5ed6a100952b7f70cafe0d01bf33ad58e2eeb +SHA256 (.footprint) = 5f7d8bfedcbf7f060a1997b9b8798c28e8fc6cc2ed9457566989e12a15d831ad +SHA256 (slock-1.4.tar.gz) = b53849dbc60109a987d7a49b8da197305c29307fd74c12dc18af0d3044392e6a diff --git a/slock/Pkgfile b/slock/Pkgfile new file mode 100644 index 000000000..2ea2b756b --- /dev/null +++ b/slock/Pkgfile @@ -0,0 +1,20 @@ +# Description: A simple X display locker +# URL: https://tools.suckless.org/slock +# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu +# Depends on: xorg-libxext xorg-libxrandr + +name=slock +version=1.4 +release=1 +source=(https://dl.suckless.org/tools/${name}-${version}.tar.gz) + +build() { + cd ${name}-${version} + + sed -i'' -Ee 's/nogroup/nobody/' config.def.h + + make + make PREFIX=/usr DESTDIR="${PKG}" install +} + +# s-sh-mode
participants (1)
-
crux@crux.nu