xlockmore: setuid on xlock

This commit is contained in:
TJ Vanderpoel 2015-03-11 09:18:31 -05:00
parent 00d0f05b39
commit c69fb384f0

View file

@ -1,7 +1,7 @@
# Template file for 'xlockmore' # Template file for 'xlockmore'
pkgname=xlockmore pkgname=xlockmore
version=5.32 version=5.32
revision=3 revision=4
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="freetype-devel libXt-devel libXext-devel" makedepends="freetype-devel libXt-devel libXext-devel"
short_desc="Provides the 'xlock' X screen locker" short_desc="Provides the 'xlock' X screen locker"
@ -19,4 +19,5 @@ pre_build() {
do_install() { do_install() {
make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \ make INSTPGMFLAGS= xapploaddir=${DESTDIR}/usr/share/X11/app-defaults \
mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install mandir=${DESTDIR}/usr/share/man/man1 prefix=${DESTDIR}/usr install
chmod u+s ${DESTDIR}/usr/bin/xlock
} }