PKGBUILDs/community/xdotool/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
789 B
Bash

# $Id: PKGBUILD 1335 2009-08-16 11:30:48Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
# Contributor: Rttommy <rttommy@gmail.com>
pkgname=xdotool
pkgver=20090815
pkgrel=1
pkgdesc="Command-line X11 automation tool"
arch=('i686' 'x86_64')
url="http://www.semicomplete.com/projects/xdotool/"
license=('BSD')
depends=('libxtst')
source=(http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('32b1127c0c24f5b3d0a1a1c09b3d44f8')
build() {
cd "$srcdir/$pkgname-$pkgver"
make CFLAGS="$CFLAGS -std=c99" || return 1
install -dm755 "$pkgdir"/usr/{bin,share/man}
make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install
# License
install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/xdotool/COPYRIGHT"
}
# vim:set ts=2 sw=2 et: