summaryrefslogblamecommitdiff
path: root/user/perl-test-warn/APKBUILD
blob: d27f2e74714c7bad0c92bffbc60da24b86fd574c (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           
























                                                                                        
                                                                                                                                                                    
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-warn
_pkgreal=Test-Warn
_author=BIGJ
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.37
pkgrel=0
pkgdesc="Test for warnings"
url="https://metacpan.org/pod/Test::Warn"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-sub-uplevel"
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="908f3c5c68463ab72f70759032116465f4f63519dd5112666dd6ddcfd5e52163fd433d9eb459dafd721d85c64464549476c6e0bfcfff56d27cf44689fadfce67  Test-Warn-0.37.tar.gz"