diff options
Diffstat (limited to 'desktop/slock/slock.SlackBuild')
-rw-r--r-- | desktop/slock/slock.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/slock/slock.SlackBuild b/desktop/slock/slock.SlackBuild index c6a11bedeca8..e3e232f5a141 100644 --- a/desktop/slock/slock.SlackBuild +++ b/desktop/slock/slock.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=slock VERSION=${VERSION:-1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,8 +75,11 @@ sed "s/@SLACKCFLAGS@/$SLKCFLAGS/" $CWD/config.mk.patch | patch -p1 make PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 make install PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 DESTDIR=$PKG -chown root:shadow $PKG/usr/bin/slock -chmod 2755 $PKG/usr/bin/slock +# This approach was preferable, but since slock must have root privs to +# adjust its OOM score, oh well... +#chown root:shadow $PKG/usr/bin/slock +#chmod 2755 $PKG/usr/bin/slock +chmod 4755 $PKG/usr/bin/slock find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |