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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:30:17 UTC 2021


    Date: Monday, May 24, 2021 @ 08:30:17
  Author: felixonmars
Revision: 943875

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 943874, perl-json-parse/trunk/PKGBUILD)

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

Copied: perl-json-parse/repos/community-staging-x86_64/PKGBUILD (from rev 943874, perl-json-parse/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 08:30:17 UTC (rev 943875)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-json-parse
+pkgver=0.55
+pkgrel=4
+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