# $Id: PKGBUILD 65914 2012-02-22 13:37:20Z 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.666001
pkgrel=2
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=('03128d525392c88e458aa2cd14eb107a')

build() {
  cd  $srcdir/Return-Value-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
