diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/perl-term-readline-gnu/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/perl-term-readline-gnu/PKGBUILD')
-rw-r--r-- | community/perl-term-readline-gnu/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/community/perl-term-readline-gnu/PKGBUILD b/community/perl-term-readline-gnu/PKGBUILD index ea03ba7f4..579c2929b 100644 --- a/community/perl-term-readline-gnu/PKGBUILD +++ b/community/perl-term-readline-gnu/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 83559 2013-02-03 00:44:54Z dwallace $ +# $Id: PKGBUILD 91695 2013-05-26 09:26:04Z bluewind $ # CPAN Name : Term-ReadLine-Gnu # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: jason ryan <jasonwryan@gmail.com> @@ -7,7 +7,7 @@ pkgname=perl-term-readline-gnu pkgver=1.20 -pkgrel=5 +pkgrel=6 pkgdesc="GNU Readline XS library wrapper" arch=('i686' 'x86_64' 'mips64el') license=('PerlArtistic' 'GPL') @@ -18,7 +18,6 @@ source=('http://search.cpan.org/CPAN/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1 'termcap-bad-ncurses-good.patch') md5sums=('fa33510193b89a2ada74fcef00816322' 'a000706b89792f822b5ec20baa370910') -_distdir="${srcdir}/Term-ReadLine-Gnu-1.20" build() { export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ @@ -27,21 +26,20 @@ build() { PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd "${srcdir}/Term-ReadLine-Gnu-1.20" patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch" /usr/bin/perl Makefile.PL make - } check() { - cd "$_distdir" + cd "${srcdir}/Term-ReadLine-Gnu-1.20" export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test } package() { - cd "$_distdir" + cd "${srcdir}/Term-ReadLine-Gnu-1.20" make pure_install PERL_INSTALL_ROOT="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } |