diff options
-rw-r--r-- | libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild index c2289e24a8..699dcc97c7 100644 --- a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild +++ b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild @@ -49,12 +49,8 @@ make make test make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Move man pages mv $PKG/usr/share/man $PKG/usr/ @@ -73,9 +69,7 @@ rm -rf $PKG/usr/share ) # Remove empty leftovers -find $PKG \( -name perllocal.pod -o -name .packlist -o \ - -name '*.bs' -empty \) -delete -find $PKG -depth -type d -empty -delete +rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |