summaryrefslogtreecommitdiffstats
path: root/main/perl-text-csv/APKBUILD
blob: 1fa5e635c313770372d97ca1596b6660829d5337 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-text-csv
pkgver=1.20
pkgrel=0
pkgdesc="Manipulate comma-separated value strings"
url="http://search.cpan.org/dist/Text-CSV/"
arch="noarch"
license="PerlArtistic GPL"
depends="perl"
makedepends="perl-dev"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/Text-CSV-$pkgver.tar.gz"

_builddir="$srcdir"/Text-CSV-$pkgver
build() { 
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name '.packlist' -delete
	find "$pkgdir" -name '*.pod' -delete
}

md5sums="8f20f60258ea0c8d5bbd029d03fe78b7  Text-CSV-1.20.tar.gz"