aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-x11-protocol
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-22 22:51:04 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:53 +0000
commit7946f3cd9c4590d29635a3e731cb67e1bf3f5ceb (patch)
tree9322c0a716a1eda4eef39ad8bf50436231c4d93e /perl/perl-x11-protocol
parentfa69a2eae5e20962b47ce648a729e35aeb0bc5a1 (diff)
perl/perl-x11-protocol: i486=>i586, remove template comments.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-x11-protocol')
-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 d00a1b9100c9..c2cc8ed8ce7b 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