# $Id: PKGBUILD 105706 2014-02-14 09:19:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-user-identity
pkgver=0.94
pkgrel=1
pkgdesc="Perl/CPAN Module User::Identity : Define a person"
arch=("any")
url="http://search.cpan.org/~markov/User-Identity/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MA/MARKOV/User-Identity-$pkgver.tar.gz")
md5sums=('01a6c673d2f066937a8d364ecfff90a0')

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

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