diff options
Diffstat (limited to 'abs/extra/perl-sys-mmap/PKGBUILD')
-rw-r--r-- | abs/extra/perl-sys-mmap/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/perl-sys-mmap/PKGBUILD b/abs/extra/perl-sys-mmap/PKGBUILD new file mode 100644 index 0000000..a5e73f7 --- /dev/null +++ b/abs/extra/perl-sys-mmap/PKGBUILD @@ -0,0 +1,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:
\ No newline at end of file |