summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild
index b65da73938..fd0e3048a6 100644
--- a/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild
+++ b/perl/perl-xml-namespacesupport/perl-xml-namespacesupport.SlackBuild
@@ -11,12 +11,10 @@ VERSION=1.09
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -41,7 +39,7 @@ perl Makefile.PL || exit 1
make || exit 1
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
-mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share
+mv $PKG/usr/share/man $PKG/usr
gzip -9 $PKG/usr/man/man3/* 2> /dev/null
# Remove perlocal.pod and .packlist from $PKG