[arch-commits] Commit in perl-json-parse/repos (2 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Jul 12 14:47:55 UTC 2019
Date: Friday, July 12, 2019 @ 14:47:54
Author: spupykin
Revision: 489140
archrelease: copy trunk to community-x86_64
Added:
perl-json-parse/repos/community-x86_64/
perl-json-parse/repos/community-x86_64/PKGBUILD
(from rev 489139, perl-json-parse/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-json-parse/repos/community-x86_64/PKGBUILD (from rev 489139, perl-json-parse/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-07-12 14:47:54 UTC (rev 489140)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-json-parse
+pkgver=0.55
+pkgrel=1
+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