[arch-commits] Commit in perl-xml-libxml/repos/extra-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Mar 11 09:29:12 UTC 2020
Date: Wednesday, March 11, 2020 @ 09:29:12
Author: felixonmars
Revision: 377354
archrelease: copy trunk to extra-x86_64
Added:
perl-xml-libxml/repos/extra-x86_64/PKGBUILD
(from rev 377353, perl-xml-libxml/trunk/PKGBUILD)
perl-xml-libxml/repos/extra-x86_64/perl-xml-libxml.install
(from rev 377353, 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-11 09:28:50 UTC (rev 377353)
+++ PKGBUILD 2020-03-11 09:29:12 UTC (rev 377354)
@@ -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.0202
-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=('1b2b0f3469ef2205998645024be378542fec121931c7b09a8600223efcee92bb9a3619751955e5ade9b06cd70f49ecb759ef31e71da36a9cefbeb87e5e588961')
-
-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 377353, perl-xml-libxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-11 09:29:12 UTC (rev 377354)
@@ -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.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"/
+}
Deleted: perl-xml-libxml.install
===================================================================
--- perl-xml-libxml.install 2020-03-11 09:28:50 UTC (rev 377353)
+++ perl-xml-libxml.install 2020-03-11 09:29:12 UTC (rev 377354)
@@ -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 377353, perl-xml-libxml/trunk/perl-xml-libxml.install)
===================================================================
--- perl-xml-libxml.install (rev 0)
+++ perl-xml-libxml.install 2020-03-11 09:29:12 UTC (rev 377354)
@@ -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