summaryrefslogtreecommitdiffstats
path: root/abs/core/xdotool/PKGBUILD
blob: bec09f90e530a853194afcd587445c2689314cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 7103 2010-01-01 04:09:10Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
# Contributor: Rttommy <rttommy@gmail.com>

pkgname=xdotool
pkgver=20091231.03
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=('6228520608c831f64d13f4129cb4f381')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make || return 1
  install -d "$pkgdir"/usr/{bin,lib,include,share/man}
  make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" \
       install || return 1

  # License
  install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/xdotool/COPYRIGHT"
}

# vim:set ts=2 sw=2 et: