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

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:57:16 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:57:15
  Author: foutrelis
Revision: 649151

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: perl-json-xs/repos/community-staging-x86_64/PKGBUILD (from rev 649150, perl-json-xs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:57:15 UTC (rev 649151)
@@ -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=4
+pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
+url="https://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=(https://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