# Maintainer: Natanael Copa 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"