xdotool: build and use libxdo.

Closes: #4001 [via git-merge-pr]
This commit is contained in:
Aditya Goturu 2016-04-08 14:16:55 +05:30 committed by Christian Neukirchen
parent 3f8d0897a1
commit 1b190d315d
3 changed files with 17 additions and 3 deletions

View file

@ -2412,3 +2412,4 @@ libcmark.so.0 cmark-0.24.1_1
libspotify.so.12 libspotify-12.1.51_1
libwiredtiger-2.8.0.so wiredtiger-2.8.0_1
libvidstab.so.0.9 libvidstab-0.98b_1
libxdo.so.3 xdotool-3.20150503.1_1

1
srcpkgs/xdotool-devel Symbolic link
View file

@ -0,0 +1 @@
xdotool

View file

@ -1,16 +1,28 @@
# Template file for 'xdotool'
pkgname=xdotool
version=3.20150503.1
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="perl pkg-config"
makedepends="libXtst-devel libXinerama-devel libxkbcommon-devel"
make_build_target="all static"
make_build_target="all"
make_install_args="INSTALLMAN=$DESTDIR/usr/share/man"
make_install_target="install-static installman"
short_desc="Command-line X11 automation tool"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/jordansissel/xdotool"
distfiles="https://github.com/jordansissel/${pkgname}/archive/v${version}.tar.gz"
checksum=b097ef0e3897d1a24e3f45f0faed58329742d3d9434b9b46eb97eb1040f999bf
xdotool-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}
post_install() {
vlicense COPYRIGHT
}