# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Francesco Colista pkgname=perl-data-denter _pkgreal=Data-Denter pkgver=0.15 pkgrel=4 pkgdesc="Perl module for Data-Denter" url="https://metacpan.org/release/Data-Denter/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-doc perl-yaml" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="37512f0a7a9f749ceb0d4db210ad25ec812b0ff4a2d955312200251ac7c74fbf1f50930d8475865bc2215e838a00fde73b281ff45569d63931c10d3dc6df6505 Data-Denter-0.15.tar.gz"