main/perl-test-cpan-meta: take over maintainership

This commit is contained in:
Celeste 2024-07-02 16:24:52 +00:00
parent c47ac903d2
commit c0ca3fad48

View file

@ -1,37 +1,38 @@
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-test-cpan-meta
_pkgreal=Test-CPAN-Meta
pkgver=0.25
pkgrel=4
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-1.0-Perl OR GPL-1.0-or-later"
license="Artistic-2.0"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BA/BARBIE/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
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
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
sha512sums="60a3414e1e0f9aaa1a9459aedd76a6d937742a4197d0d5ce9330348138997d372ca3f454c262fb6dd757699168aa7d1c2653c4066060c9c5685a6fe407260580 Test-CPAN-Meta-0.25.tar.gz"
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
60a3414e1e0f9aaa1a9459aedd76a6d937742a4197d0d5ce9330348138997d372ca3f454c262fb6dd757699168aa7d1c2653c4066060c9c5685a6fe407260580 Test-CPAN-Meta-0.25.tar.gz
"