desktop/xautomation/PKGBUILD
2014-01-01 11:57:21 +00:00

37 lines
821 B
Bash

# maintainer abveritas@chakra-project.org
# contributor Martín González <koteccr[at]gmail[dot]com>
pkgname=xautomation
pkgver=1.08
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=('eed09da910beb6b46ecd04679073844235ae8a6e'
'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
}