diff options
author | Danilo J. S. Bellini | 2017-01-04 10:41:23 -0200 |
---|---|---|
committer | Danilo J. S. Bellini | 2017-01-04 10:41:23 -0200 |
commit | ce91a850d69aaec9fbc793f7f033005a966e6686 (patch) | |
tree | 382840df2e8754d4c6150845a58eeec1494254a8 /PKGBUILD | |
download | aur-ce91a850d69aaec9fbc793f7f033005a966e6686.tar.gz |
v1.0a5-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2bcefea26f32 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Danilo J. S. Bellini <danilo dot bellini at gmail dot com> +pkgname=('python2-rasterio') +pkgver=1.0a5 +pkgrel=1 +pkgdesc="Fast and direct raster I/O for use with Numpy and SciPy (Python 2)" +arch=('i686' 'x86_64') +url="https://github.com/mapbox/rasterio" +license=('BSD') +makedepends=('python2-setuptools' 'cython2') +depends=('python2-affine' 'python2-cligj' 'python2-numpy' 'python2-snuggs' + 'python2-click-plugins' 'python2-enum34' 'gdal') +options=(!emptydirs) +source=("$url/archive/$pkgver.zip") +sha256sums=('d773506efa63ee0d367b32c34ae40ff4a2f61254be3a01f038dc68eb9ba1fbb0') + +build() { + cd "$srcdir/rasterio-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/rasterio-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} |