# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-data-compare _pkgreal=Data-Compare pkgver=1.29 pkgrel=1 pkgdesc="Compare perl data structures" url="https://metacpan.org/release/Data-Compare" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-clone perl-file-find-rule" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" 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=" ce04d888798d4296c1f256d4debf2f64fed1a239da7e4c66ea0b9e45eb32e262d6dae3afbc7f9114dbb15c8ee81f294fd3b96476ee6cf1617a9d1351878209d3 Data-Compare-1.29.tar.gz "