[arch-commits] Commit in perl-ev/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Aug 24 15:13:32 UTC 2017
Date: Thursday, August 24, 2017 @ 15:13:32
Author: foutrelis
Revision: 303488
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
perl-ev/repos/staging-i686/
perl-ev/repos/staging-i686/PKGBUILD
(from rev 303487, perl-ev/trunk/PKGBUILD)
perl-ev/repos/staging-x86_64/
perl-ev/repos/staging-x86_64/PKGBUILD
(from rev 303487, perl-ev/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: perl-ev/repos/staging-i686/PKGBUILD (from rev 303487, perl-ev/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-08-24 15:13:32 UTC (rev 303488)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ev
+pkgver=4.22
+pkgrel=4
+pkgdesc='perl interface to libev, a high performance full-featured event loop'
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-common-sense')
+makedepends=('perl-canary-stability')
+url='https://metacpan.org/release/EV'
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz")
+md5sums=('8bca55688edafcf98ab6d7a86ea195be')
+
+build() {
+ cd EV-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd EV-$pkgver
+ make test
+}
+
+package() {
+ cd EV-$pkgver
+ make install DESTDIR="$pkgdir"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
Copied: perl-ev/repos/staging-x86_64/PKGBUILD (from rev 303487, perl-ev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-08-24 15:13:32 UTC (rev 303488)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ev
+pkgver=4.22
+pkgrel=4
+pkgdesc='perl interface to libev, a high performance full-featured event loop'
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-common-sense')
+makedepends=('perl-canary-stability')
+url='https://metacpan.org/release/EV'
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz")
+md5sums=('8bca55688edafcf98ab6d7a86ea195be')
+
+build() {
+ cd EV-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd EV-$pkgver
+ make test
+}
+
+package() {
+ cd EV-$pkgver
+ make install DESTDIR="$pkgdir"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
More information about the arch-commits
mailing list