# Automatically generated by apkbuild-cpan, template 1 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-text-wikiformat _pkgreal=Text-WikiFormat pkgver=0.80 pkgrel=0 pkgdesc="module for translating Wiki formatted text into other formats" url="http://search.cpan.org/dist/Text-WikiFormat/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-uri" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/C/CY/CYCLES/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build && ./Build test } package() { cd "$_builddir" ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="2b29375e86275134ceae835faa5601a7 Text-WikiFormat-0.80.tar.gz" sha256sums="3ed72a028f49274c61bdf001c831b77389c47e2c611ac0414fa0c3bee3783544 Text-WikiFormat-0.80.tar.gz" sha512sums="6077d8ea0cdaa336fda0fff40ae539c0d3b3e57795e5b804eee9458f0a606bea8e509e75122500c71cf5d2331c36df7f7f613a246f542b090a89690972b06f7a Text-WikiFormat-0.80.tar.gz"