# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> setvar pkgname = 'perl-test-without-module' setvar _pkgreal = 'Test-Without-Module' setvar pkgver = '0.20' setvar pkgrel = '0' setvar pkgdesc = ""Test fallback behaviour in absence of modules"" setvar url = ""http://search.cpan.org/dist/Test-Without-Module/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev perl-test-pod perl-file-slurp $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/C/CO/CORION/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc check { cd $builddir make test } 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 } proc package { cd $builddir make DESTDIR="$pkgdir" install find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""e92353cee46e712ddc6515c5872a61a84eb4186f9ce736bbf0fcca2979bfa7143588c05e683d31fc22cbaaa792ce8364768310f9de621e881cc207b80cf14d87 Test-Without-Module-0.20.tar.gz""