mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed extra/perl-xml-libxml
This commit is contained in:
parent
858155f19d
commit
e812baf7d5
2 changed files with 0 additions and 52 deletions
|
@ -1,37 +0,0 @@
|
|||
# $Id$
|
||||
# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
|
||||
# Contributor: Justin "juster" Davis <jrcd83@gmail.com>
|
||||
# Contributor: François Charette <francois.archlinux.org>
|
||||
|
||||
# remove when bumped upstream
|
||||
|
||||
pkgname=perl-xml-libxml
|
||||
pkgver=2.0118
|
||||
pkgrel=2.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=('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"/
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in a new issue