aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2010-06-01 01:34:09 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-01 01:34:09 -0500
commit2a8c760e2740b8d22b09aadce4963e549278992d (patch)
tree2e763399c2ba6585f926be53741b2e8e10bc11f0 /libraries
parent9664ade5062c59484f67cc1bdd2e79ffc2940c33 (diff)
libraries/perl-dbd-sqlite: Trivial fixups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild12
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 699dcc97c70d6..38e73078952bd 100644
--- a/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
+++ b/libraries/perl-dbd-sqlite/perl-dbd-sqlite.SlackBuild
@@ -61,15 +61,9 @@ rm -rf $PKG/usr/share
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-( cd $PKG
- find . -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-)
-
-# Remove empty leftovers
-rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0
+# Remove unneeded files and empty directories
+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 \