initial import

This commit is contained in:
2017-10-12 20:54:13 +02:00
commit 2bd380946c
2 changed files with 67 additions and 0 deletions

36
perl-cache-cache/PKGBUILD Normal file
View File

@@ -0,0 +1,36 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=perl-cache-cache
pkgver=1.08
pkgrel=2
pkgdesc='Generic cache interface and implementations'
_dist=Cache-Cache
arch=('any')
url="https://metacpan.org/release/$_dist"
license=('GPL' 'PerlArtistic')
depends=('perl-digest-sha1>=2.02' 'perl-error>=0.15' 'perl-ipc-sharelite>=0.09')
options=('!emptydirs' purge)
source=("http://www.cpan.org/authors/id/R/RJ/RJBS/${_dist}-${pkgver}.tar.gz")
sha256sums=('d2c7fd5dba5dd010b7d8923516890bb6ccf6b5f188ccb69f35cb0fd6c031d1e8')
build() {
cd "$srcdir/$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}