# $Id: PKGBUILD 99500 2013-10-29 10:23:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-return-value
pkgver=1.666004
pkgrel=1
pkgdesc="Polymorphic Return Values "
arch=('any')
url="http://search.cpan.org/dist/Return-Value"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/Return-Value-$pkgver.tar.gz)
md5sums=('7029edc09f1c424ac63e82efb903c911')

build() {
  cd  $srcdir/Return-Value-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  $srcdir/Return-Value-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
