[arch-commits] Commit in perl-json-xs/repos (4 files)

Sergej Pupykin spupykin at archlinux.org
Tue May 10 18:18:38 UTC 2016


    Date: Tuesday, May 10, 2016 @ 20:18:38
  Author: spupykin
Revision: 174629

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  perl-json-xs/repos/community-staging-i686/
  perl-json-xs/repos/community-staging-i686/PKGBUILD
    (from rev 174628, perl-json-xs/trunk/PKGBUILD)
  perl-json-xs/repos/community-staging-x86_64/
  perl-json-xs/repos/community-staging-x86_64/PKGBUILD
    (from rev 174628, perl-json-xs/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: perl-json-xs/repos/community-staging-i686/PKGBUILD (from rev 174628, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-10 18:18:38 UTC (rev 174629)
@@ -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=2
+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-staging-x86_64/PKGBUILD (from rev 174628, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-10 18:18:38 UTC (rev 174629)
@@ -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=2
+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