# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-yaml #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=YAML pkgver=1.30 pkgrel=4 pkgdesc="YAML Ain't Markup Languageā„¢" url="https://metacpan.org/release/YAML/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" checkdepends="perl-test-yaml perl-test-deep" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" options="!check" # checkdepends in community 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=" f73f2d9f3cd96edeb05ec098c859755dd6b80bf1a00049f8de2889ebbf4f41df9fcc1540116afa8648e965a0b780d993f256af2c5ffc03a9f1ba7df1f0cc8941 YAML-1.30.tar.gz "