# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Ross melin <rdmelin@gmail.com>

# Required by zoneminder

pkgname=perl-unicode-map
pkgver=0.112
pkgrel=2
pkgdesc="Unicode::Map"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~MSCHWARTZ/Unicode-Map"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-$pkgver.tar.gz) 
md5sums=('edaa8fc5ddf0e5d805e274283dd0625d')

build() {
  cd  $startdir/src/Unicode-Map-$pkgver
  eval `perl -V:archname`
  PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
      INSTALLDIRS=vendor || return 1
  
  /usr/bin/make || return 1
  /usr/bin/make DESTDIR=$startdir/pkg install || return 1
  /usr/bin/find $startdir/pkg -name '.packlist' -delete
  /usr/bin/find $startdir/pkg -name '*.pod' -delete
}

# vim:set ts=2 sw=2 et: