summaryrefslogtreecommitdiff
path: root/accessibility/xdotool
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-09-01 14:47:09 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:48:51 +0700
commit4af346d960ab51d65f9152bebdbd66b9b30db353 (patch)
treeb2a98851a4581811099ff2ed16cfad90fa363c3b /accessibility/xdotool
parentee488494e73325f4f1e032f77e248d8310307ce3 (diff)
downloadslackbuilds-4af346d960ab51d65f9152bebdbd66b9b30db353.tar.gz
accessibility/xdotool: Fix script.
Diffstat (limited to 'accessibility/xdotool')
-rw-r--r--accessibility/xdotool/xdotool.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild
index 1b661d496d..0e8f85acd2 100644
--- a/accessibility/xdotool/xdotool.SlackBuild
+++ b/accessibility/xdotool/xdotool.SlackBuild
@@ -18,9 +18,15 @@
# 20151126 bkw:
# - fix xdo.h permissions
+# 20160831 bkw:
+# - bump BUILD
+# - strip shared lib, not just the binary.
+# - change the header permissions in $PKG, not /usr/include!
+# thanks to vonbiber for spotting these.
+
PRGNAM=xdotool
VERSION=${VERSION:-3.20150503.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,17 +71,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-
make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
+strip $PRGNAM libxdo.so
make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
make $PRGNAM.html
-strip --strip-unneeded $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
chmod 755 examples/*.sh
-chmod 644 /usr/include/*.h
+chmod 644 $PKG/usr/include/*.h
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \