[arch-commits] Commit in perl-text-csv/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 24 08:34:47 UTC 2021
Date: Monday, May 24, 2021 @ 08:34:46
Author: felixonmars
Revision: 416000
archrelease: copy trunk to staging-any
Added:
perl-text-csv/repos/staging-any/
perl-text-csv/repos/staging-any/PKGBUILD
(from rev 415998, perl-text-csv/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-text-csv/repos/staging-any/PKGBUILD (from rev 415998, perl-text-csv/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-05-24 08:34:46 UTC (rev 416000)
@@ -0,0 +1,35 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname='perl-text-csv'
+_dist="Text-CSV"
+pkgver=2.00
+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=('435951d381e814b5ce51f570a6a1dc24')
+sha512sums=('ac41e8e1a56f30eac9076e8c53584186df83e4b1bf32ac52aef862ff7a02ada2801df2eac710b89e06901342c8513844d3dbbc86fc53d7a3d3da5f91f69dd88f')
+
+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