1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
5 pkgdesc="Search and Retrieval by URL"
7 url="http://search.cpan.org/dist/SRU/lib/SRU.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-cgi-application' 'perl-cql-parser')
11 source=(http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/SRU-$pkgver.tar.gz)
12 md5sums=('944bd25b394d159995836dd8fd980560')
15 cd "$srcdir/SRU-$pkgver"
17 # install module in vendor directories.
18 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=${pkgdir} || return 1
22 # remove perllocal.pod and .packlist
23 find "$pkgdir" -name perllocal.pod -delete
24 find "$pkgdir" -name .packlist -delete