1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: kleptophobiac@gmail.com
5 pkgname=perl-xml-simple
9 pkgdesc="Simple XML parser for perl"
11 license=('PerlArtistic')
12 url="https://search.cpan.org/dist/${_realname}/"
13 depends=('perl-xml-sax-expat')
14 options=('!emptydirs')
15 source=("https://www.cpan.org/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz")
16 sha512sums=('0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c')
19 cd "${srcdir}/${_realname}-${pkgver}"
20 perl Makefile.PL INSTALLDIRS=vendor
25 cd "${srcdir}/${_realname}-${pkgver}"
30 cd "${srcdir}/${_realname}-${pkgver}"
31 make DESTDIR="${pkgdir}" install