summaryrefslogtreecommitdiffstats
path: root/abs/core/xdotool/PKGBUILD
blob: f8f1236accf91ea1389bdb174b04c47f9242e0b5 (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
# $Id$
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Rttommy <rttommy@gmail.com>

pkgname=xdotool
pkgver=3.20160805.1
pkgrel=1
pkgdesc="Command-line X11 automation tool"
arch=('x86_64')
url="http://www.semicomplete.com/projects/xdotool/"
license=('BSD')
depends=('libxtst' 'libxinerama' 'libxkbcommon')
source=(https://github.com/jordansissel/xdotool/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('35be5ff6edf0c620a0e16f09ea5e101d5173280161772fca18657d83f20fcca8')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make WITHOUT_RPATH_FIX=1
}

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"

  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
}

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