aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xdotool/APKBUILD
blob: 22670d40337b73076cb88123f4b6b46d3a78263e (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
35
36
37
38
39
40
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer:
pkgname=xdotool
pkgver=2.20110530.1
pkgrel=0
pkgdesc="Simulate keyboard/mouse input"
url="http://www.semicomplete.com/projects/xdotool/#idp9392"
arch="all"
license="BSD"
depends=""
depends_dev="libx11-dev libxtst-dev libxinerama-dev"
makedepends="$depends_dev perl"
source="http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make PREFIX=/usr || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr INSTALLMAN=/usr/share/man \
		install || return 1
}

md5sums="62d0c2158bbaf882a1cf580421437b2f  xdotool-2.20110530.1.tar.gz"
sha256sums="e7b42c8b1d391970e1c1009b256033f30e57d8e0a2a3de229fd61ecfc27baf67  xdotool-2.20110530.1.tar.gz"
sha512sums="0b2f71203c41e320aac152e1376b30bb9f5ea2067572299ad4c32f49b2505566275f0b377b4f443c3520751d71a9b270325cd676e63ee2a153de3213e128f2cb  xdotool-2.20110530.1.tar.gz"