slock: update to 1.4

This commit is contained in:
Svyatoslav Mishyn 2016-11-20 13:20:24 +02:00
parent 984c1a965d
commit 8ea3751e51
3 changed files with 17 additions and 9 deletions

View File

@ -1 +1 @@
825aaeccba9b3b3c1f3d249d47c1396a slock-1.3.tar.gz
f91dd5ba50ce7bd1842caeca067086a3 slock-1.4.tar.gz

View File

@ -1,17 +1,15 @@
# Description: Simple X display locker.
# Description: simple X display locker
# URL: http://tools.suckless.org/slock
# Maintainer: Svyatoslav Mishyn, juef at openmailbox dot org
# Depends on: xorg-libxext
name=slock
version=1.3
version=1.4
release=1
source=(http://dl.suckless.org/tools/$name-$version.tar.gz)
build () {
cd "$name-$version"
make
make DESTDIR=$PKG \
PREFIX=/usr \
install
build() {
cd $name-$version
make
make install PREFIX=/usr DESTDIR=$PKG
}

10
slock/pre-install Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -z "`getent group nogroup`" ]; then
/usr/sbin/groupadd --system nogroup
fi
if [ -z "`getent passwd nobody`" ]; then
/usr/sbin/useradd -r -g nobody -M -s /bin/false nobody
/usr/bin/passwd -l nobody
fi