# $Id: PKGBUILD 228058 2014-12-26 14:25:38Z fyan $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soulfly.nl>

pkgname=perl-extutils-depends
pkgver=0.403
pkgrel=1
pkgdesc="The Perl depends module"
arch=('any')
url="http://search.cpan.org/dist/ExtUtils-Depends/"
license=('PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-${pkgver}.tar.gz")
md5sums=('bf28c1aad4e1d8761f598ab0b0531dd9')

build() {
  cd ExtUtils-Depends-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd ExtUtils-Depends-${pkgver}
  make test
}

package() {
  cd ExtUtils-Depends-${pkgver}
  make DESTDIR="${pkgdir}" install
}
