summaryrefslogtreecommitdiff
path: root/accessibility/xdotool/xdotool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/xdotool/xdotool.SlackBuild')
-rw-r--r--accessibility/xdotool/xdotool.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild
index 0e8f85acd2..ecacdc5f49 100644
--- a/accessibility/xdotool/xdotool.SlackBuild
+++ b/accessibility/xdotool/xdotool.SlackBuild
@@ -24,9 +24,13 @@
# - 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.
+
PRGNAM=xdotool
-VERSION=${VERSION:-3.20150503.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-3.20160805.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,7 +75,8 @@ 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 {} \;
-make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
+make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=/usr/lib$LIBDIRSUFFIX
strip $PRGNAM libxdo.so
make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX
make $PRGNAM.html
@@ -82,9 +87,9 @@ chmod 755 examples/*.sh
chmod 644 $PKG/usr/include/*.h
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELIST README COPYRIGHT examples $PRGNAM.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 0644 examples/*.sh
+cp -a CHANGELIST README COPYRIGHT examples $PRGNAM.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install