1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Tor Krill <tor@krill.nu>
7 pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
8 url="https://search.cpan.org/dist/JSON-XS/"
11 depends=('perl' 'perl-common-sense' 'perl-types-serialiser')
12 makedepends=('perl-canary-stability')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
15 sha256sums=('515536f45f2fa1a7e88c8824533758d0121d267ab9cb453a1b5887c8a56b9068')
18 cd "$srcdir"/JSON-XS-$pkgver
19 PERL_CANARY_STABILITY_NOPROMPT=1 \
20 perl Makefile.PL INSTALLDIRS=vendor
24 cd "$srcdir"/JSON-XS-$pkgver
25 make DESTDIR="$pkgdir" install
27 find "$pkgdir" -name '.packlist' -delete && \
28 find "$pkgdir" -name '*.pod' -delete