# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=perl-math-bigint-gmp _pkgname=Math-BigInt-GMP pkgver=1.6007 pkgrel=7 pkgdesc='Big integer calculations using the GNU Multiple Precision Arithmetic Library.' arch=('x86_64' 'aarch64') url='https://metacpan.org/release/Math-BigInt-GMP' license=('GPL' 'PerlArtistic') depends=('perl' 'gmp') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJACKLAM/$_pkgname-$pkgver.tar.gz") sha512sums=('cdeaeec1e450e95d761cefc63c5262c0b43cf5fc5865e62d0463e34821541c2b83d156979c1e7a8157c9747ccf5e3cefa80ac52489a7ce3186425bc27c176512') build() { cd "$_pkgname-$pkgver" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd "$_pkgname-$pkgver" make install DESTDIR="$pkgdir" find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete }