[arch-commits] Commit in perl-json-xs/repos (6 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:01:32 UTC 2016
Date: Friday, May 27, 2016 @ 10:01:31
Author: bluewind
Revision: 177217
db-move: moved perl-json-xs from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-json-xs/repos/community-testing-i686/
perl-json-xs/repos/community-testing-i686/PKGBUILD
(from rev 177216, perl-json-xs/repos/community-staging-i686/PKGBUILD)
perl-json-xs/repos/community-testing-x86_64/
perl-json-xs/repos/community-testing-x86_64/PKGBUILD
(from rev 177216, perl-json-xs/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-json-xs/repos/community-staging-i686/
perl-json-xs/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: perl-json-xs/repos/community-testing-i686/PKGBUILD (from rev 177216, perl-json-xs/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:01:31 UTC (rev 177217)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Tor Krill <tor at krill.nu>
+
+pkgname=perl-json-xs
+pkgver=3.02
+pkgrel=3
+pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
+url="http://search.cpan.org/dist/JSON-XS/"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('perl' 'perl-common-sense' 'perl-types-serialiser' 'perl-canary-stability')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
+md5sums=('0d4078f18003b50be970709a77b6afbf')
+
+build() {
+ cd $srcdir/JSON-XS-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+package() {
+ cd $srcdir/JSON-XS-$pkgver
+ make DESTDIR=$pkgdir install
+
+ find $pkgdir -name '.packlist' -delete && \
+ find $pkgdir -name '*.pod' -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-json-xs/repos/community-testing-x86_64/PKGBUILD (from rev 177216, perl-json-xs/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:01:31 UTC (rev 177217)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Tor Krill <tor at krill.nu>
+
+pkgname=perl-json-xs
+pkgver=3.02
+pkgrel=3
+pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
+url="http://search.cpan.org/dist/JSON-XS/"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('perl' 'perl-common-sense' 'perl-types-serialiser' 'perl-canary-stability')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
+md5sums=('0d4078f18003b50be970709a77b6afbf')
+
+build() {
+ cd $srcdir/JSON-XS-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+package() {
+ cd $srcdir/JSON-XS-$pkgver
+ make DESTDIR=$pkgdir install
+
+ find $pkgdir -name '.packlist' -delete && \
+ find $pkgdir -name '*.pod' -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