# Contributor: Fabian Affolter # Maintainer: Stuart Cardall pkgname=perl-bit-vector _realname=Bit-Vector pkgver=7.4 pkgrel=7 pkgdesc="Efficient bit vector, set of integers, and big int math library" url="https://metacpan.org/release/Bit-Vector/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-carp-clan" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz" builddir="$srcdir/$_realname-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5 Bit-Vector-7.4.tar.gz"