# Automatically generated by apkbuild-cpan, template 3 # Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=perl-data-guid #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Data-GUID pkgver=0.050 pkgrel=0 pkgdesc="globally unique identifiers" url="https://metacpan.org/release/Data-GUID/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-sub-install perl-sub-exporter perl-data-uuid" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-GUID-$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=" 64a081261e740602ea2e1ca833f0a5df9790b69f199c7b9d7936318fa307d2e473610f592499aa5cce48ce150e80601cd1d5238b6186f608b3e794e4d3377532 Data-GUID-0.050.tar.gz "