summaryrefslogtreecommitdiffstats
path: root/perl/perl-xml-namespacesupport
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2012-08-30 21:36:56 -0400
committer dsomero <xgizzmo@slackbuilds.org>2012-09-02 03:36:41 -0400
commit665130b2875a0af84276193d70908f11a866c30a (patch)
tree1ae194385b8b03cfc5bc41b27763fb5ff43f29e2 /perl/perl-xml-namespacesupport
parentd0d56c5f0c8bb2ee9bc55fe7e28e0cc2c73e6935 (diff)
downloadslackbuilds-665130b2875a0af84276193d70908f11a866c30a.tar.gz
slackbuilds-665130b2875a0af84276193d70908f11a866c30a.tar.xz
perl/perl-xml-namespacesupport: Fixed build.
Don't delete $PKG/usr/share perl stuff lives there now. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-xml-namespacesupport')
-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