updated perl-dbd-csv and changed upstream url
This commit is contained in:
commit
3e49dd466d
2 changed files with 48 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = perl-dbd-csv
|
||||
pkgdesc = DBI driver for CSV files
|
||||
pkgver = 0.33
|
||||
pkgrel = 1
|
||||
url = http://search.cpan.org/~HMBRAND/DBD-CSV/
|
||||
arch = any
|
||||
license = GPL
|
||||
license = PerlArtistic
|
||||
depends = perl>=5.10.0
|
||||
depends = perl-text-csv-xs
|
||||
depends = perl-dbi
|
||||
options = !emptydirs
|
||||
source = http://cpan.perl.org/modules/by-authors/id/H/HM/HMBRAND/DBD-CSV-0.33.tgz
|
||||
md5sums = 0b43201bf1aa043e12bebecdec17a17e
|
||||
|
||||
pkgname = perl-dbd-csv
|
||||
|
31
PKGBUILD
Normal file
31
PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
_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:
|
Loading…
Reference in a new issue