2019-06-12 11:07:17 +02:00
|
|
|
# Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
|
2011-11-20 01:02:58 +01:00
|
|
|
_author=HMBRAND
|
|
|
|
_perlmod=DBD-CSV
|
|
|
|
pkgname=perl-dbd-csv
|
2019-02-15 14:55:27 +01:00
|
|
|
pkgver=0.54
|
2019-06-12 11:07:17 +02:00
|
|
|
pkgrel=2
|
2011-11-20 01:02:58 +01:00
|
|
|
pkgdesc="DBI driver for CSV files"
|
|
|
|
arch=('any')
|
|
|
|
url="http://search.cpan.org/~$_author/$_perlmod/"
|
|
|
|
license=('GPL' 'PerlArtistic')
|
2013-03-25 11:42:15 +01:00
|
|
|
depends=('perl>=5.10.0'
|
2013-08-13 14:17:03 +02:00
|
|
|
'perl-dbi>=1.628'
|
|
|
|
'perl-text-csv-xs>=1.01'
|
|
|
|
'perl-sql-statement>=1.405'
|
2013-03-25 11:42:15 +01:00
|
|
|
)
|
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)
|
2019-06-12 11:07:17 +02:00
|
|
|
sha256sums=('bc597cd7195e5a023e2b3413d8dc614602b9b3f279f436027881796464d4f0be')
|
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:
|