1 # Build recipe for xdotool.
3 # Copyright (c) 2018 Markus Tornow, <tornow@riseup.net>.
4 # Copyright (c) 2018 Matias Fonzo, <selk@dragora.org>.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
22 # Set 'outdir' for a nice and well-organized output directory
23 outdir="${outdir}/${arch}/x-apps"
25 tarname=${program}-${version}.tar.gz
28 fetch=http://github.com/jordansissel/xdotool/releases/download/v${version}/$tarname
30 homepage=http://www.semicomplete.com/projects/xdotool/
33 Fake input from the mouse and keyboard very easily.
35 xdotool also supports window manager actions such as moving,
36 activating, and other actions on windows.
38 For more information, visit:
42 homepage=http://www.semicomplete.com/projects/xdotool/
45 # Source documentation
46 docs="CHANGELIST COPYRIGHT README VERSION examples/"
47 docsdir="${docdir}/${program}-${version}"
53 unpack "${tardir}/$tarname"
59 make -j${jobs} V=1 CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
61 INSTALLLIB=/usr/lib${libSuffix} \
67 lzip -9 "${destdir}/${mandir}/man1/xdotool.1"
70 mkdir -p "${destdir}${docsdir}"
71 cp -p -r $docs "${destdir}${docsdir}/"