1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
3 pkgname=perl-json-parse
6 pkgdesc="JSON::Parse - Read JSON into a Perl variable"
8 url="https://metacpan.org/release/JSON-Parse"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.10.0')
11 options=('!emptydirs')
12 source=(https://cpan.metacpan.org/authors/id/B/BK/BKB/JSON-Parse-$pkgver.tar.gz)
13 sha256sums=('6273180f9392497401ddd6d820706f5aa86c1be88891dd6aab4d906b5cff66d9')
16 cd "$srcdir"/JSON-Parse-$pkgver
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
22 cd "$srcdir"/JSON-Parse-$pkgver
23 make install DESTDIR="$pkgdir"
24 find "$pkgdir" -name '.packlist' -delete
25 find "$pkgdir" -name '*.pod' -delete