summaryrefslogtreecommitdiff
path: root/pcr/perl-xml-libxml-simple/PKGBUILD
blob: 14b0b8190834f55966e1cbb5a15c372261b39030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor (Arch): Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
# Contributor: Márcio Silva <coadde@parabola.nu>

pkgname=perl-xml-libxml-simple
pkgver=0.95
pkgrel=1
pkgdesc="XML::LibXML based XML::Simple clone"
arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/XML-LibXML-Simple"
license=('GPL1')
depends=('perl-xml-libxml' 'perl-file-slurp')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-$pkgver.tar.gz)

build() {
  cd  $srcdir/XML-LibXML-Simple-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  $srcdir/XML-LibXML-Simple-$pkgver
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}

md5sums=('862fd977c97c4ec777a235522e12229d')