From 86a739a77054011f8922bc7b265705d99916d111 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 13 Jul 2013 02:56:15 -0500 Subject: perl/perl-BerkeleyDB: Fix perms on some docs Thanks to Niki Kovacs for the report. Signed-off-by: Robby Workman --- perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index c82ed06908c3e..99279263a40a9 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -29,7 +29,7 @@ PRGNAM="perl-BerkeleyDB" VERSION=${VERSION:-0.52} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -87,6 +87,7 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3