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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:36:04 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:36:03
  Author: felixonmars
Revision: 1214093

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: perl-json-parse/repos/community-staging-x86_64/PKGBUILD (from rev 1214090, perl-json-parse/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 09:36:03 UTC (rev 1214093)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-json-parse
+pkgver=0.55
+pkgrel=5
+pkgdesc="JSON::Parse - Read JSON into a Perl variable"
+arch=('x86_64')
+url="https://metacpan.org/release/JSON-Parse"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/B/BK/BKB/JSON-Parse-$pkgver.tar.gz)
+sha256sums=('dc9856dbc355114bcb0dc036bb632976b19b88d3a7ad59726f1fa917e7f5d256')
+
+build() {
+  cd  "$srcdir"/JSON-Parse-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/JSON-Parse-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list