[arch-commits] Commit in perl-params-classify/repos (4 files)
Sergej Pupykin
spupykin at archlinux.org
Tue May 10 18:23:37 UTC 2016
Date: Tuesday, May 10, 2016 @ 20:23:37
Author: spupykin
Revision: 174641
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-params-classify/repos/community-staging-i686/
perl-params-classify/repos/community-staging-i686/PKGBUILD
(from rev 174640, perl-params-classify/trunk/PKGBUILD)
perl-params-classify/repos/community-staging-x86_64/
perl-params-classify/repos/community-staging-x86_64/PKGBUILD
(from rev 174640, perl-params-classify/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: perl-params-classify/repos/community-staging-i686/PKGBUILD (from rev 174640, perl-params-classify/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-10 18:23:37 UTC (rev 174641)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-params-classify
+pkgver=0.013
+pkgrel=7
+pkgdesc="argument type classification"
+arch=(i686 x86_64)
+license=('PerlArtistic')
+url="http://search.cpan.org/~zefram/Params-Classify"
+options=(!emptydirs)
+depends=('perl')
+makedepends=('perl-module-build')
+source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-$pkgver.tar.gz")
+md5sums=('63d24fbec775472ada49d16bce4a9b1f')
+
+build() {
+ cd $srcdir/Params-Classify-$pkgver
+ perl Build.PL installdirs=vendor destdir="$pkgdir/"
+ perl Build
+}
+
+package() {
+ cd $srcdir/Params-Classify-$pkgver
+ perl Build install
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
+# 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-params-classify/repos/community-staging-x86_64/PKGBUILD (from rev 174640, perl-params-classify/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-05-10 18:23:37 UTC (rev 174641)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-params-classify
+pkgver=0.013
+pkgrel=7
+pkgdesc="argument type classification"
+arch=(i686 x86_64)
+license=('PerlArtistic')
+url="http://search.cpan.org/~zefram/Params-Classify"
+options=(!emptydirs)
+depends=('perl')
+makedepends=('perl-module-build')
+source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Params-Classify-$pkgver.tar.gz")
+md5sums=('63d24fbec775472ada49d16bce4a9b1f')
+
+build() {
+ cd $srcdir/Params-Classify-$pkgver
+ perl Build.PL installdirs=vendor destdir="$pkgdir/"
+ perl Build
+}
+
+package() {
+ cd $srcdir/Params-Classify-$pkgver
+ perl Build install
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
+# 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