summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 16:06:47 -0600
committerJohn D Jones III2015-06-16 16:06:47 -0600
commit4c61d73b7464c373ef9db01d48f70756bfbc475e (patch)
tree2b5e94462ae93b37c96a6764dabd84a226ed68a2
downloadaur-4c61d73b7464c373ef9db01d48f70756bfbc475e.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD50
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..348b2fd326a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = perl-text-csv-xs
+ pkgdesc = comma-separated values manipulation routines
+ pkgver = 1.18
+ pkgrel = 1
+ url = https://metacpan.org/release/Text-CSV_XS
+ arch = i686
+ arch = x86_64
+ license = PerlArtistic
+ license = GPL
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-1.18.tgz
+ md5sums = 510791081d14d6ad4b53511d5d0aed60
+ sha512sums = d6cf1f051c9f5a4bda80acde94709010010213f29f41305c92eb6f775ba443acbdebcc18bc1f1c0efc7144211c47ba7881ce222f264741de885fe15764eb7f19
+
+pkgname = perl-text-csv-xs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5a0d51be9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.30
+
+pkgname='perl-text-csv-xs'
+pkgver='1.18'
+pkgrel='1'
+pkgdesc="comma-separated values manipulation routines"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://metacpan.org/release/Text-CSV_XS'
+source=('http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-1.18.tgz')
+md5sums=('510791081d14d6ad4b53511d5d0aed60')
+sha512sums=('d6cf1f051c9f5a4bda80acde94709010010213f29f41305c92eb6f775ba443acbdebcc18bc1f1c0efc7144211c47ba7881ce222f264741de885fe15764eb7f19')
+_distdir="Text-CSV_XS-1.18"
+
+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: