desktop/xautomation/PKGBUILD

37 lines
821 B
Bash
Raw Normal View History

# maintainer abveritas@chakra-project.org
# contributor Martín González <koteccr[at]gmail[dot]com>
pkgname=xautomation
2014-01-01 19:57:21 +08:00
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')
2013-07-27 21:38:34 +08:00
depends=('libpng' 'libxtst' 'libxi')
source=("http://hoopajoo.net/static/projects/${pkgname}-${pkgver}.tar.gz"
"fix-libs.patch")
2014-01-01 19:57:21 +08:00
sha1sums=('eed09da910beb6b46ecd04679073844235ae8a6e'
2013-07-27 21:38:34 +08:00
'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
}
2014-01-01 19:57:21 +08:00