updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / perl-xml-encoding / PKGBUILD
blobb10f38704e922e18c3b035e7d9fa719e016bf74f
1 # Contributor: zlowly <zlowly@gmail.com>
2 pkgname=perl-xml-encoding
3 _realname=XML-Encoding
4 pkgver=2.08
5 pkgrel=1
6 pkgdesc="Perl/CPAN Module XML::Encoding - A perl module for parsing XML encoding maps"
7 arch=(i686 x86_64)
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.6.0' 'perlxml')
10 url="http://search.cpan.org/~shay/XML-Encoding-${pkgver}/Encoding.pm"
11 options=(!emptydirs)
12 source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/XML-Encoding-${pkgver}.tar.gz)
13 md5sums=('21a602a43060d49302c86ca77aa9db33')
14 build() {
15   cd ${srcdir}/${_realname}-${pkgver}
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
17   make  || return 1
18   make install DESTDIR=${pkgdir} || return 1
19   find ${pkgdir} -name perllocal.pod -delete
20   find ${pkgdir} -name .packlist -delete