summaryrefslogblamecommitdiff
path: root/user/perl-test-failwarnings/APKBUILD
blob: 588d46813a820e9dedb3473b93d39ddc82817f42 (plain) (tree)
1
2
3
4
5
6
7
                                                         

                                                                   



                               





                                                          
                           

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                             
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-failwarnings
_pkgreal=Test-FailWarnings
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.008
pkgrel=0
pkgdesc="Perl module for failing tests on caught warnings"
url="https://metacpan.org/pod/Test::FailWarnings"
arch="noarch"
license="Apache-2.0"
depends="perl-capture-tiny"
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="7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51  Test-FailWarnings-0.008.tar.gz"