summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-01 14:26:06 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:26:34 +0700
commitadce3bae24c4277ec01a2b145f4363b86c691a53 (patch)
treea1d7cdf08c3972d5fdfd9966284f97244596bb77
parentd8d8afa522b8dfbe0e37bc0a3e8a6340bad27263 (diff)
downloadslackbuilds-adce3bae24c4277ec01a2b145f4363b86c691a53.tar.gz
accessibility/xdotool: Minor script cleanup.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--accessibility/xdotool/xdotool.SlackBuild36
1 files changed, 21 insertions, 15 deletions
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild
index ecacdc5f49..e8d36de5f6 100644
--- a/accessibility/xdotool/xdotool.SlackBuild
+++ b/accessibility/xdotool/xdotool.SlackBuild
@@ -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/
-
-# 20151028 bkw:
-# - updated for xdotool 3.20150503.1.
+# 20170301 bkw:
+# - get rid of support for v$VERSION.tar.gz
+# - use correct WTFPL link
+# - rearrange changelog so newer entries at the top
-# 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 . \