# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Francesco Colista pkgname=perl-yaml-tiny #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=YAML-Tiny pkgver=1.74 pkgrel=1 pkgdesc="Read/Write YAML files with as little code as possible" url="https://metacpan.org/release/YAML-Tiny/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" checkdepends="perl-json-maybexs" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-$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=" 2da59bf583b09a60e8e1bac7c21fc4300ae3ee2092ffd77cbf3778c65c7d0bdf68fa3616665d276f4d4df2437526d36d497ac53be79baa182f84f37640bfcad4 YAML-Tiny-1.74.tar.gz "