diff options
-rw-r--r-- | user/xdotool/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/xdotool/APKBUILD b/user/xdotool/APKBUILD new file mode 100644 index 000000000..b695ec30f --- /dev/null +++ b/user/xdotool/APKBUILD @@ -0,0 +1,36 @@ +# 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 debianutils-which lsof xdpyinfo xterm xwininfo" +subpackages="$pkgname-dev $pkgname-doc" +source="https://github.com/jordansissel/xdotool/releases/download/v$pkgver/xdotool-$pkgver.tar.gz + fix-test-require.patch" + +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 +054d4ab17cb76df1213b89dd1ba8370428ed619b45c10116630cb4ac5f818e11938848bad246fcdace4037f691d630561a643f32676bb7a69226cb2cba6c2770 fix-test-require.patch" |