# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-extutils-makemaker _pkgreal=ExtUtils-MakeMaker pkgver=7.30 pkgrel=0 pkgdesc="Create a module Makefile" url="http://search.cpan.org/dist/ExtUtils-MakeMaker/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 } build() { cd "$builddir" make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } doc() { default_doc replaces="perl-doc" } sha512sums="6581335be0891f9032e5d5174599f72014656bb317b9fa49481fec623626af84f330e03b8e29793582e62c668d11ae4988be5fe501de1c1f69cdd559ac9d9448 ExtUtils-MakeMaker-7.30.tar.gz"