# $Id: PKGBUILD 51923 2009-09-13 21:05:25Z kevin $ # Maintainer: Kevin Piche # Contributor: K. Piche pkgname=perl-bit-vector _cpanname=Bit-Vector pkgver=7.0 pkgrel=1 pkgdesc='Efficient bit vector, set of integers and "big int" math library' arch=(i686 x86_64) license=('GPL' 'LGPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_cpanname}/" depends=('perl-carp-clan' 'perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_cpanname}-${pkgver}.tar.gz) md5sums=('7b30893a1e6e9fcc47494e256f5bd2a6') build() { cd ${srcdir}/${_cpanname}-$pkgver # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${pkgdir} || return 1 # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete }