summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-simple/PKGBUILD
blob: 5d5b9104d6421bb6af1b495c85e28a6c743a961b (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
# $Id: PKGBUILD 87823 2010-08-18 11:13:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: kleptophobiac@gmail.com

pkgname=perl-xml-simple
_realname=XML-Simple
pkgver=2.18
pkgrel=3
pkgdesc="Simple XML parser for perl"
arch=(any)
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-xml-parser' 'perl>=5.10.0')
options=('!emptydirs')
source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz)
md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')

build() {
  cd "${srcdir}/${_realname}-${pkgver}"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}
package() {
  cd "${srcdir}/${_realname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}