2011-11-20 01:02:58 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
|
|
_author=HMBRAND
|
|
|
|
_perlmod=DBD-CSV
|
|
|
|
pkgname=perl-dbd-csv
|
2012-06-18 17:41:07 +02:00
|
|
|
pkgver=0.35
|
2011-11-20 01:02:58 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="DBI driver for CSV files"
|
|
|
|
arch=('any')
|
|
|
|
url="http://search.cpan.org/~$_author/$_perlmod/"
|
|
|
|
license=('GPL' 'PerlArtistic')
|
2012-06-18 17:41:07 +02:00
|
|
|
depends=('perl>=5.10.0' 'perl-text-csv-xs' 'perl-dbi' 'perl-sql-statement')
|
2011-11-20 01:02:58 +01:00
|
|
|
options=(!emptydirs)
|
|
|
|
source=(http://cpan.perl.org/modules/by-authors/id/H/HM/$_author/$_perlmod-$pkgver.tgz)
|
2012-06-18 17:41:07 +02:00
|
|
|
md5sums=('90e1635b1b2e4605f5dc6939c41e3087')
|
2011-11-20 01:02:58 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
|
|
|
|
|
|
|
# Install module in vendor directories.
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
|
|
|
make install DESTDIR="$pkgdir/"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|