updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / perl-library-callnumber-lc / PKGBUILD
bloba4709a6ed3472c09074c03cfa37e907fd8788705
1 # Contributor: Ben Webb <bjwebb67 at googlemail dot com>
2 pkgname=perl-library-callnumber-lc
3 pkgver=0.10
4 pkgrel=1
5 pkgdesc="Utility functions to deal with Library of Congress Call Numbers"
6 arch=(any)
7 url="http://search.cpan.org/~dueberb/Library-CallNumber-LC-$pkgver/lib/Library/CallNumber/LC.pm"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 source=(http://search.cpan.org/CPAN/authors/id/D/DU/DUEBERB/Library-CallNumber-LC-$pkgver.tar.gz)
12 md5sums=('13651f0e29b51605ed844d0a01a91c85')
14 build() {
15   cd "$srcdir/Library-CallNumber-LC-$pkgver"
17   # install module in vendor directories.
18   perl Makefile.PL INSTALLDIRS=vendor || return 1
19   make || 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