updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / python-pywcs / PKGBUILD
blob6858a47ba778633c3917ec34117cd987d1849c8a
1 # Contributor: Médéric Boquien <mboquien@free.fr>
3 pkgname=python-pywcs
4 pkgver=1.10
5 pkgrel=2
6 pkgdesc="A python language interface to handle FITS WCS"
7 arch=('i686' 'x86_64')
8 url="http://stsdas.stsci.edu/astrolib/pywcs/"
9 license=("custom")
10 depends=('python2' 'python-pyfits>=1.4' 'python2-numpy>=1.3')
11 source=("http://stsdas.stsci.edu/astrolib/pywcs-$pkgver-4.7.tar.gz")
12 md5sums=('8f7b2b48a0ee6e775ff2c9c17a4e3985')
14 build() {
15   cd $srcdir/pywcs-$pkgver-4.7
16   python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
18   # Remember to install licenses if the license is not a common license!
19   install -D -m644 $srcdir/pywcs-$pkgver-4.7/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE