# Automatically generated by apkbuild-cpan, template 2 # Contributor: William Pitcock # Maintainer: William Pitcock setvar pkgname = 'perl-term-table' setvar _pkgreal = 'Term-Table' setvar pkgver = '0.008' setvar pkgrel = '0' setvar pkgdesc = ""Format a header and rows into a table"" setvar url = ""http://search.cpan.org/dist/Term-Table/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-importer"" setvar cpanmakedepends = ""perl-test-simple"" 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/E/EX/EXODIST/$_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 = ""d741313933c8925ca3451056d05172c440ab4a46f5a4cbaeae3c6d4b82d29314e69643e8c3e60dced42768f2102277461b2d2dc4bf945d982df9265f49339d06 Term-Table-0.008.tar.gz""