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

Sergej Pupykin spupykin at archlinux.org
Tue Jun 2 17:40:21 UTC 2015


    Date: Tuesday, June 2, 2015 @ 19:40:21
  Author: spupykin
Revision: 134587

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 134586, perl-json-xs/trunk/PKGBUILD)
  perl-json-xs/repos/community-staging-x86_64/
  perl-json-xs/repos/community-staging-x86_64/PKGBUILD
    (from rev 134586, 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 134586, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-06-02 17:40:21 UTC (rev 134587)
@@ -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.01
+pkgrel=4
+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')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
+md5sums=('b7be65295baf6dd9233c6494782c1153')
+
+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 134586, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-06-02 17:40:21 UTC (rev 134587)
@@ -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.01
+pkgrel=4
+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')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
+md5sums=('b7be65295baf6dd9233c6494782c1153')
+
+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