Add 'perl-dbd-csv/' from commit '6776dc4e9f815ffd817829843634d68266aa3312'

git-subtree-dir: perl-dbd-csv
git-subtree-mainline: ba8591494e
git-subtree-split: 6776dc4e9f
This commit is contained in:
Cedric Girard 2019-02-14 15:35:23 +01:00
commit 70b09f23c1
2 changed files with 53 additions and 0 deletions

18
perl-dbd-csv/.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = perl-dbd-csv
pkgdesc = DBI driver for CSV files
pkgver = 0.48
pkgrel = 1
url = http://search.cpan.org/~HMBRAND/DBD-CSV/
arch = any
license = GPL
license = PerlArtistic
depends = perl>=5.10.0
depends = perl-dbi>=1.628
depends = perl-text-csv-xs>=1.01
depends = perl-sql-statement>=1.405
options = !emptydirs
source = http://cpan.perl.org/modules/by-authors/id/H/HM/HMBRAND/DBD-CSV-0.48.tgz
md5sums = 11391a868171dfe493f0a907d8c33596
pkgname = perl-dbd-csv

35
perl-dbd-csv/PKGBUILD Normal file
View file

@ -0,0 +1,35 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_author=HMBRAND
_perlmod=DBD-CSV
pkgname=perl-dbd-csv
pkgver=0.48
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-dbi>=1.628'
'perl-text-csv-xs>=1.01'
'perl-sql-statement>=1.405'
)
options=(!emptydirs)
source=(http://cpan.perl.org/modules/by-authors/id/H/HM/$_author/$_perlmod-$pkgver.tgz)
md5sums=('11391a868171dfe493f0a907d8c33596')
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: