[arch-commits] Commit in perl-text-csv/repos (extra-any extra-any/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Oct 20 08:15:04 UTC 2016
Date: Thursday, October 20, 2016 @ 08:15:03
Author: heftig
Revision: 279034
archrelease: copy trunk to extra-any
Added:
perl-text-csv/repos/extra-any/
perl-text-csv/repos/extra-any/PKGBUILD
(from rev 279033, perl-text-csv/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: perl-text-csv/repos/extra-any/PKGBUILD (from rev 279033, perl-text-csv/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2016-10-20 08:15:03 UTC (rev 279034)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname='perl-text-csv'
+_dist="Text-CSV"
+pkgver=1.33
+pkgrel=1
+pkgdesc="comma-separated values manipulator"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.mcpan.org/dist/Text-CSV'
+source=("http://search.mcpan.org/CPAN/authors/id/M/MA/MAKAMAKA/${_dist}-${pkgver}.tar.gz")
+md5sums=('358e2f2ddb6c7746c91e49a7db97b634')
+sha512sums=('3b30242c71719aeb20077490b752718bb25320dc1510b5053d5e21678cf7011e16eac2b578138115399f8dbdfb5519cbb913fc42b042355e35e39491ed520b8e')
+
+build() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list