summaryrefslogtreecommitdiffstats
path: root/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-x11-protocol/perl-x11-protocol.SlackBuild')
-rw-r--r--perl/perl-x11-protocol/perl-x11-protocol.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild
index d00a1b9100..c2cc8ed8ce 100644
--- a/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild
+++ b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild
@@ -33,7 +33,7 @@ SRCNAM=X11-Protocol
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -71,11 +71,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
-# Remove perllocal.pod and other special files that don't need to be installed,
-# as they will overwrite what's already on the system
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-# Remove empty directories
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION