accessibility/xdotool: Minor script cleanup.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-03-01 14:26:06 -05:00 committed by Willy Sudiarto Raharjo
parent d8d8afa522
commit adce3bae24

View file

@ -4,19 +4,16 @@
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20120411 bkw:
# - updated for xdotool 2.20110530.1.
# - install CHANGELIST in doc dir
# - make & install HTML doc instead of raw POD doc
# - fix permissions in examples/
# 20170301 bkw:
# - get rid of support for v$VERSION.tar.gz
# - use correct WTFPL link
# - rearrange changelog so newer entries at the top
# 20151028 bkw:
# - updated for xdotool 3.20150503.1.
# 20151126 bkw:
# - fix xdo.h permissions
# 20161010 bkw:
# - v3.20160805.1, BUILD=1
# - install doc/examples/*.sh without execute bits.
# 20160831 bkw:
# - bump BUILD
@ -24,9 +21,18 @@
# - change the header permissions in $PKG, not /usr/include!
# thanks to vonbiber for spotting these.
# 20161010 bkw:
# - v3.20160805.1, BUILD=1
# - install doc/examples/*.sh without execute bits.
# 20151126 bkw:
# - fix xdo.h permissions
# 20151028 bkw:
# - updated for xdotool 3.20150503.1.
# 20120411 bkw:
# - updated for xdotool 2.20110530.1.
# - install CHANGELIST in doc dir
# - make & install HTML doc instead of raw POD doc
# - fix permissions in examples/
PRGNAM=xdotool
VERSION=${VERSION:-3.20160805.1}
@ -66,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \