aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-bit-vector/APKBUILD
blob: 2cf4d0b554db04ca0d8dc53da7a130b4ac80cf99 (plain)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=perl-bit-vector
_realname=Bit-Vector
pkgver=7.3
pkgrel=1
pkgdesc="Efficient bit vector, set of integers, and big int math library"
url="http://search.cpan.org/~stbey/Bit-Vector-7.1/"
arch="all"
license="PerlArtistic"
depends="perl perl-carp-clan"
depends_dev=""
makedepends="perl-dev perl-carp-clan"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="684e63a93db1e0eda25a103258b39725  Bit-Vector-7.3.tar.gz"
sha256sums="5a76330bfb9b9083371484c960d01ac0ad0e129fe770bfb1e87a85384e088f3d  Bit-Vector-7.3.tar.gz"
sha512sums="e6baa2385d366ee00449abe52c20c49dbd41d2396d7c8f0fd6222262b6c4399d75eb081f46c5d1e524d12dafe0e5e78249f273e7705d04bd03033703fd2e86c8  Bit-Vector-7.3.tar.gz"