summaryrefslogblamecommitdiff
path: root/user/perl-test-failwarnings/APKBUILD
blob: 1067e2e072da8eff8efa362ea0933c97c087fe0e (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 perl-capture-tiny"
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="7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51  Test-FailWarnings-0.008.tar.gz"