updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-math-gmpz / PKGBUILD
blobaa5a5bd3e43d8f589dcb0f8336f356b9472972a1
1 # Maintainer: Janno T. <jaxnnxot@gmail.com>
2 _author=SISYPHUS
3 _perlmod=Math-GMPz
4 pkgname=perl-math-gmpz
5 pkgver=0.32
6 pkgrel=0
7 pkgdesc="perl interface to the GMP library's integer (mpz) functions."
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl>=5.10.0', 'gmp')
12 options=(!emptydirs)
13 source=(http://cpan.perl.org/modules/by-authors/id/S/SI/$_author/$_perlmod-$pkgver.tar.gz)
14 md5sums=('1d41be7ee29a40f0dcf37bdb8306a41e')
16 build() {
17   cd "$srcdir/$_perlmod-$pkgver"
19   # Install module in vendor directories.
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 package() {
25   cd "$srcdir/$_perlmod-$pkgver"
26   make install DESTDIR="$pkgdir/"
29 # vim:set ts=2 sw=2 et: