# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-pod-cpandoc' setvar _pkgreal = 'Pod-Cpandoc' setvar pkgver = '0.16' setvar pkgrel = '0' setvar pkgdesc = ""perldoc that works for modules you don't have installed"" setvar url = ""http://search.cpan.org/dist/Pod-Cpandoc/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/$_pkgreal-$pkgver.tar.gz"" setvar _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags})' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) make && make test } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""275569bd7d7775f3041dc0df9a7a1b6d Pod-Cpandoc-0.16.tar.gz"" setvar sha256sums = ""c5bc0f861acbdf0cef150fcf3812fd2e760c81656edf2e4d8b0fd5525be699a2 Pod-Cpandoc-0.16.tar.gz"" setvar sha512sums = ""ac9ffa4f845f213452a69e05f5f39d3cd4cf2db4c97ba2db1e7d1c6e729575b11540715abfa972ee31dad11aa334093820913a62656e2e9bbae77c910bab51bf Pod-Cpandoc-0.16.tar.gz""