From 25c53e829bab5e127e8fe14966797e1eb71dabb3 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Sun, 20 Nov 2011 01:02:58 +0100 Subject: [PATCH] updated perl-dbd-csv and changed upstream url --- pkgbuild/perl-dbd-csv/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgbuild/perl-dbd-csv/PKGBUILD diff --git a/pkgbuild/perl-dbd-csv/PKGBUILD b/pkgbuild/perl-dbd-csv/PKGBUILD new file mode 100644 index 0000000..9d54703 --- /dev/null +++ b/pkgbuild/perl-dbd-csv/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Cedric Girard +_author=HMBRAND +_perlmod=DBD-CSV +pkgname=perl-dbd-csv +pkgver=0.33 +pkgrel=1 +pkgdesc="DBI driver for CSV files" +arch=('any') +url="http://search.cpan.org/~$_author/$_perlmod/" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0' 'perl-text-csv-xs' 'perl-dbi' ) +options=(!emptydirs) +source=(http://cpan.perl.org/modules/by-authors/id/H/HM/$_author/$_perlmod-$pkgver.tgz) +md5sums=('0b43201bf1aa043e12bebecdec17a17e') + +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: