summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c0b5cf8b50cea267003200401049afdf3f66c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Ross Whitfield <whitfieldre@ornl.gov>
pkgname='python-nexusformat'
_pkgname=nexusformat
pkgver=0.4.20
pkgrel=1
pkgdesc="Provides an API to open, create, and manipulate NeXus data."
url="https://github.com/nexpy/nexusformat"
arch=("any")
license=('BSD')
makedepends=('python-setuptools')
depends=('python-numpy' 'python-h5py')
source=("https://github.com/nexpy/nexusformat/archive/v${pkgver}.tar.gz")
md5sums=('3597830bb33bb272f1e507fc373de7c6')

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