archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-bit-vector / repos / extra-x86_64 / PKGBUILD
blob0c695b41f8f2633aceffab737230378e097359ba
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Kevin Piche <kevin@archlinux.org>
4 pkgname=perl-bit-vector
5 pkgver=7.4
6 pkgrel=14
7 pkgdesc='Efficient bit vector, set of integers and "big int" math library'
8 arch=('x86_64')
9 license=('GPL' 'LGPL' 'PerlArtistic')
10 url="https://search.cpan.org/dist/Bit-Vector/"
11 depends=('perl-carp-clan')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-${pkgver}.tar.gz)
14 sha256sums=('3c6daa671fecfbc35f92a9385b563d65f50dfc6bdc8b4805f9ef46c0d035a926')
16 build() {
17   cd Bit-Vector-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Bit-Vector-$pkgver
24   make test
27 package() {
28   cd Bit-Vector-$pkgver
29   make DESTDIR="${pkgdir}" install