system/xautolock: Updated for version 2.1

This commit is contained in:
Jick Nan 2010-05-11 19:46:46 +02:00 committed by Robby Workman
parent 006c7ae887
commit 53aad17e26
3 changed files with 12 additions and 8 deletions

View file

@ -13,9 +13,5 @@ I use xautolock with xlockmore in this way:
xautolock -time 10 -locker xlock
Note: this script calls /usr/X11R6/bin/xmkmf, which requires that directory
to be in your $PATH. Therefore, you will almost certainly need to
do "su -" instead of just "su" to build this.
If you have any questions or comments about this script you are free to
contact me via e-mail: jick.nan AT gmail.com Enjoy!

View file

@ -1,4 +1,12 @@
xautolock: xautolock
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
xautolock: xautolock (Xautolock monitors console activity)
xautolock:
xautolock: Xautolock monitors console activity under the X window system, and
xautolock: fires up a program of your choice if nothing happens during a

View file

@ -9,7 +9,7 @@
PRGNAM=xautolock
VERSION=2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@ -35,13 +35,13 @@ make install.man DESTDIR=$PKG || exit 1
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
gzip -9 $PKG/usr/X11R6/man/man1/xautolock.1x || exit 1
gzip -9 $PKG/usr/man/man1/xautolock.1x || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a Changelog Readme VMS.notes Todo $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PRGNAM.SlackBuild
ln -s /usr/X11R6/lib/X11/doc/html/xautolock.1.html xautolock.1.html
ln -s /usr/lib/X11/doc/html/xautolock.1.html xautolock.1.html
)
mkdir -p $PKG/install