[arch-commits] Commit in perl-text-csv/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:16:43 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:16:42
  Author: foutrelis
Revision: 354042

archrelease: copy trunk to staging-any

Added:
  perl-text-csv/repos/staging-any/
  perl-text-csv/repos/staging-any/PKGBUILD
    (from rev 354041, perl-text-csv/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: perl-text-csv/repos/staging-any/PKGBUILD (from rev 354041, perl-text-csv/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:16:42 UTC (rev 354042)
@@ -0,0 +1,35 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname='perl-text-csv'
+_dist="Text-CSV"
+pkgver=1.97
+pkgrel=2
+pkgdesc="comma-separated values manipulator"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url="https://metacpan.org/release/Text-CSV"
+source=("https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/${_dist}-${pkgver}.tar.gz")
+md5sums=('06e9ff3c867fa5ba7f8793ae06ea73ac')
+sha512sums=('3700acb49a563ba7e08d234a383a7d579761d67097cadac8a9cb166cc436756b58a7c4a4d2c7e690e57b3aee99ec3d36e7f05ee135ce29ad6d8034b4570583f3')
+
+unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+
+build() {
+    cd $_dist-$pkgver
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd $_dist-$pkgver
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd $_dist-$pkgver
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list