summaryrefslogtreecommitdiff
path: root/community/xdotool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xdotool/PKGBUILD')
-rw-r--r--community/xdotool/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/xdotool/PKGBUILD b/community/xdotool/PKGBUILD
new file mode 100644
index 000000000..79b024cc1
--- /dev/null
+++ b/community/xdotool/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 92913 2013-06-18 18:33:07Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Rttommy <rttommy@gmail.com>
+
+pkgname=xdotool
+pkgver=2.20110530.1
+pkgrel=3
+pkgdesc="Command-line X11 automation tool"
+arch=('i686' 'x86_64')
+url="http://www.semicomplete.com/projects/xdotool/"
+license=('BSD')
+depends=('libxtst' 'libxinerama')
+source=(http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+sha256sums=('e7b42c8b1d391970e1c1009b256033f30e57d8e0a2a3de229fd61ecfc27baf67')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install
+
+ # Remove execute bit from header file
+ chmod -x "$pkgdir/usr/include/xdo.h"
+
+ # License
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/xdotool/COPYRIGHT"
+}
+
+# vim:set ts=2 sw=2 et: