blob: e9cac04ae1ccfd202f2eb5aaf24d976980e06e0a (
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
|
# Maintainer : Laƫl Guillemenot <zeppelinlg@gmail.com>
pkgname=perl-cache-cache
_cpanname=Cache-Cache
pkgver=1.08
pkgrel=1
pkgdesc="Generic cache interface and implementations"
arch=('any')
url="http://search.cpan.org/~JSWARTZ/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl-digest-sha1>=2.02' 'perl-error>=0.15' 'perl-ipc-sharelite>=0.09')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RJ/RJBS/${_cpanname}-${pkgver}.tar.gz)
md5sums=('c18bfc823055d1df5255ae834e161749')
build() {
cd $srcdir/${_cpanname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd $srcdir/${_cpanname}-${pkgver}
make install DESTDIR=$pkgdir || return 1
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
|