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



                                                                   
               

                                                
                                              





                                           
                                                                                      

                                    
         
                                                                 


            
         


                 


                                                                           

 
                                                                                                                                                                          
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
pkgver=1.302166
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"
provides="perl-test-tester"
depends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_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="7bf1759d265f1c9dec01cf42baf0359926e1bb955ebe93b9c9f3d918932cdc39cabd07e18fa2e899540ae5495d7be5b21877cc74805e911db9a9abaf154cefd5  Test-Simple-1.302166.tar.gz"