summaryrefslogtreecommitdiff
path: root/user/perl-bit-vector/APKBUILD
blob: cc8b1b8fbf8a3cc34f372809beaa36cb6f157668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Alyx Wolcott <alyx@leuhta.com> 
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-bit-vector
_pkgreal=Bit-Vector
_author=STBEY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=7.4
pkgrel=0
pkgdesc="Efficient bit vector, set of integers and 'big int' math library"
url="https://metacpan.org/release/Bit-Vector"
arch="all"
license="Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev perl-carp-clan"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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"