# Maintainer: Jimmy Xu # Contributor: xRemaLx # Contributor: Caleb Cushing _perlmod='Cache-FastMmap' _modnamespace=Cache pkgname=perl-cache-fastmmap pkgver=1.56 pkgrel=1 pkgdesc="Uses an mmap'ed file to act as a shared memory interprocess cache" arch=("x86_64" "i686") url="http://search.cpan.org/dist/$_perlmod" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("http://cpan.perl.org/modules/by-module/$_modnamespace/$_perlmod-$pkgver.tar.gz") sha256sums=('8becaf0dacc876e9f60f4737104b79fd4e343d6fd984cef7d7a6dd14516b2159') build() { cd "$srcdir/$_perlmod-$pkgver" # Install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$srcdir/$_perlmod-$pkgver" # Install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor #make test } package() { cd "$srcdir/$_perlmod-$pkgver" make install DESTDIR="$pkgdir/" } # vim:set ts=2 sw=2 et: