aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-formattext-withlinks-andtables/APKBUILD
blob: 40950ce3d426bc383707fafa5643ee1bc502627c (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
42
43
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-html-formattext-withlinks-andtables
_pkgreal=HTML-FormatText-WithLinks-AndTables
pkgver=0.06
pkgrel=0
pkgdesc="Perl module for HTML-FormatText-WithLinks-AndTables"
url="http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends perl-html-formattext-withlinks"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DA/DALEEVANS/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	return 0
}

build() {
        cd "$_builddir"
	if [ -e Build.PL ]; then
		perl Build.PL installdirs=vendor || return 1
	else
		PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	fi
}

package() {
        cd "$_builddir"
	make DESTDIR="$pkgdir" install
        find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="bd214ca080379cc09f0b2eef62bf3d0f  HTML-FormatText-WithLinks-AndTables-0.06.tar.gz"
sha256sums="e5b23f0475fb81fd6fed688bb914295a39542b3e5b43c8517494226a52d868fa  HTML-FormatText-WithLinks-AndTables-0.06.tar.gz"
sha512sums="c930fcc5919d20a67a00826aec11d1d2416a3ae145cf30acee98aa45bc64523858ba49907957c5772b4bedaa1e79ed7a0afef3101c29f913fcf983ce1dddd4c2  HTML-FormatText-WithLinks-AndTables-0.06.tar.gz"