aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-08-30 21:36:56 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-02 03:36:41 -0400
commit665130b2875a0af84276193d70908f11a866c30a (patch)
tree1ae194385b8b03cfc5bc41b27763fb5ff43f29e2 /perl
parentd0d56c5f0c8bb2ee9bc55fe7e28e0cc2c73e6935 (diff)
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')
-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 b65da73938314..fd0e3048a6edf 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