aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xdotool/APKBUILD
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-06-10 09:24:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-30 14:22:42 +0000
commit2394e392973a48a4a1440945a3794b7d77251ae1 (patch)
treefdce93c6d6dded188e0b23ff55608ebf1281949c /testing/xdotool/APKBUILD
parent32cbca3231fa46ccf05eb8ef94adb2f973292990 (diff)
downloadaports-2394e392973a48a4a1440945a3794b7d77251ae1.tar.bz2
aports-2394e392973a48a4a1440945a3794b7d77251ae1.tar.xz
testing/xdotool: new aport
xdotool lets you simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions. http://www.semicomplete.com/projects/xdotool/#idp9392
Diffstat (limited to 'testing/xdotool/APKBUILD')
-rw-r--r--testing/xdotool/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/xdotool/APKBUILD b/testing/xdotool/APKBUILD
new file mode 100644
index 0000000000..22670d4033
--- /dev/null
+++ b/testing/xdotool/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer:
+pkgname=xdotool
+pkgver=2.20110530.1
+pkgrel=0
+pkgdesc="Simulate keyboard/mouse input"
+url="http://www.semicomplete.com/projects/xdotool/#idp9392"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="libx11-dev libxtst-dev libxinerama-dev"
+makedepends="$depends_dev perl"
+source="http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" PREFIX=/usr INSTALLMAN=/usr/share/man \
+ install || return 1
+}
+
+md5sums="62d0c2158bbaf882a1cf580421437b2f xdotool-2.20110530.1.tar.gz"
+sha256sums="e7b42c8b1d391970e1c1009b256033f30e57d8e0a2a3de229fd61ecfc27baf67 xdotool-2.20110530.1.tar.gz"
+sha512sums="0b2f71203c41e320aac152e1376b30bb9f5ea2067572299ad4c32f49b2505566275f0b377b4f443c3520751d71a9b270325cd676e63ee2a153de3213e128f2cb xdotool-2.20110530.1.tar.gz"