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



                                                                   


                               


                                          
                                                        

                                           

              
                          
                                                                                        

                                    
         
                                                                 
            

 

                 


           



                                                                           
                                                                                                                                                                                
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-requiresinternet
_pkgreal=Test-RequiresInternet
_author=MALLEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.05
pkgrel=1
pkgdesc="Easily test network connectivity"
url="https://metacpan.org/release/Test-RequiresInternet"
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="572af3e6fdfb90df3a58ba6eaf571717b294a54fff4b3f597fd177f1eb91fb1c929cb808f8d219f692314a944cf41dc1afab41f5a0dd2185054c08fec69e66c3  Test-RequiresInternet-0.05.tar.gz"