# Automatically generated by apkbuild-cpan, template 3 # Contributor: Fabian Affolter # Maintainer: Stuart Cardall pkgname=perl-bit-vector #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Bit-Vector pkgver=7.4 pkgrel=12 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/Bit-Vector-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5 Bit-Vector-7.4.tar.gz"