aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-xml-libxml/doinst.sh9
-rw-r--r--perl/perl-xml-libxml/perl-xml-libxml.SlackBuild3
2 files changed, 6 insertions, 6 deletions
diff --git a/perl/perl-xml-libxml/doinst.sh b/perl/perl-xml-libxml/doinst.sh
index ea301fb9611d..37c9498be743 100644
--- a/perl/perl-xml-libxml/doinst.sh
+++ b/perl/perl-xml-libxml/doinst.sh
@@ -1,6 +1,5 @@
# Update SAX parsers
-chroot .
-/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" 1>/dev/null
-/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" 1>/dev/null
-
-
+chroot . \
+ /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" 1>/dev/null
+chroot . \
+ /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" 1>/dev/null
diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
index 429901f01404..81ba159e702d 100644
--- a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
+++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
@@ -13,7 +13,7 @@ SRCNAM=XML-LibXML
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -68,6 +68,7 @@ chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}