1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Adam "falcon7" Chidlow <falcon7 _AT_ standardnerd.org>
pkgname=python2-gmpy
pkgver=1.16
pkgrel=1
pkgdesc="Python extension that wraps GMP to provide fast multiprecision arithmetic."
arch=('i686' 'x86_64')
url="http://code.google.com/p/gmpy/"
license=('LGPL2.1')
depends=('python2' 'gmp')
conflicts=('gmpy')
options=(!emptydirs)
source=("http://gmpy.googlecode.com/files/gmpy-${pkgver}.zip")
md5sums=('79ddb7049426ef751accd4291f20bfd2')

package() {
  cd "$srcdir/gmpy-$pkgver"
  python2 setup.py install --root=$pkgdir/ --optimize=1

  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
  install -m 644 -t $pkgdir/usr/share/doc/$pkgname doc/*

}

# vim:set ts=2 sw=2 et: