aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-cache-cache/APKBUILD
blob: 699fe8a0f36dd79a4fee30cd4fae0e8c5d0c1d3f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                 

                        
           
        
                                                          
                                               
             
                                               

                                          
                          
                                                                                
                                    

           
                       



                                                                 



                 


           
                                      


                                                                           
                                                                                                                                                                      
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=perl-cache-cache
_pkgreal=Cache-Cache
pkgver=1.08
pkgrel=3
pkgdesc="Perl modules for cache-handling for applications"
url="https://metacpan.org/release/Cache-Cache/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-error perl-digest-sha1"
makedepends="perl-ipc-sharelite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}
check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7b0f215b9c765840a1ca1e831735aeff610288048c352889408d514d41820b9315d2de03712b4ad6637d9f0db59467240a0918c22c1257a3f87bc62add4f0e06  Cache-Cache-1.08.tar.gz"