aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-file-listing/perl-file-listing.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-file-listing/perl-file-listing.SlackBuild b/perl/perl-file-listing/perl-file-listing.SlackBuild
index 6f1d9616778f0..13368d03d9ee7 100644
--- a/perl/perl-file-listing/perl-file-listing.SlackBuild
+++ b/perl/perl-file-listing/perl-file-listing.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -66,10 +66,8 @@ make
make test
make install DESTDIR=$PKG
-# Remove perllocal.pod and other special files that don't need to be installed
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \