summaryrefslogtreecommitdiff
path: root/community-staging/xautomation/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/xautomation/PKGBUILD')
-rw-r--r--community-staging/xautomation/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-staging/xautomation/PKGBUILD b/community-staging/xautomation/PKGBUILD
new file mode 100644
index 000000000..9804e1f69
--- /dev/null
+++ b/community-staging/xautomation/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 62796 2012-01-27 01:27:49Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: raubkopierer <mail[dot]sensenmann[at]gmail[dot]com>
+
+pkgname=xautomation
+pkgver=1.05
+pkgrel=2
+pkgdesc='Controls X from the command line and does "visual scraping".'
+url='http://hoopajoo.net/projects/xautomation.html'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libpng' 'libxtst')
+source=("http://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz"
+ 'xautomation-1.05-fix-libs.patch')
+md5sums=('4526ea5085a680a3ae8629af1731e5fa'
+ 'a8d8b12ed180ce9693f706d0f75d97fe')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 -i ../xautomation-1.05-fix-libs.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}