Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
- # Generator : CPANPLUS::Dist::Arch 1.27
- pkgname='perl-text-csv-xs'
- pkgver='1.07'
- pkgrel='1'
- pkgdesc="comma-separated values manipulation routines"
- arch=('i686' 'x86_64')
- license=('PerlArtistic' 'GPL')
- options=('!emptydirs')
- depends=('perl>=0')
- makedepends=()
- url='http://search.cpan.org/dist/Text-CSV_XS'
- source=("http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-${pkgver}.tgz")
- md5sums=('1fc30aee0e1c50711b0f8ad1ab0bb0c3')
- sha512sums=('61400ebd783f3db4c9f41b54624831830fa67e031a9a44a3acee23246b82cec34ee0eaf5b0302fd62df3a21b998a5f51d70fb2227c56ab9599792a6919dbc120')
- _distdir="Text-CSV_XS-${pkgver}"
- build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
- cd "$srcdir/$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
- }
- check() {
- cd "$srcdir/$_distdir"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
- }
- package() {
- cd "$srcdir/$_distdir"
- make install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
- }
- # Local Variables:
- # mode: shell-script
- # sh-basic-offset: 2
- # End:
- # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement