accessibility/xdotool: Updated for version 2.20110530.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
B. Watson 2012-04-20 09:00:36 -04:00 committed by dsomero
parent 74782202ea
commit b922da9eb4
4 changed files with 25 additions and 18 deletions

View file

@ -1,4 +1,4 @@
xdotool - fake keyboard/mouse input
xdotool (fake X11 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
@ -6,6 +6,4 @@ extension and other Xlib functions.
Example: focus the firefox url bar
WID=`xdotool search "Mozilla Firefox" | head -1`
xdotool windowfocus $WID
xdotool key ctrl+l
xdotool search "Mozilla Firefox" windowactivate --sync key --clearmodifiers ctrl+l

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
xdotool: xdotool (fake keyboard/mouse input)
xdotool: xdotool (fake X11 keyboard/mouse input)
xdotool:
xdotool: This tool lets you programatically (or manually) simulate keyboard
xdotool: input and mouse activity, move and resize windows, etc. It does this

View file

@ -1,20 +1,26 @@
#!/bin/sh
#!/bin/bash
# Slackware build script for xdotool
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
# 20120411 bkw:
# - updated for xdotool 2.20110530.1.
# - install CHANGELIST in doc dir
# - make & install HTML doc instead of raw POD doc
# - fix permissions in examples/
PRGNAM=xdotool
VERSION=${VERSION:-2.20101012.3049}
VERSION=${VERSION:-2.20110530.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -49,18 +55,21 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2>/dev/null || true
make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
make $PRGNAM.html
strip --strip-unneeded $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
chmod 755 examples/*.sh
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README COPYRIGHT examples xdotool.pod \
$PKG/usr/doc/$PRGNAM-$VERSION
CHANGELIST README COPYRIGHT examples $PRGNAM.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="xdotool"
VERSION="2.20101012.3049"
VERSION="2.20110530.1"
HOMEPAGE="http://www.semicomplete.com/projects/xdotool/"
DOWNLOAD="http://semicomplete.googlecode.com/files/xdotool-2.20101012.3049.tar.gz"
MD5SUM="6983e8932412578b98852d235e7fd073"
DOWNLOAD="http://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz"
MD5SUM="62d0c2158bbaf882a1cf580421437b2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"