accessibility/xdotool: Updated for version 20090126

This commit is contained in:
B. Watson 2010-05-13 00:20:36 +02:00 committed by David Somero
parent 28c9f97493
commit 6f29cee022
3 changed files with 15 additions and 9 deletions

View file

@ -1,8 +1,8 @@
xdotool - fake keyboard/mouse input
This tool lets you programatically (or manually) simulate keyboard input
and mouse activity, move and resize windows, etc. It does this using
X11's XTEST extension and other Xlib functions.
This tool lets you programatically (or manually) simulate keyboard input and
mouse activity, move and resize windows, etc. It does this using X11's XTEST
extension and other Xlib functions.
Example: focus the firefox url bar

View file

@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -34,21 +37,22 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
sed -i -e "/^CFLAGS/s/-/$SLKCFLAGS -/" Makefile
make PREFIX=/usr
make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
strip $PRGNAM
make install PREFIX=$PKG/usr
strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2>/dev/null || true
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -r README COPYRIGHT COPYRIGHT examples xdotool.pod \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README COPYRIGHT examples xdotool.pod \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -3,6 +3,8 @@ VERSION="20090126"
HOMEPAGE="http://www.semicomplete.com/projects/xdotool/"
DOWNLOAD="http://semicomplete.googlecode.com/files/xdotool-20090126.tar.gz"
MD5SUM="a520d6a3175c3b55582998cbeef81688"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"