# Automatically generated by apkbuild-cpan, template 1 # Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=perl-getopt-tabular _pkgreal=Getopt-Tabular pkgver=0.3 pkgrel=4 pkgdesc="Table-driven argument parsing for Perl 5" url="https://metacpan.org/release/Getopt-Tabular" 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/G/GW/GWARD/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') 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=" a289d4861538ae542f7549364573cadd740538f73862d89dd49eaf6bed6f787ba2848246add171aed6aef4d7d36411d00bef70b76885aa948ce0e7fc8801652b Getopt-Tabular-0.3.tar.gz "