aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:45 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:45 -0400
commitccac84288d6e01921dce77dfbeeed66d5c6c9adb (patch)
tree1a7ebe2877a119dae743fdfb1a5013c2d594b585
parent33c38deab20b145e25d96e8e28335881f3e0c1d5 (diff)
libraries/perl-dbd-sqlite: Fixed for bash4.
-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 c2289e24a86e..699dcc97c70d 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 \