aboutsummaryrefslogtreecommitdiff
path: root/libraries/rest/rest.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/rest/rest.SlackBuild')
-rw-r--r--libraries/rest/rest.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/rest/rest.SlackBuild b/libraries/rest/rest.SlackBuild
index 8d031e8c745fc..b3fdccfed09c1 100644
--- a/libraries/rest/rest.SlackBuild
+++ b/libraries/rest/rest.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rest
-# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rest
-VERSION=${VERSION:-0.7.90}
+VERSION=${VERSION:-0.7.91}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -87,11 +87,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL README docs/reference/rest/html/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/gtk-doc/html/rest-0.7/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/gtk-doc/
mkdir -p $PKG/install