1 #http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/JSON-RPC-1.01.tar.gz
2 pkgname=perl-json-rpc-legacy
5 pkgdesc="Perl implementation of JSON-RPC 1.1 protocol"
7 provides=('perl-json-rpc=0.96')
8 url="http://search.cpan.org/~makamaka/JSON-RPC-0.96/"
9 license=('GPL' 'PerlArtistic')
11 options=('!emptydirs')
12 #source=(http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/JSON-RPC-$pkgver.tar.gz)
13 source=(http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-RPC-$pkgver.tar.gz)
16 cd $startdir/src/JSON-RPC-$pkgver
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
19 make install DESTDIR=$startdir/pkg || return 1
20 find $startdir/pkg -name '.packlist' -delete
21 find $startdir/pkg -name '*.pod' -delete
22 ln -s $startdir/pkg/usr/share/
24 md5sums=('3912464c3cf59b60131fd2b15400192a')