[arch-commits] Commit in perl-term-readline-gnu/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:14:20 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:14:19
  Author: foutrelis
Revision: 470067

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-term-readline-gnu/repos/community-staging-x86_64/
  perl-term-readline-gnu/repos/community-staging-x86_64/PKGBUILD
    (from rev 470066, perl-term-readline-gnu/trunk/PKGBUILD)

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

Copied: perl-term-readline-gnu/repos/community-staging-x86_64/PKGBUILD (from rev 470066, perl-term-readline-gnu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 09:14:19 UTC (rev 470067)
@@ -0,0 +1,42 @@
+# CPAN Name  : Term-ReadLine-Gnu
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: jason ryan <jasonwryan at gmail.com>
+# Contributor: AUR Perl <aurperl at juster.info>
+# Generator  : CPANPLUS::Dist::Arch 1.15
+
+pkgname=perl-term-readline-gnu
+pkgver=1.36
+pkgrel=2
+pkgdesc="GNU Readline XS library wrapper"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.7')
+url='http://search.cpan.org/dist/Term-ReadLine-Gnu'
+source=("http://search.cpan.org/CPAN/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-${pkgver}.tar.gz")
+md5sums=('f8636c8e17b3266f3a686521a0c06886')
+
+build() {
+   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor"     \
+      PERL_MB_OPT="--installdirs vendor" \
+      MODULEBUILDRC=/dev/null
+
+    cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
+    /usr/bin/perl Makefile.PL
+    make
+}
+
+check() {
+  cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    make test
+}
+
+package() {
+  cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
+  make pure_install PERL_INSTALL_ROOT="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+


More information about the arch-commits mailing list