mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 06:24:20 +02:00
37 lines
1 KiB
Text
37 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-test-warnings
|
|
pkgver=0.038
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Warnings
|
|
pkgdesc="Test for warnings and the lack of them"
|
|
url="https://metacpan.org/release/Test-Warnings/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
a7cf9426fde5241eb1124431b0b0eb28af91141cd7d5e358fdf44272b9ee184332f4f5f429ec58a82e44da3d26bd6012267942d80e6a392d5236e8ccb7375c7f Test-Warnings-0.038.tar.gz
|
|
"
|