diff options
Diffstat (limited to 'accessibility/xdotool/xdotool.SlackBuild')
-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 1b661d496d958..0e8f85acd2177 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 \ |