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

# Required by zoneminder =>1.24.0

pkgname=perl-sys-mmap
pkgver=0.13
pkgrel=1
pkgdesc="uses mmap to map in a file as a Perl variable"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~SWALTERS/Sys-Mmap"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/S/SW/SWALTERS/Sys-Mmap-$pkgver.tar.gz) 
md5sums=('e65a007157e3e26807db52299497109d')

build() {
  cd  $startdir/src/Sys-Mmap-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}

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