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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:05:11 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:05:10
  Author: felixonmars
Revision: 329944

archrelease: copy trunk to staging-any

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

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

Copied: perl-text-csv/repos/staging-any/PKGBUILD (from rev 329942, perl-text-csv/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:05:10 UTC (rev 329944)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname='perl-text-csv'
+_dist="Text-CSV"
+pkgver=1.95
+pkgrel=4
+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=('1e076b4b1f8ba6a5003bf93f3c437a9e')
+sha512sums=('447d38c9f6058251b9c3b1e42bffdec80ffe9ea7f232552921477d3c0dc1e913fe2a1cf1d4cec1410fab92a7e4e59601f429e11a005051710cd2b8d3b77201f9')
+
+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