summaryrefslogtreecommitdiff
path: root/libraries/perl-dbd-sqlite
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/perl-dbd-sqlite
parent9664ade5062c59484f67cc1bdd2e79ffc2940c33 (diff)
downloadslackbuilds-2a8c760e2740b8d22b09aadce4963e549278992d.tar.gz
libraries/perl-dbd-sqlite: Trivial fixups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/perl-dbd-sqlite')
-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 699dcc97c7..38e7307895 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 \