diff options
author | Leonid Bloch | 2017-01-04 00:04:40 +0200 |
---|---|---|
committer | Leonid Bloch | 2017-01-04 00:04:40 +0200 |
commit | d764f53e0ab50051c6dc23afd2fa2ce3f9e3cf44 (patch) | |
tree | e5328075b8c3eb8019c6806defb66eda6f6acfd4 /PKGBUILD | |
download | aur-d764f53e0ab50051c6dc23afd2fa2ce3f9e3cf44.tar.gz |
Initial commit
Signed-off-by: Leonid Bloch <leonid.bloch@esrf.fr>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64d7bdeaec1a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Package maintainer: Leonid B <leonid dot bloch at esrf dot fr> +# Upstream contact: silx at esrf dot fr +pkgname=python-pyfai +pkgver=0.13.0 +pkgrel=1 +pkgdesc="Fast Azimuthal Integration in Python." +arch=('any') +url="http://www.silx.org" +license=('GPLv3' 'BSD' 'MIT') +depends=('python-numpy' 'python-scipy' 'python-matplotlib' 'python-fabio' + 'python-h5py' 'python-pyopencl' 'python-pyqt5' 'fftw' 'opencl-driver') +makedepends=('git' 'cython') +source=("https://github.com/silx-kit/pyFAI/archive/v${pkgver}.tar.gz") +sha1sums=('221f18a4048b5a6725f577ecde99656057e3f310') + +build() { + cd "${srcdir}/pyFAI-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/pyFAI-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 + install -D LICENSES.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" +} |