[arch-commits] Commit in perl-xml-libxml/repos/extra-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Mar 18 09:00:37 UTC 2020
Date: Wednesday, March 18, 2020 @ 09:00:37
Author: felixonmars
Revision: 377839
archrelease: copy trunk to extra-x86_64
Added:
perl-xml-libxml/repos/extra-x86_64/PKGBUILD
(from rev 377838, perl-xml-libxml/trunk/PKGBUILD)
perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install
(from rev 377838, perl-xml-libxml/trunk/perl-xml-libxml.install)
Deleted:
perl-xml-libxml/repos/extra-x86_64/PKGBUILD
perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install
-------------------------+
PKGBUILD | 72 +++++++++++++++++++++++-----------------------
perl-xml-libxml.install | 46 ++++++++++++++---------------
2 files changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-18 09:00:15 UTC (rev 377838)
+++ PKGBUILD 2020-03-18 09:00:37 UTC (rev 377839)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: 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.0203
-pkgrel=1
-pkgdesc="Interface to the libxml library"
-arch=('x86_64')
-url="https://search.cpan.org/dist/XML-LibXML"
-license=('GPL')
-depends=('perl-alien-libxml2' 'perl-xml-sax' 'perl-xml-namespacesupport')
-checkdepends=('perl-test-pod' 'perl-test-leaktrace' 'perl-cpan-changes' 'perl-uri')
-provides=('perl-libxml' 'perl-xml-libxml-common')
-replaces=('perl-libxml' 'perl-xml-libxml-common')
-options=('!emptydirs')
-install=perl-xml-libxml.install
-source=(https://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
-sha512sums=('d2d14078975f78f8a06fad0df072858e3324c90189915f7a5f6facf715c95daf03545f7ce23fb0c0bdb7cc00924704d0186f1d7a9308744bcef1e739459dca45')
-
-build() {
- cd XML-LibXML-$pkgver
- 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/extra-x86_64/PKGBUILD (from rev 377838, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-18 09:00:37 UTC (rev 377839)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: 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.0204
+pkgrel=1
+pkgdesc="Interface to the libxml library"
+arch=('x86_64')
+url="https://search.cpan.org/dist/XML-LibXML"
+license=('GPL')
+depends=('perl-alien-libxml2' 'perl-xml-sax' 'perl-xml-namespacesupport')
+checkdepends=('perl-test-pod' 'perl-test-leaktrace' 'perl-cpan-changes' 'perl-uri')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('perl-libxml' 'perl-xml-libxml-common')
+options=('!emptydirs')
+install=perl-xml-libxml.install
+source=(https://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
+sha512sums=('97cf8e29209ed8f355923fadad3bbbeae73c988437799edb9ed22cf70bbd2c180e7e28b35150a36a6e6cbb8b7fa5e3a53b31af3d2949e1d00534dd1378175fef')
+
+build() {
+ cd XML-LibXML-$pkgver
+ 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"/
+}
Deleted: perl-xml-libxml.install
===================================================================
--- perl-xml-libxml.install 2020-03-18 09:00:15 UTC (rev 377838)
+++ perl-xml-libxml.install 2020-03-18 09:00:37 UTC (rev 377839)
@@ -1,23 +0,0 @@
-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
-}
-
-pre_remove() {
- if [[ -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then
- perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
- perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX))->save_parsers()"
- fi
-}
Copied: perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install (from rev 377838, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- perl-xml-libxml.install (rev 0)
+++ perl-xml-libxml.install 2020-03-18 09:00:37 UTC (rev 377839)
@@ -0,0 +1,23 @@
+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
+}
+
+pre_remove() {
+ if [[ -f /usr/share/perl5/vendor_perl/XML/SAX/ParserDetails.ini ]]; then
+ perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX::Parser))->save_parsers()"
+ perl -MXML::SAX -e "XML::SAX->remove_parser(q(XML::LibXML::SAX))->save_parsers()"
+ fi
+}
More information about the arch-commits
mailing list