1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
4 pkgname=perl-cache-cache
8 pkgdesc="Generic cache interface and implementations"
10 url="http://search.cpan.org/~JSWARTZ/${_cpanname}"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl-digest-sha1>=2.02' 'perl-error>=0.15')
13 options=('!emptydirs')
14 source=(http://www.cpan.org/authors/id/J/JS/JSWARTZ/${_cpanname}-${pkgver}.tar.gz)
15 md5sums=('4425f44ddb138a799290802e5aad46ef')
18 cd $srcdir/${_cpanname}-${pkgver}
19 sed -i '/^auto_install/d' Makefile.PL
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR=$pkgdir || return 1
23 find $pkgdir -name '.packlist' -delete
24 find $pkgdir -name '*.pod' -delete