# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-config-tiny _pkgreal=Config-Tiny pkgver=2.29 pkgrel=1 pkgdesc="Perl module for Config-Tiny" url="https://metacpan.org/release/Config-Tiny/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { if [ -e Build.PL ]; then perl Build.PL installdirs=vendor else PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor fi } 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=" 48f84d198430762333c10c57437bfdf20b99ad79d5b39d8215fdf8853a756cb476d99b85ff145193358a56e0bad2e470431af929869b17f153cd3ef0723804d9 Config-Tiny-2.29.tgz "