summaryrefslogtreecommitdiffstats
path: root/abs/extra/perl-sys-mmap/PKGBUILD
blob: a5e73f78dcf55f9e19fb997e9153d99160be3ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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: