summaryrefslogblamecommitdiff
path: root/system/perl-test-simple/APKBUILD
blob: 6b5f6f00881e520613b62ff559cb6900a5182495 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                   


                               
               

                                                
                                              

                                           

              
                          
                                                                                        

                                    
         
                                                                 


            
         


                 


                                                                           

 
                                                                                                                                                                          
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.302181
pkgrel=0
pkgdesc="Basic utilities for writing Perl tests"
url="https://metacpan.org/release/Test-Simple"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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="a13e5bbfce4e70493e8071c32bec3089e9182d82838579d7cc5c068e1b1db0707371ff3fae3191fa5c0dde11ab4851b17ed98fbc4d66c838910895669eabfffd  Test-Simple-1.302181.tar.gz"