aports/main/perl-test-cpan-meta/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

39 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-test-cpan-meta
pkgver=0.25
pkgrel=5
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-CPAN-Meta
pkgdesc="Validate your CPAN META.json files"
url="https://metacpan.org/release/Test-CPAN-Meta/"
arch="noarch"
license="Artistic-2.0"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-$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="
60a3414e1e0f9aaa1a9459aedd76a6d937742a4197d0d5ce9330348138997d372ca3f454c262fb6dd757699168aa7d1c2653c4066060c9c5685a6fe407260580 Test-CPAN-Meta-0.25.tar.gz
"