# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-set-object #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Set-Object pkgver=1.42 pkgrel=2 pkgdesc="Unordered collections (sets) of Perl Objects" url="https://metacpan.org/release/Set-Object/" arch="all" license="Artistic-2.0" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Set-Object-$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 make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" f56fcc914c0dac95b6b10465cbab3aaf727f46bf65421ab667bd8fb5e6334fef5d82e80e26609875955121c235c8efb65265baf798c670ba157d8b3a82635d22 Set-Object-1.42.tar.gz "