updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-text-csv-encoded / PKGBUILD
blob1131f9f6a4e7d5dbf4a2994a5e4204dccd44aa5f
1 # CPAN Name  : Text-CSV-Encoded
2 # Contributor: Liu Yu Fei <hoveringnowings at gmail>
3 pkgname='perl-text-csv-encoded'
4 pkgver='0.10'
5 pkgrel='1'
6 pkgdesc="Manipulate comma-separated value strings"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Text-CSV-Encoded'
12 source=('http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/Text-CSV-Encoded-0.10.tar.gz')
13 md5sums=('9ed745eb7a416818b9c129eced8af93d')
15 build(){
16   DIST_DIR="${srcdir}/Text-CSV-Encoded-0.10"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$DIST_DIR" &&
19      perl Makefile.PL INSTALLDIRS=vendor &&
20      make &&
21      make test &&
22      make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete