summaryrefslogtreecommitdiff
path: root/community/xdotool/PKGBUILD
blob: 79b024cc1ee193650bbe34d508e2ed358026b072 (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
29
30
31
32
33
34
# $Id: PKGBUILD 92913 2013-06-18 18:33:07Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Rttommy <rttommy@gmail.com>

pkgname=xdotool
pkgver=2.20110530.1
pkgrel=3
pkgdesc="Command-line X11 automation tool"
arch=('i686' 'x86_64')
url="http://www.semicomplete.com/projects/xdotool/"
license=('BSD')
depends=('libxtst' 'libxinerama')
source=(http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz)
sha256sums=('e7b42c8b1d391970e1c1009b256033f30e57d8e0a2a3de229fd61ecfc27baf67')

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

  make
}

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

  make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install

  # Remove execute bit from header file
  chmod -x "$pkgdir/usr/include/xdo.h"

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

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