summaryrefslogtreecommitdiff
path: root/perl/perl-encode-locale
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-encode-locale')
-rw-r--r--perl/perl-encode-locale/perl-encode-locale.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-encode-locale/perl-encode-locale.SlackBuild b/perl/perl-encode-locale/perl-encode-locale.SlackBuild
index 333ee04346..045da856b4 100644
--- a/perl/perl-encode-locale/perl-encode-locale.SlackBuild
+++ b/perl/perl-encode-locale/perl-encode-locale.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 \