Date: Sunday, December 21, 2014 @ 00:41:51 Author: jlichtblau Revision: 124236
archrelease: copy trunk to community-x86_64 Added: perl-xml-libxml/repos/community-x86_64/PKGBUILD (from rev 124235, perl-xml-libxml/trunk/PKGBUILD) perl-xml-libxml/repos/community-x86_64/perl-xml-libxml.install (from rev 124235, perl-xml-libxml/trunk/perl-xml-libxml.install) Deleted: perl-xml-libxml/repos/community-x86_64/PKGBUILD perl-xml-libxml/repos/community-x86_64/perl-xml-libxml.install -------------------------+ PKGBUILD | 76 +++++++++++++++++++++++----------------------- perl-xml-libxml.install | 30 +++++++++--------- 2 files changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-12-20 23:41:40 UTC (rev 124235) +++ PKGBUILD 2014-12-20 23:41:51 UTC (rev 124236) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Jonathan Steel <jst...@aur.archlinux.org> -# Contributor: Justin "juster" Davis <jrc...@gmail.com> -# Contributor: François Charette <francois.archlinux.org> - -pkgname=perl-xml-libxml -pkgver=2.0116 -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=('a53a743bf053a0cb4afb41513fb8a684') - -build() { - cd "$srcdir"/XML-LibXML-$pkgver - - PERL_MM_USE_DEFAULT=1 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/community-x86_64/PKGBUILD (from rev 124235, perl-xml-libxml/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-12-20 23:41:51 UTC (rev 124236) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Jonathan Steel <jst...@aur.archlinux.org> +# Contributor: Justin "juster" Davis <jrc...@gmail.com> +# Contributor: François Charette <francois.archlinux.org> + +pkgname=perl-xml-libxml +pkgver=2.0117 +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' '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=('484308164ecab1d7d0eddf4dc4c9c0ca') + +build() { + cd "$srcdir"/XML-LibXML-$pkgver + + PERL_MM_USE_DEFAULT=1 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: perl-xml-libxml.install =================================================================== --- perl-xml-libxml.install 2014-12-20 23:41:40 UTC (rev 124235) +++ perl-xml-libxml.install 2014-12-20 23:41:51 UTC (rev 124236) @@ -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/community-x86_64/perl-xml-libxml.install (from rev 124235, perl-xml-libxml/trunk/perl-xml-libxml.install) =================================================================== --- perl-xml-libxml.install (rev 0) +++ perl-xml-libxml.install 2014-12-20 23:41:51 UTC (rev 124236) @@ -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 +} +