aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-text-csv/APKBUILD
blob: 9ff403cff96b263e9f1b2c7b678025aa65346e19 (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=1
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
}

sha512sums="8f2c6cfc99a964854e35624a9dc06af95220d3784481750cd0e3b11d2d7464eae7a413583a7963f19ca17d5b885673b891b74645aee2c6971d1305ad45ef3fa6  Text-CSV-1.20.tar.gz"