[arch-commits] Commit in perl-xml-libxml/repos (6 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Mon May 20 14:28:05 EDT 2013


    Date: Monday, May 20, 2013 @ 20:28:04
  Author: foutrelis
Revision: 91252

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  perl-xml-libxml/repos/community-staging-i686/
  perl-xml-libxml/repos/community-staging-i686/PKGBUILD
    (from rev 91251, perl-xml-libxml/trunk/PKGBUILD)
  perl-xml-libxml/repos/community-staging-i686/perl-xml-libxml.install
    (from rev 91251, perl-xml-libxml/trunk/perl-xml-libxml.install)
  perl-xml-libxml/repos/community-staging-x86_64/
  perl-xml-libxml/repos/community-staging-x86_64/PKGBUILD
    (from rev 91251, perl-xml-libxml/trunk/PKGBUILD)
  perl-xml-libxml/repos/community-staging-x86_64/perl-xml-libxml.install
    (from rev 91251, perl-xml-libxml/trunk/perl-xml-libxml.install)

--------------------------------------------------+
 community-staging-i686/PKGBUILD                  |   36 +++++++++++++++++++++
 community-staging-i686/perl-xml-libxml.install   |   15 ++++++++
 community-staging-x86_64/PKGBUILD                |   36 +++++++++++++++++++++
 community-staging-x86_64/perl-xml-libxml.install |   15 ++++++++
 4 files changed, 102 insertions(+)

Copied: perl-xml-libxml/repos/community-staging-i686/PKGBUILD (from rev 91251, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-05-20 18:28:04 UTC (rev 91252)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83 at gmail.com>
+# Contributor: François Charette <francois.archlinux.org>
+
+pkgname=perl-xml-libxml
+pkgver=2.0018
+pkgrel=1
+pkgdesc="Interface to the libxml library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/XML-LibXML"
+license=('GPL')
+depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('perl-libxml' 'perl-xml-libxml-common')
+conflicts=('perl-libxml' 'perl-xml-libxml-common')
+options=('!emptydirs')
+install=perl-xml-libxml.install
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
+md5sums=('c5db1c6ba5f588802a5e1a15b5b6d653')
+
+build() {
+  cd XML-LibXML-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-LibXML-$pkgver
+  make test
+}
+
+package() {
+  cd XML-LibXML-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"
+}

Copied: perl-xml-libxml/repos/community-staging-i686/perl-xml-libxml.install (from rev 91251, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- community-staging-i686/perl-xml-libxml.install	                        (rev 0)
+++ community-staging-i686/perl-xml-libxml.install	2013-05-20 18:28:04 UTC (rev 91252)
@@ -0,0 +1,15 @@
+post_install() {
+  echo ":: Installing SAX XML Parsers"
+  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+}
+
+post_upgrade() {
+  libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini`
+  if [[ $libxmlcount == 0 ]]; then
+	  echo ":: Installing SAX XML Parsers"
+	  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+	  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+  fi
+}
+

Copied: perl-xml-libxml/repos/community-staging-x86_64/PKGBUILD (from rev 91251, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-05-20 18:28:04 UTC (rev 91252)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin "juster" Davis <jrcd83 at gmail.com>
+# Contributor: François Charette <francois.archlinux.org>
+
+pkgname=perl-xml-libxml
+pkgver=2.0018
+pkgrel=1
+pkgdesc="Interface to the libxml library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/XML-LibXML"
+license=('GPL')
+depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('perl-libxml' 'perl-xml-libxml-common')
+conflicts=('perl-libxml' 'perl-xml-libxml-common')
+options=('!emptydirs')
+install=perl-xml-libxml.install
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
+md5sums=('c5db1c6ba5f588802a5e1a15b5b6d653')
+
+build() {
+  cd XML-LibXML-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-LibXML-$pkgver
+  make test
+}
+
+package() {
+  cd XML-LibXML-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"
+}

Copied: perl-xml-libxml/repos/community-staging-x86_64/perl-xml-libxml.install (from rev 91251, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- community-staging-x86_64/perl-xml-libxml.install	                        (rev 0)
+++ community-staging-x86_64/perl-xml-libxml.install	2013-05-20 18:28:04 UTC (rev 91252)
@@ -0,0 +1,15 @@
+post_install() {
+  echo ":: Installing SAX XML Parsers"
+  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+}
+
+post_upgrade() {
+  libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini`
+  if [[ $libxmlcount == 0 ]]; then
+	  echo ":: Installing SAX XML Parsers"
+	  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+	  /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+  fi
+}
+



More information about the arch-commits mailing list