# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timo Teräs # Maintainer: Timo Teräs setvar pkgname = 'perl-template-plugin-number-format' setvar _pkgreal = 'Template-Plugin-Number-Format' setvar pkgver = '1.06' setvar pkgrel = '0' setvar pkgdesc = ""unknown"" setvar url = ""http://search.cpan.org/dist/Template-Plugin-Number-Format/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-template-toolkit perl-number-format"" setvar cpanmakedepends = """" setvar cpancheckdepends = """" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar checkdepends = "$cpancheckdepends" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/D/DA/DARREN/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { default_prepare || return 1 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 || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } proc check { cd $builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } setvar sha512sums = ""85ddc46618efc5a11a657f265ea63b09bd8df9f8e99122bcee5a22a23099ac8eb3c930d61382529b1e3c0b4dd663d32e30e77ac33b6d1b305475e740053001cb Template-Plugin-Number-Format-1.06.tar.gz""