# Maintainer: Felix Yan # Contributor: Kevin Piche pkgname=perl-bit-vector pkgver=7.4 pkgrel=14 pkgdesc='Efficient bit vector, set of integers and "big int" math library' arch=('x86_64') license=('GPL' 'LGPL' 'PerlArtistic') url="https://search.cpan.org/dist/Bit-Vector/" depends=('perl-carp-clan') options=('!emptydirs') source=(https://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-${pkgver}.tar.gz) sha256sums=('3c6daa671fecfbc35f92a9385b563d65f50dfc6bdc8b4805f9ef46c0d035a926') build() { cd Bit-Vector-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { cd Bit-Vector-$pkgver make test } package() { cd Bit-Vector-$pkgver make DESTDIR="${pkgdir}" install }