# $Id: PKGBUILD 219507 2014-08-10 14:55:25Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# 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.400
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/T/TS/TSCH/ExtUtils-Depends-${pkgver}.tar.gz")
md5sums=('3c876c8199aec7c59d1b5df9fdaffd58')

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
}
