From 1b190d315ddf756f0665089fe4afde4aa47accc9 Mon Sep 17 00:00:00 2001 From: Aditya Goturu Date: Fri, 8 Apr 2016 14:16:55 +0530 Subject: [PATCH] xdotool: build and use libxdo. Closes: #4001 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/xdotool-devel | 1 + srcpkgs/xdotool/template | 18 +++++++++++++++--- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/xdotool-devel diff --git a/common/shlibs b/common/shlibs index b94adf506b..9cc6ceaac9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/xdotool-devel b/srcpkgs/xdotool-devel new file mode 120000 index 0000000000..410336c160 --- /dev/null +++ b/srcpkgs/xdotool-devel @@ -0,0 +1 @@ +xdotool \ No newline at end of file diff --git a/srcpkgs/xdotool/template b/srcpkgs/xdotool/template index ec1faa4124..cb5d5adad0 100644 --- a/srcpkgs/xdotool/template +++ b/srcpkgs/xdotool/template @@ -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 " 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 +}