upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-json-xs / trunk / PKGBUILD
blob8e7b71efddab3be28439b2dc8a210b990f4fd4f4
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Tor Krill <tor@krill.nu>
4 pkgname=perl-json-xs
5 pkgver=4.03
6 pkgrel=3
7 pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
8 url="https://search.cpan.org/dist/JSON-XS/"
9 license=("GPL")
10 arch=('x86_64')
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')
17 build() {
18   cd  "$srcdir"/JSON-XS-$pkgver
19   PERL_CANARY_STABILITY_NOPROMPT=1 \
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
23 package() {
24   cd  "$srcdir"/JSON-XS-$pkgver
25   make DESTDIR="$pkgdir" install
27   find "$pkgdir" -name '.packlist' -delete && \
28   find "$pkgdir" -name '*.pod' -delete