aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-bit-vector/APKBUILD
blob: 5500c52a56ddc8874db90c7d0ac71c4e14982863 (plain) (tree)
1
2
3
4
5
6
7
8
                                                               
                                                          

                       
          
        
                                                                         
                                             







                                                                                    

                                     

         
                      
                                                                             





                      


           

                                      


                                                                           
                                                                                                                                                                    
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-bit-vector
_realname=Bit-Vector
pkgver=7.4
pkgrel=3
pkgdesc="Efficient bit vector, set of integers, and big int math library"
url="http://search.cpan.org/dist/Bit-Vector/"
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
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5  Bit-Vector-7.4.tar.gz"