# maintainer abveritas@chakra-project.org # contributor Martín González pkgname=xautomation pkgver=1.09 pkgrel=1 pkgdesc='Controls X from the command line and does "visual scraping".' url='http://hoopajoo.net/projects/xautomation.html' arch=('x86_64') license=('GPL') depends=('libpng' 'libxtst' 'libxi') source=("http://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz" "fix-libs.patch") sha1sums=('0c4b0c5f4d51217a7fec997bd24e5d45d1027637' '350b59bd779643ab074fa9e8c9fe0a853ab89e2e') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p0 -i ${srcdir}/fix-libs.patch autoreconf } build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }