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

Eric Bélanger eric at archlinux.org
Fri Apr 3 23:40:36 UTC 2015


    Date: Saturday, April 4, 2015 @ 01:40:36
  Author: eric
Revision: 235404

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  perl-xml-libxml/repos/extra-i686/PKGBUILD
    (from rev 235403, perl-xml-libxml/trunk/PKGBUILD)
  perl-xml-libxml/repos/extra-i686/perl-xml-libxml.install
    (from rev 235403, perl-xml-libxml/trunk/perl-xml-libxml.install)
  perl-xml-libxml/repos/extra-x86_64/PKGBUILD
    (from rev 235403, perl-xml-libxml/trunk/PKGBUILD)
  perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install
    (from rev 235403, perl-xml-libxml/trunk/perl-xml-libxml.install)
Deleted:
  perl-xml-libxml/repos/extra-i686/PKGBUILD
  perl-xml-libxml/repos/extra-i686/perl-xml-libxml.install
  perl-xml-libxml/repos/extra-x86_64/PKGBUILD
  perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install

--------------------------------------+
 /PKGBUILD                            |   70 +++++++++++++++++++++++++++++++++
 /perl-xml-libxml.install             |   32 +++++++++++++++
 extra-i686/PKGBUILD                  |   35 ----------------
 extra-i686/perl-xml-libxml.install   |   15 -------
 extra-x86_64/PKGBUILD                |   35 ----------------
 extra-x86_64/perl-xml-libxml.install |   15 -------
 6 files changed, 102 insertions(+), 100 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-04-03 23:38:22 UTC (rev 235403)
+++ extra-i686/PKGBUILD	2015-04-03 23:40:36 UTC (rev 235404)
@@ -1,35 +0,0 @@
-# $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.0118
-pkgrel=2
-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' 'perl-xml-namespacesupport')
-provides=('perl-libxml' 'perl-xml-libxml-common')
-replaces=('perl-libxml' 'perl-xml-libxml-common')
-options=('!emptydirs')
-install=$pkgname.install
-source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
-md5sums=('da8d61a5d0d1bfd8d46814e376d33f58')
-
-build() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  perl Makefile.PL INSTALLDIRS=vendor
-  make
-}
-
-check() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  make test
-}
-
-package() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  make pure_install doc_install DESTDIR="$pkgdir"/
-}

Copied: perl-xml-libxml/repos/extra-i686/PKGBUILD (from rev 235403, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-04-03 23:40:36 UTC (rev 235404)
@@ -0,0 +1,35 @@
+# $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.0118
+pkgrel=3
+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' 'perl-xml-namespacesupport')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('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=('da8d61a5d0d1bfd8d46814e376d33f58')
+
+build() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  make test
+}
+
+package() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"/
+}

Deleted: extra-i686/perl-xml-libxml.install
===================================================================
--- extra-i686/perl-xml-libxml.install	2015-04-03 23:38:22 UTC (rev 235403)
+++ extra-i686/perl-xml-libxml.install	2015-04-03 23:40:36 UTC (rev 235404)
@@ -1,15 +0,0 @@
-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/extra-i686/perl-xml-libxml.install (from rev 235403, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- extra-i686/perl-xml-libxml.install	                        (rev 0)
+++ extra-i686/perl-xml-libxml.install	2015-04-03 23:40:36 UTC (rev 235404)
@@ -0,0 +1,16 @@
+post_install() {
+  echo ":: Installing SAX XML Parsers"
+  perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+  perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+}
+
+post_upgrade() {
+  if [[ ! -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then
+    post_install
+  else
+    libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini`
+    if [[ $libxmlcount == 0 ]]; then
+      post_install
+    fi
+  fi
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-04-03 23:38:22 UTC (rev 235403)
+++ extra-x86_64/PKGBUILD	2015-04-03 23:40:36 UTC (rev 235404)
@@ -1,35 +0,0 @@
-# $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.0118
-pkgrel=2
-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' 'perl-xml-namespacesupport')
-provides=('perl-libxml' 'perl-xml-libxml-common')
-replaces=('perl-libxml' 'perl-xml-libxml-common')
-options=('!emptydirs')
-install=$pkgname.install
-source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
-md5sums=('da8d61a5d0d1bfd8d46814e376d33f58')
-
-build() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  perl Makefile.PL INSTALLDIRS=vendor
-  make
-}
-
-check() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  make test
-}
-
-package() {
-  cd "$srcdir"/XML-LibXML-$pkgver
-  make pure_install doc_install DESTDIR="$pkgdir"/
-}

Copied: perl-xml-libxml/repos/extra-x86_64/PKGBUILD (from rev 235403, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-04-03 23:40:36 UTC (rev 235404)
@@ -0,0 +1,35 @@
+# $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.0118
+pkgrel=3
+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' 'perl-xml-namespacesupport')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('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=('da8d61a5d0d1bfd8d46814e376d33f58')
+
+build() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  make test
+}
+
+package() {
+  cd "$srcdir"/XML-LibXML-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"/
+}

Deleted: extra-x86_64/perl-xml-libxml.install
===================================================================
--- extra-x86_64/perl-xml-libxml.install	2015-04-03 23:38:22 UTC (rev 235403)
+++ extra-x86_64/perl-xml-libxml.install	2015-04-03 23:40:36 UTC (rev 235404)
@@ -1,15 +0,0 @@
-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/extra-x86_64/perl-xml-libxml.install (from rev 235403, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- extra-x86_64/perl-xml-libxml.install	                        (rev 0)
+++ extra-x86_64/perl-xml-libxml.install	2015-04-03 23:40:36 UTC (rev 235404)
@@ -0,0 +1,16 @@
+post_install() {
+  echo ":: Installing SAX XML Parsers"
+  perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+  perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()"
+}
+
+post_upgrade() {
+  if [[ ! -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then
+    post_install
+  else
+    libxmlcount=`grep -c XML::LibXML::SAX /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini`
+    if [[ $libxmlcount == 0 ]]; then
+      post_install
+    fi
+  fi
+}



More information about the arch-commits mailing list