blob: 483ef4c398c699223aa08c6b042db19c8e4997fa (
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
29
30
31
32
|
# $Id: PKGBUILD 214237 2014-06-04 13:52:10Z bluewind $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=perl-xml-parser
pkgver=2.41
pkgrel=5
pkgdesc="Expat-based XML parser module for perl"
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/XML-Parser/"
depends=('perl' 'expat')
replaces=('perlxml')
provides=("perlxml=${pkgver}")
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz")
md5sums=('c320d2ffa459e6cdc6f9f59c1185855e')
build() {
cd XML-Parser-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd XML-Parser-${pkgver}
make test
}
package() {
cd XML-Parser-${pkgver}
make DESTDIR="${pkgdir}" install
}
|