From 4af346d960ab51d65f9152bebdbd66b9b30db353 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 1 Sep 2016 14:47:09 -0400 Subject: accessibility/xdotool: Fix script. --- accessibility/xdotool/xdotool.SlackBuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'accessibility/xdotool') 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 \ -- cgit v1.2.3