diff options
-rw-r--r-- | main/perl-term-readkey/APKBUILD | 12 |
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" |