updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / perl-json-rpc-legacy / PKGBUILD
blob89b7e72d867bdb63c1040b055028c7ba8dd220aa
1 #http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/JSON-RPC-1.01.tar.gz
2 pkgname=perl-json-rpc-legacy
3 pkgver=0.96
4 pkgrel=1
5 pkgdesc="Perl implementation of JSON-RPC 1.1 protocol"
6 arch=('i686' 'x86_64')
7 provides=('perl-json-rpc=0.96')
8 url="http://search.cpan.org/~makamaka/JSON-RPC-0.96/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
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)
15 build() {
16   cd  $startdir/src/JSON-RPC-$pkgver
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
18   make || 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')