aports/testing/perl-test2-tools-explain/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

38 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-test2-tools-explain
pkgver=0.02
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test2-Tools-Explain
pkgdesc="Explain tools for Perl's Test2 framework"
url="https://metacpan.org/release/Test2-Tools-Explain/"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-test2-suite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Test2-Tools-Explain-$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="
4359db90fede4aa2e6d8e0ee1e006131e372636ba8ab28c12ff1ef5c30e6f7a23fcf4b63d0ad64d54b881a2b344bbcf279cc7d7777982178065c89c3fceabf04 Test2-Tools-Explain-0.02.tar.gz
"