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

Felix Yan felixonmars at archlinux.org
Sat Feb 16 17:45:00 UTC 2019


    Date: Saturday, February 16, 2019 @ 17:44:59
  Author: felixonmars
Revision: 433586

archrelease: copy trunk to community-testing-x86_64

Added:
  perl-json-xs/repos/community-testing-x86_64/
  perl-json-xs/repos/community-testing-x86_64/PKGBUILD
    (from rev 433585, perl-json-xs/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-json-xs/repos/community-testing-x86_64/PKGBUILD (from rev 433585, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-02-16 17:44:59 UTC (rev 433586)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Tor Krill <tor at krill.nu>
+
+pkgname=perl-json-xs
+pkgver=4.0
+pkgrel=1
+pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
+url="http://search.cpan.org/dist/JSON-XS/"
+license=("GPL")
+arch=('x86_64')
+depends=('perl' 'perl-common-sense' 'perl-types-serialiser')
+makedepends=('perl-canary-stability')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
+sha256sums=('479f4afca6d21d679101954a8144cf42e3ff8780c336ea8b748cf2a77ef62804')
+
+build() {
+  cd  "$srcdir"/JSON-XS-$pkgver
+  PERL_CANARY_STABILITY_NOPROMPT=1 \
+  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
+}



More information about the arch-commits mailing list