summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:41:18 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:41:22 +0100
commitebd49f3b60414ae9f072ca441154078bc596acc2 (patch)
tree3f7254f6aca4102043d8c033be96660728c07786
parent0ffc23ab15d486886a13d96e8d785002cbac1a74 (diff)
downloadabslibre-ebd49f3b60414ae9f072ca441154078bc596acc2.tar.gz
abslibre-ebd49f3b60414ae9f072ca441154078bc596acc2.tar.bz2
abslibre-ebd49f3b60414ae9f072ca441154078bc596acc2.zip
pcr/perl-math-bigint: added
-rw-r--r--pcr/perl-math-bigint/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/pcr/perl-math-bigint/PKGBUILD b/pcr/perl-math-bigint/PKGBUILD
new file mode 100644
index 000000000..b1cca42b8
--- /dev/null
+++ b/pcr/perl-math-bigint/PKGBUILD
@@ -0,0 +1,54 @@
+# Contributor (AUR): Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
+# Generator (AUR): CPANPLUS::Dist::Arch 1.32
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname='perl-math-bigint'
+pkgver='1.999811'
+pkgrel='1'
+pkgdesc="Math::BigInt - Arbitrary size integer/float math package"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.6.1')
+makedepends=()
+provides=('perl-math-bigfloat' 'perl-math-bigint-calc' 'perl-math-bigint-calcemu' 'perl-math-bigint-lib')
+
+url='https://metacpan.org/release/Math-BigInt'
+source=("https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-$pkgver.tar.gz")
+md5sums=('95116cb6c22359f4d5d64abde083376d')
+sha512sums=('2b9e524911c04cc0396702deae9f87091d075ce815ec3687f2071eb94f33f01f4a47ec28f57711083cfc3ce77f419c348dfce2866a567f054ab77ee4fc7f494f')
+_distdir="Math-BigInt-$pkgver"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: