summaryrefslogblamecommitdiff
path: root/user/xdotool/APKBUILD
blob: 3aae63783f3549c1bb54c437ecd090d07f118fc8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14












                                                                     
                                                                         
                                       
                                                                                                  














                                                                                
                                                                                                                                                                          
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xdotool
pkgver=3.20160805.1
pkgrel=0
pkgdesc="Tool to simulate keyboard/mouse input"
url="https://www.semicomplete.com/projects/xdotool/"
arch="all"
options="!check"  # Requires running X11 server
license="BSD-3-Clause"
depends=""
depends_dev="libx11-dev libxtst-dev libxinerama-dev libxkbcommon-dev"
makedepends="$depends_dev perl"
#checkdepends="xvfb ruby-minitest cmd:which lsof xdpyinfo xterm xwininfo"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/jordansissel/xdotool/releases/download/v$pkgver/xdotool-$pkgver.tar.gz"

build() {
	cd "$builddir"
	make WITHOUT_RPATH_FIX=1
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX="/usr" INSTALLMAN="/usr/share/man" install
}

sha512sums="e27b1029ee954ea17643ed489a00a1856e5687b03772c0f10a8e50cde3c3c957b57a3ba9890005474a744a228ef4827a83770d6890479c37a1f98f4fd7b1ff6c  xdotool-3.20160805.1.tar.gz"