summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:20:36 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:20:36 +0200
commit6f29cee022dd952f286e37fed1f042a923c6b45a (patch)
tree01d2cfa9052af257f54357b00f0aa2e216349d69 /accessibility
parent28c9f974939efec704207d0892b8cf36b91adef6 (diff)
downloadslackbuilds-6f29cee022dd952f286e37fed1f042a923c6b45a.tar.gz
accessibility/xdotool: Updated for version 20090126
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/xdotool/README6
-rw-r--r--accessibility/xdotool/xdotool.SlackBuild16
-rw-r--r--accessibility/xdotool/xdotool.info2
3 files changed, 15 insertions, 9 deletions
diff --git a/accessibility/xdotool/README b/accessibility/xdotool/README
index a587318f84..7dae652ddf 100644
--- a/accessibility/xdotool/README
+++ b/accessibility/xdotool/README
@@ -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
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild
index 8161b042e0..1300e01bc1 100644
--- a/accessibility/xdotool/xdotool.SlackBuild
+++ b/accessibility/xdotool/xdotool.SlackBuild
@@ -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}
diff --git a/accessibility/xdotool/xdotool.info b/accessibility/xdotool/xdotool.info
index fff8edbcf8..88bedd3945 100644
--- a/accessibility/xdotool/xdotool.info
+++ b/accessibility/xdotool/xdotool.info
@@ -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"