summaryrefslogblamecommitdiff
path: root/user/perl-cpan-meta-check/APKBUILD
blob: 755ca2c00ac606e468fef4f420ef3fac4f193e87 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                            



                               
            



                                                         
                                       
              
                             
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-cpan-meta-check
_pkgreal=CPAN-Meta-Check
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.018
pkgrel=0
pkgdesc="Verify requirements in a Perl CPAN::Meta object"
url="https://metacpan.org/release/CPAN-Meta-Check"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
checkdepends="perl-test-deep"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

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

sha512sums="ea340287e4f14a5ea00f7fe0decc424ff3ac1af9615cf41905e36be37b1b5f3401d3d44d4aef1d0f4a253f46f0170e1a1607b669ab975ba78d7c1497f0583169  CPAN-Meta-Check-0.018.tar.gz"