summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
index 27267802d3..c2289e24a8 100644
--- a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
+++ b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
@@ -73,7 +73,9 @@ rm -rf $PKG/usr/share
)
# Remove empty leftovers
-rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0
+find $PKG \( -name perllocal.pod -o -name .packlist -o \
+ -name '*.bs' -empty \) -delete
+find $PKG -depth -type d -empty -delete
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \