diff options
author | root <root@rshg054.dnsready.net> | 2013-04-17 00:05:54 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-17 00:05:54 -0700 |
commit | 0f02baec6afdab918d86a226ee9a984482b5a534 (patch) | |
tree | 15cb1e77a0a46bc218404a4725caeda3089039f8 /extra/perl-ev | |
parent | 975d6f489c6c43bbc7b816ac43333c54c1f4df21 (diff) |
Wed Apr 17 00:05:54 PDT 2013
Diffstat (limited to 'extra/perl-ev')
-rw-r--r-- | extra/perl-ev/PKGBUILD | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/extra/perl-ev/PKGBUILD b/extra/perl-ev/PKGBUILD index 604dac065..5f968227e 100644 --- a/extra/perl-ev/PKGBUILD +++ b/extra/perl-ev/PKGBUILD @@ -1,9 +1,8 @@ -# Packager: Justin Davis (juster) <jrcd83@gmail.com> -# $Id: PKGBUILD 160527 2012-06-02 10:27:33Z bluewind $ +# $Id: PKGBUILD 182901 2013-04-16 04:01:09Z eric $ pkgname=perl-ev -pkgver=4.11 -pkgrel=2 +pkgver=4.15 +pkgrel=1 pkgdesc='perl interface to libev, a high performance full-featured event loop' arch=(i686 x86_64) license=(PerlArtistic GPL) @@ -11,36 +10,24 @@ options=(!emptydirs) depends=(perl-common-sense) url=https://metacpan.org/release/EV source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz") -md5sums=(405c6d74f9dff12918b12560c1a57877) -sha512sums=(6aca3eeb617a313de7947b760558c12ed85af4fa8efd5bb4fd8bc2f271b4556312989aebf77cda4e212fd3b1351c268624aeaf2b1cf700507ff46c0c9dcc9db8) -_dir="$srcdir/EV-$pkgver" +md5sums=('546d10fb5901f2af937e53b41a92b2bb') -build() -( - cd "$_dir" +build() { + cd EV-$pkgver export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL + perl Makefile.PL make -) +} -check() -( - cd "$_dir" +check() { + cd EV-$pkgver export PERL_MM_USE_DEFAULT=1 unset PERL5LIB make test -) +} -package() -( - cd "$_dir" +package() { + cd EV-$pkgver make install INSTALLDIRS=vendor DESTDIR="$pkgdir" - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -) - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: +} |