# Packager: Dimitris Tzemos pkgname=xautomation pkgver=1.06 pkgrel=1dj source=("http://hoopajoo.net/static/projects/$pkgname-$pkgver.tar.gz" "xautomation-1.06-DSO.patch") docs=("AUTHORS" "COPYING" "INSTALL" "NEWS" "README") url="http://hoopajoo.net/projects/xautomation.html" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xautomation (Tools to control the X server from the command line)" "Control X from the command line for scripts, and do" "visual scraping to find things on the screen. The control" "interface allows mouse movement, clicking, button up/down," "key up/down, etc, and uses the XTest extension. The visgrep" "program finds images inside of images and reports the coordinates." "" "Homepage: http://hoopajoo.net/projects/xautomation.html" ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../xautomation-1.06-DSO.patch || return 1 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install-strip DESTDIR=$startdir/pkg || return 1 }