mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
perl/perl-BerkeleyDB: Fix perms on some docs
Thanks to Niki Kovacs <info@microlinux.fr> for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
c7aed8ed13
commit
86a739a770
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue