[arch-commits] Commit in perl-file-rsyncp/repos (6 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:00:37 UTC 2016
Date: Friday, May 27, 2016 @ 10:00:37
Author: bluewind
Revision: 177200
db-move: moved perl-file-rsyncp from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-file-rsyncp/repos/community-testing-i686/
perl-file-rsyncp/repos/community-testing-i686/PKGBUILD
(from rev 177199, perl-file-rsyncp/repos/community-staging-i686/PKGBUILD)
perl-file-rsyncp/repos/community-testing-x86_64/
perl-file-rsyncp/repos/community-testing-x86_64/PKGBUILD
(from rev 177199, perl-file-rsyncp/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-file-rsyncp/repos/community-staging-i686/
perl-file-rsyncp/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: perl-file-rsyncp/repos/community-testing-i686/PKGBUILD (from rev 177199, perl-file-rsyncp/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:00:37 UTC (rev 177200)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer
+
+pkgname=perl-file-rsyncp
+pkgver=0.74
+pkgrel=3
+pkgdesc='Perl interface to rsync file list encoding and decoding'
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs' '!makeflags')
+url='http://search.cpan.org/dist/File-RsyncP'
+source=("http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-$pkgver.tar.gz")
+md5sums=('17b73204db0389d882bf5563a41e4a78')
+
+build() {
+ cd File-RsyncP-$pkgver
+ USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd File-RsyncP-$pkgver
+ make test
+}
+
+package() {
+ cd File-RsyncP-$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;
+}
+
+# vim:set ts=2 sw=2 et:
Copied: perl-file-rsyncp/repos/community-testing-x86_64/PKGBUILD (from rev 177199, perl-file-rsyncp/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:00:37 UTC (rev 177200)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer
+
+pkgname=perl-file-rsyncp
+pkgver=0.74
+pkgrel=3
+pkgdesc='Perl interface to rsync file list encoding and decoding'
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs' '!makeflags')
+url='http://search.cpan.org/dist/File-RsyncP'
+source=("http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-$pkgver.tar.gz")
+md5sums=('17b73204db0389d882bf5563a41e4a78')
+
+build() {
+ cd File-RsyncP-$pkgver
+ USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd File-RsyncP-$pkgver
+ make test
+}
+
+package() {
+ cd File-RsyncP-$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;
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list