slock: bring back port

This commit is contained in:
Steffen Nurpmeso 2021-08-03 23:10:56 +02:00
parent 63f8a96b40
commit af7f9a5dc5
3 changed files with 32 additions and 0 deletions

7
slock/.footprint Normal file
View File

@ -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

5
slock/.signature Normal file
View File

@ -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

20
slock/Pkgfile Normal file
View File

@ -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