# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Francesco Colista pkgname=perl-provide _pkgreal=provide pkgver=0.03 pkgrel=2 pkgdesc="easily choose between different version-specific implementations" url="https://metacpan.org/release/provide/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/B/BE/BELDEN/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="d16762c4c2ecc69619904d9eb81cbc75dc253f85bf2c52ec17d08b3fa64ebf1897521e9d60cb541884e9ccf0fe0b51420eb57d4b09daabeda29ea00d8a90f6f1 provide-0.03.tar.gz"