summaryrefslogblamecommitdiff
path: root/system/perl-test-warnings/APKBUILD
blob: 357e12575b7814113e29b2a824883b6309c6db02 (plain) (tree)
1
2
3
4
5
6
7
8
                                       
                                                          
                          



                               
            



                                                
                                       
              
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                         
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-warnings
_pkgreal=Test-Warnings
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.033
pkgrel=0
pkgdesc="Test for warnings and the lack of them"
url="https://metacpan.org/pod/Test::Warnings"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
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="dc49e345b2b5d2dd42d83b4351025f2c0db0216ef8388b02db77d5078e5eda0b5aab1491b07a0009923acc73b30c4ef6d77d406e85b0f958f575007c6ca1e6e8  Test-Warnings-0.033.tar.gz"