aboutsummaryrefslogtreecommitdiff
path: root/misc/clawsker/clawsker.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-15 17:55:12 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-15 13:46:11 -0600
commit2ff872143f981b403a30f1170fccde7d298cc5d4 (patch)
tree9ed236cee59ffda7a382c97bc69293e7183da97c /misc/clawsker/clawsker.SlackBuild
parent9ee6ea239680fac5ab7221e4a618cc9e96a2e630 (diff)
misc/clawsker: Updated for version 0.7.10
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/clawsker/clawsker.SlackBuild')
-rw-r--r--misc/clawsker/clawsker.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/clawsker/clawsker.SlackBuild b/misc/clawsker/clawsker.SlackBuild
index 55025aaa4ec8..ce33051d6380 100644
--- a/misc/clawsker/clawsker.SlackBuild
+++ b/misc/clawsker/clawsker.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=clawsker
-VERSION=0.7.5
+VERSION=${VERSION:-0.7.10}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
make
make install DESTDIR=$PKG PREFIX=/usr
@@ -51,7 +55,7 @@ mv $PKG/usr/share/man/ $PKG/usr/man/
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -a AUTHORS COPYING ChangeLog NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc