diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 21:33:15 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:29:43 +0000 |
commit | 86b689fb06c934d33387ba1a9f22e3e9a04557d8 (patch) | |
tree | 8c42dd3126612280bda969aa1a9b52fc7150e9db /perl/perl-xml-libxml | |
parent | 1c15fed5ef2ccc5d1ca0e10859f3457b7c4302e9 (diff) | |
download | slackbuilds-86b689fb06c934d33387ba1a9f22e3e9a04557d8.tar.gz |
perl/perl-xml-libxml: Install doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-xml-libxml')
-rw-r--r-- | perl/perl-xml-libxml/doinst.sh | 9 | ||||
-rw-r--r-- | perl/perl-xml-libxml/perl-xml-libxml.SlackBuild | 3 |
2 files changed, 6 insertions, 6 deletions
diff --git a/perl/perl-xml-libxml/doinst.sh b/perl/perl-xml-libxml/doinst.sh index ea301fb961..37c9498be7 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 429901f014..81ba159e70 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} |