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-12-14 07:57:14 +08:00
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')
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-12-14 07:57:14 +08:00
sha1sums=('0c4b0c5f4d51217a7fec997bd24e5d45d1027637'
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