diff options
author | trizen | 2015-12-27 22:24:42 +0200 |
---|---|---|
committer | trizen | 2015-12-27 22:24:42 +0200 |
commit | 03ecf3b75ebbf71d4fa41f4f9f03e3f74f761eb6 (patch) | |
tree | 056cce71315eb6fa9cb8718a79a1ed1e6db04973 | |
download | aur-03ecf3b75ebbf71d4fa41f4f9f03e3f74f761eb6.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c00eaa76ee6d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Sun Dec 27 20:23:47 UTC 2015 +pkgbase = perl-math-gmpq + pkgdesc = perl interface to the GMP library's rational (mpq) functions. + pkgver = 0.38 + pkgrel = 1 + url = https://metacpan.org/release/Math-GMPq + arch = i686 + arch = x86_64 + license = PerlArtistic + license = GPL + depends = perl>=5.10.1 + depends = gmp>=6.1.0 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Math-GMPq-0.38.tar.gz + md5sums = 46d9301f2ba07933fb40b0a7d1efcab5 + sha512sums = d407be2f815faad15b4253701c8b3940718333cb4770d614382959d31899dd528db2fbef9e854e486193d809ac62d85164c89ec3b9a4b3edf3e63bc19b184c7f + +pkgname = perl-math-gmpq + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52ba5bbcf476 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: Trizen <trizenx@gmail.com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-math-gmpq' +pkgver='0.38' +pkgrel='1' +pkgdesc="perl interface to the GMP library's rational (mpq) functions." +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.10.1' 'gmp>=6.1.0') +makedepends=() +url='https://metacpan.org/release/Math-GMPq' +source=('http://search.cpan.org/CPAN/authors/id/S/SI/SISYPHUS/Math-GMPq-0.38.tar.gz') +md5sums=('46d9301f2ba07933fb40b0a7d1efcab5') +sha512sums=('d407be2f815faad15b4253701c8b3940718333cb4770d614382959d31899dd528db2fbef9e854e486193d809ac62d85164c89ec3b9a4b3edf3e63bc19b184c7f') +_distdir="Math-GMPq-0.38" + +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: |