updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-xls2csv / PKGBUILD
blob5ba94be0885caf9b9a72353552d7e41f426b5133
1 # Contributor: Cilyan Olowen <gaknar@gmail.com>
3 pkgname=perl-xls2csv
4 pkgver=1.06
5 pkgrel=2
6 pkgdesc="A script that recodes a spreadsheet's charset and saves as CSV."
7 arch=('any')
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')
15 build() {
16   cd "${srcdir}/xls2csv-${pkgver}"
18   # install module in vendor directories.
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
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: