diff options
author | ggranga | 2016-05-05 16:49:52 +0200 |
---|---|---|
committer | ggranga | 2016-05-05 16:49:52 +0200 |
commit | 4652f2810e537f61d7c65a1f7fc14209c50a0a9f (patch) | |
tree | 55342d17ee705856c5d0fe7129cfcd7775029828 /PKGBUILD | |
parent | 2e6d2607b17440a519ada5388c4b766bc84dc2fd (diff) | |
download | aur-4652f2810e537f61d7c65a1f7fc14209c50a0a9f.tar.gz |
Reflecting edits of gdal 2.0.2-5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,4 @@ -# $Id: PKGBUILD 169825 2016-04-09 13:23:33Z foutrelis $ -# Maintainer: Luigi Ranghetti <ggranga@gmail.com> +# $Id: PKGBUILD 173344 2016-05-02 12:35:46Z ronald $ # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org> # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Contributor: William Rea <sillywilly@gmail.com> @@ -7,8 +6,8 @@ pkgname=gdal-hdf4 _pkgname=gdal pkgver=2.0.2 -pkgrel=4 -pkgdesc="A translator library for raster geospatial data formats, with support to HDF4 format (requested to use MODIStsp tool: http://github.com/lbusett/MODIStsp)" +pkgrel=5 +pkgdesc="A translator library for raster geospatial data formats, with support to HDF4 format (required to use MODIStsp tool: http://github.com/lbusett/MODIStsp)" arch=('i686' 'x86_64') url="http://www.gdal.org/" license=('custom') @@ -18,21 +17,22 @@ makedepends=('perl' 'swig' 'chrpath' 'doxygen') optdepends=('postgresql: postgresql database support' 'mariadb: mariadb database support' 'perl: perl binding support') -provides=('gdal==2.0.2') -conflicts=('gdal') options=('!emptydirs') changelog=$_pkgname.changelog source=(http://download.osgeo.org/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz gdal-python-install.patch) sha256sums=('db7722caf8d9dd798ec18012b9cacf40a518918466126a88b9fd277bd7d40cc4' '823199fdedf5953d9b6bffb0e58a810490e958054f5a9da9d5cd1818f89cd51a') +provides=('gdal') +conflicts=('gdal') + prepare() { cd "${srcdir}"/$_pkgname-$pkgver patch -Np0 -i "${srcdir}"/gdal-python-install.patch # python2 fixes - sed -i 's_python python1.5_python2 python python1.5_' configure + sed -i 's_python python1.5_python2 python python1.5_' configure for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file done |