aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"