aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-text-wikiformat/APKBUILD
blob: e360a5da2edcdf6c9860b01948a6af7c9cfa83a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
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"