2 # Contributor: max-k <max-k@post.com>
4 pkgname=perl-xml-entities
8 pkgdesc="XML::Entities - Decode strings with XML entities"
9 url="http://search.cpan.org/dist/XML-Entities/lib/XML/Entities.pm"
11 depends=('perl>=5.10.0' 'perl-html-parser')
12 arch=('i686' 'x86_64')
15 source=(http://ftp.crihan.fr/mirrors/ftp.cpan.org/authors/id/S/SI/SIXTEASE/${_realname}-${pkgver}.tar.gz)
16 md5sums=('e25406fec04ea5ea9c346a19b0900bc5')
19 cd ${startdir}/src/${_realname}
21 # Install module into the vendor directory.
22 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make DESTDIR=${startdir}/pkg install || return 1
27 # Remove .packlist file.
28 find ${startdir}/pkg -name '.packlist' -delete