aboutsummaryrefslogtreecommitdiff
path: root/development/sloccount
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-03-16 03:24:26 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-18 09:50:25 +0700
commitf5840cfccfafa27356e4e09808ce1c2c6a38ee8d (patch)
treee2163fe2ceb1e26ddf6176fdbd447b1905ad249d /development/sloccount
parentf943495036b87c26fd260692a32ea90c5c564b37 (diff)
development/sloccount: Fix doc and man permissions.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/sloccount')
-rw-r--r--development/sloccount/sloccount.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/sloccount/sloccount.SlackBuild b/development/sloccount/sloccount.SlackBuild
index 56e45d1e8094..84f7afb37d1c 100644
--- a/development/sloccount/sloccount.SlackBuild
+++ b/development/sloccount/sloccount.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sloccount
VERSION=${VERSION:-2.26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -99,6 +99,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cp -a COPYING SOURCES $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* $PKG/usr/man/man*/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install