summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-22 19:04:25 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-22 19:04:25 +0100
commit8f20a685d185e57a896c8a1a572c590959a73683 (patch)
treea449905926728a2b1bb84923a19349bd992c0f8f
parent9b84fec8e80a9faa08a395e446409f9352c86552 (diff)
downloadabslibre-8f20a685d185e57a896c8a1a572c590959a73683.tar.gz
abslibre-8f20a685d185e57a896c8a1a572c590959a73683.tar.bz2
abslibre-8f20a685d185e57a896c8a1a572c590959a73683.zip
pcr/perl-expect: updated to 1.33
-rw-r--r--pcr/perl-expect/PKGBUILD37
1 files changed, 19 insertions, 18 deletions
diff --git a/pcr/perl-expect/PKGBUILD b/pcr/perl-expect/PKGBUILD
index 23ed84d4b..90c60d705 100644
--- a/pcr/perl-expect/PKGBUILD
+++ b/pcr/perl-expect/PKGBUILD
@@ -1,24 +1,24 @@
-# CPAN Name: Expect
-# Contributor (Arch): Max Roder <maxroder@web.de>
-# Contributor (Arch): DarkHeart
-# Contributor (Arch): John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
-# Generator (Arch): CPANPLUS::Dist::Arch 1.19
+# Contributor (AUR): John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator (AUR): CPANPLUS::Dist::Arch 1.32
# Contributor: Márcio Silva <coadde@hyperbola.info>
+# parabola changes and rationale:
+# no changes.
+
pkgname='perl-expect'
-pkgver='1.32'
-pkgrel='2'
-pkgdesc="automate interactions with command line programs that expose a text terminal interface"
+pkgver='1.33'
+pkgrel='1'
+pkgdesc="automate interactions with command line programs that expose a text terminal interface."
arch=('any')
-license=('GPL1')
+license=('PerlArtistic' 'GPL')
options=('!emptydirs')
-depends=('perl-io-tty>=1.03')
+depends=('perl-io-tty' 'perl>=5.6.0')
makedepends=()
-checkdepends=('perl-test-exception>=0.32')
-url='http://search.cpan.org/dist/Expect'
-source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Expect-$pkgver.tar.gz")
-md5sums=('f71527a34d57f601d5047ad9aa98e4e4')
-_distdir="Expect-$pkgver"
+url='https://metacpan.org/release/Expect'
+source=('http://search.cpan.org/CPAN/authors/id/J/JA/JACOBY/Expect-1.33.tar.gz')
+md5sums=('1fbb052de1383966a3be5f420a34e83c')
+sha512sums=('6351e681d813a98cf12a882cb135c6dc5f38beb72fb96efe13c690b26704acb9c5654b2f27dd833ad078de83cb4144fef4aea381a768c54f9817247210e6b5bf')
+_distdir="expect.pm-Expect-1.33"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -27,22 +27,23 @@ build() {
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
- cd $srcdir/"$_distdir"
+ cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
- cd $srcdir/"$_distdir"
+ cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
- cd $srcdir/"$_distdir"
+ cd "$srcdir/$_distdir"
make install
+
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}