1 # Contributor: Cilyan Olowen <gaknar@gmail.com>
6 pkgdesc="A script that recodes a spreadsheet's charset and saves as CSV."
8 url="http://search.cpan.org/~ken/xls2csv-1.06/script/xls2csv"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.10.0' 'perl-spreadsheet-parseexcel' 'perl-unicode-map' 'perl-text-csv-xs' 'perl-libintl-perl')
11 source=(http://search.cpan.org/CPAN/authors/id/K/KE/KEN/xls2csv-$pkgver.tar.gz)
12 md5sums=('0ed77bd4dd2f9d15fa0b8dc0ad0a0480')
13 sha256sums=('9d9653eea5577f9ed54203d08d90ae07266a6a10ae34a95288a2e97830ed4f1b')
16 cd "${srcdir}/xls2csv-${pkgver}"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
24 cd "${srcdir}/xls2csv-${pkgver}"
25 make install DESTDIR="${pkgdir}/"
27 # remove perllocal.pod and .packlist
28 find "${pkgdir}" -name perllocal.pod -delete
29 find "${pkgdir}" -name .packlist -delete
32 # vim:set ts=2 sw=2 et: