[arch-commits] Commit in perl-term-readline-gnu/repos (8 files)
Antonio Rojas
arojas at archlinux.org
Wed Oct 12 20:32:23 UTC 2016
Date: Wednesday, October 12, 2016 @ 20:32:23
Author: arojas
Revision: 192083
archrelease: copy trunk to community-i686, community-x86_64
Added:
perl-term-readline-gnu/repos/community-i686/PKGBUILD
(from rev 192082, perl-term-readline-gnu/trunk/PKGBUILD)
perl-term-readline-gnu/repos/community-i686/termcap-bad-ncurses-good.patch
(from rev 192082, perl-term-readline-gnu/trunk/termcap-bad-ncurses-good.patch)
perl-term-readline-gnu/repos/community-x86_64/PKGBUILD
(from rev 192082, perl-term-readline-gnu/trunk/PKGBUILD)
perl-term-readline-gnu/repos/community-x86_64/termcap-bad-ncurses-good.patch
(from rev 192082, perl-term-readline-gnu/trunk/termcap-bad-ncurses-good.patch)
Deleted:
perl-term-readline-gnu/repos/community-i686/PKGBUILD
perl-term-readline-gnu/repos/community-i686/termcap-bad-ncurses-good.patch
perl-term-readline-gnu/repos/community-x86_64/PKGBUILD
perl-term-readline-gnu/repos/community-x86_64/termcap-bad-ncurses-good.patch
-------------------------------------------------+
/PKGBUILD | 108 ++++++++++++++++++++++
/termcap-bad-ncurses-good.patch | 36 +++++++
community-i686/PKGBUILD | 54 -----------
community-i686/termcap-bad-ncurses-good.patch | 18 ---
community-x86_64/PKGBUILD | 54 -----------
community-x86_64/termcap-bad-ncurses-good.patch | 18 ---
6 files changed, 144 insertions(+), 144 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-12 20:31:52 UTC (rev 192082)
+++ community-i686/PKGBUILD 2016-10-12 20:32:23 UTC (rev 192083)
@@ -1,54 +0,0 @@
-# $Id$
-# 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.31
-pkgrel=2
-pkgdesc="GNU Readline XS library wrapper"
-arch=('i686' '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"
- 'termcap-bad-ncurses-good.patch')
-md5sums=('1f659d9ca65db69391c59f52a876a52d'
- 'a000706b89792f822b5ec20baa370910')
-
-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"
- patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch"
- /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
-
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
- _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
- _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
- depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
-
Copied: perl-term-readline-gnu/repos/community-i686/PKGBUILD (from rev 192082, perl-term-readline-gnu/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-12 20:32:23 UTC (rev 192083)
@@ -0,0 +1,54 @@
+# $Id$
+# 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.34
+pkgrel=1
+pkgdesc="GNU Readline XS library wrapper"
+arch=('i686' '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"
+ 'termcap-bad-ncurses-good.patch')
+md5sums=('c3afcf3fc989b2c0a5b6676c65d3a58e'
+ 'a000706b89792f822b5ec20baa370910')
+
+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"
+ patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch"
+ /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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
Deleted: community-i686/termcap-bad-ncurses-good.patch
===================================================================
--- community-i686/termcap-bad-ncurses-good.patch 2016-10-12 20:31:52 UTC (rev 192082)
+++ community-i686/termcap-bad-ncurses-good.patch 2016-10-12 20:32:23 UTC (rev 192083)
@@ -1,18 +0,0 @@
---- Term-ReadLine-Gnu-1.20/Makefile.PL 2010-05-02 06:37:55.000000000 -0400
-+++ Term-ReadLine-Gnu-1.20-patched/Makefile.PL 2011-07-30 16:16:54.000000000 -0400
-@@ -58,8 +58,13 @@
- # know why AIX prefers curses.
- # libtermcap.a on HPUX cannot be used for dynamically linked binary.
- # Old Cygwin may require setting false (0).
-- my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
-- || $Config{osname} eq 'cygwin';
-+ # my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
-+ # || $Config{osname} eq 'cygwin';
-+
-+ # Hack for ArchLinux by Justin Davis <aurperl at juster.us>
-+ # Don't use termcap! readline is linked with ncurses so I know it's
-+ # available. termcap causes this module to crash for some people.
-+ my $PREFER_CURSES = 1;
- my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap'))
- || &search_lib('-lncurses')
- || &search_lib('-lcurses');
Copied: perl-term-readline-gnu/repos/community-i686/termcap-bad-ncurses-good.patch (from rev 192082, perl-term-readline-gnu/trunk/termcap-bad-ncurses-good.patch)
===================================================================
--- community-i686/termcap-bad-ncurses-good.patch (rev 0)
+++ community-i686/termcap-bad-ncurses-good.patch 2016-10-12 20:32:23 UTC (rev 192083)
@@ -0,0 +1,18 @@
+--- Term-ReadLine-Gnu-1.20/Makefile.PL 2010-05-02 06:37:55.000000000 -0400
++++ Term-ReadLine-Gnu-1.20-patched/Makefile.PL 2011-07-30 16:16:54.000000000 -0400
+@@ -58,8 +58,13 @@
+ # know why AIX prefers curses.
+ # libtermcap.a on HPUX cannot be used for dynamically linked binary.
+ # Old Cygwin may require setting false (0).
+- my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
+- || $Config{osname} eq 'cygwin';
++ # my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
++ # || $Config{osname} eq 'cygwin';
++
++ # Hack for ArchLinux by Justin Davis <aurperl at juster.us>
++ # Don't use termcap! readline is linked with ncurses so I know it's
++ # available. termcap causes this module to crash for some people.
++ my $PREFER_CURSES = 1;
+ my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap'))
+ || &search_lib('-lncurses')
+ || &search_lib('-lcurses');
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-12 20:31:52 UTC (rev 192082)
+++ community-x86_64/PKGBUILD 2016-10-12 20:32:23 UTC (rev 192083)
@@ -1,54 +0,0 @@
-# $Id$
-# 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.31
-pkgrel=2
-pkgdesc="GNU Readline XS library wrapper"
-arch=('i686' '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"
- 'termcap-bad-ncurses-good.patch')
-md5sums=('1f659d9ca65db69391c59f52a876a52d'
- 'a000706b89792f822b5ec20baa370910')
-
-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"
- patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch"
- /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
-
-# template start; name=perl-binary-module-dependency; version=1;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
- _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
- _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
- depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
-
Copied: perl-term-readline-gnu/repos/community-x86_64/PKGBUILD (from rev 192082, perl-term-readline-gnu/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-12 20:32:23 UTC (rev 192083)
@@ -0,0 +1,54 @@
+# $Id$
+# 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.34
+pkgrel=1
+pkgdesc="GNU Readline XS library wrapper"
+arch=('i686' '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"
+ 'termcap-bad-ncurses-good.patch')
+md5sums=('c3afcf3fc989b2c0a5b6676c65d3a58e'
+ 'a000706b89792f822b5ec20baa370910')
+
+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"
+ patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch"
+ /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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
Deleted: community-x86_64/termcap-bad-ncurses-good.patch
===================================================================
--- community-x86_64/termcap-bad-ncurses-good.patch 2016-10-12 20:31:52 UTC (rev 192082)
+++ community-x86_64/termcap-bad-ncurses-good.patch 2016-10-12 20:32:23 UTC (rev 192083)
@@ -1,18 +0,0 @@
---- Term-ReadLine-Gnu-1.20/Makefile.PL 2010-05-02 06:37:55.000000000 -0400
-+++ Term-ReadLine-Gnu-1.20-patched/Makefile.PL 2011-07-30 16:16:54.000000000 -0400
-@@ -58,8 +58,13 @@
- # know why AIX prefers curses.
- # libtermcap.a on HPUX cannot be used for dynamically linked binary.
- # Old Cygwin may require setting false (0).
-- my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
-- || $Config{osname} eq 'cygwin';
-+ # my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
-+ # || $Config{osname} eq 'cygwin';
-+
-+ # Hack for ArchLinux by Justin Davis <aurperl at juster.us>
-+ # Don't use termcap! readline is linked with ncurses so I know it's
-+ # available. termcap causes this module to crash for some people.
-+ my $PREFER_CURSES = 1;
- my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap'))
- || &search_lib('-lncurses')
- || &search_lib('-lcurses');
Copied: perl-term-readline-gnu/repos/community-x86_64/termcap-bad-ncurses-good.patch (from rev 192082, perl-term-readline-gnu/trunk/termcap-bad-ncurses-good.patch)
===================================================================
--- community-x86_64/termcap-bad-ncurses-good.patch (rev 0)
+++ community-x86_64/termcap-bad-ncurses-good.patch 2016-10-12 20:32:23 UTC (rev 192083)
@@ -0,0 +1,18 @@
+--- Term-ReadLine-Gnu-1.20/Makefile.PL 2010-05-02 06:37:55.000000000 -0400
++++ Term-ReadLine-Gnu-1.20-patched/Makefile.PL 2011-07-30 16:16:54.000000000 -0400
+@@ -58,8 +58,13 @@
+ # know why AIX prefers curses.
+ # libtermcap.a on HPUX cannot be used for dynamically linked binary.
+ # Old Cygwin may require setting false (0).
+- my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
+- || $Config{osname} eq 'cygwin';
++ # my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
++ # || $Config{osname} eq 'cygwin';
++
++ # Hack for ArchLinux by Justin Davis <aurperl at juster.us>
++ # Don't use termcap! readline is linked with ncurses so I know it's
++ # available. termcap causes this module to crash for some people.
++ my $PREFER_CURSES = 1;
+ my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap'))
+ || &search_lib('-lncurses')
+ || &search_lib('-lcurses');
More information about the arch-commits
mailing list