diff options
author | B. Watson <yalhcru@gmail.com> | 2016-09-01 14:47:09 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-03 07:48:51 +0700 |
commit | 4af346d960ab51d65f9152bebdbd66b9b30db353 (patch) | |
tree | b2a98851a4581811099ff2ed16cfad90fa363c3b /accessibility/xdotool | |
parent | ee488494e73325f4f1e032f77e248d8310307ce3 (diff) | |
download | slackbuilds-4af346d960ab51d65f9152bebdbd66b9b30db353.tar.gz |
accessibility/xdotool: Fix script.
Diffstat (limited to 'accessibility/xdotool')
-rw-r--r-- | accessibility/xdotool/xdotool.SlackBuild | 14 |
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 \ |