aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-term-readkey
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-04 15:48:54 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-04-04 15:54:22 +0300
commit5e54c2d34bf4eabe6d51a85f4a5af14e476d68dd (patch)
tree93f9931cee1757dd038e6d316a5dbccb20b6be77 /main/perl-term-readkey
parentfcfaa237df5722ce5e78d52fc35e164e416046fd (diff)
downloadaports-5e54c2d34bf4eabe6d51a85f4a5af14e476d68dd.tar.bz2
aports-5e54c2d34bf4eabe6d51a85f4a5af14e476d68dd.tar.xz
main/perl-term-readkey: upgrade to 2.31
Diffstat (limited to 'main/perl-term-readkey')
-rw-r--r--main/perl-term-readkey/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/perl-term-readkey/APKBUILD b/main/perl-term-readkey/APKBUILD
index cb57775e31..c34b873aaa 100644
--- a/main/perl-term-readkey/APKBUILD
+++ b/main/perl-term-readkey/APKBUILD
@@ -3,8 +3,8 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-term-readkey
_pkgreal=TermReadKey
-pkgver=2.30.02
-pkgrel=2
+pkgver=2.31
+pkgrel=0
pkgdesc="Change terminal modes, and perform non-blocking reads"
url="http://search.cpan.org/dist/TermReadKey/"
arch="all"
@@ -14,17 +14,19 @@ cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/S/ST/STSI/$_pkgreal-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
@@ -34,4 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="69b92c8ddca8691c83823c683cd9838a TermReadKey-2.30.02.tar.gz"
+md5sums="7b5fca713bfbc39c96f07402a977d885 TermReadKey-2.31.tar.gz"
+sha256sums="623125f28187ee6e7053f78c0aff66c15912a41ed84aadd4aab5dbd75bceeab3 TermReadKey-2.31.tar.gz"
+sha512sums="8ef30a99864c0e3be58b4e1002c55fe368b7343463fa63f74e6e8320073c9c52c38331c8bef25334a085ce579c1995d14fdec8177ca482317c22e755346a17d5 TermReadKey-2.31.tar.gz"