[arch-commits] Commit in gdal/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Thu Mar 7 08:03:56 UTC 2013


    Date: Thursday, March 7, 2013 @ 09:03:56
  Author: andrea
Revision: 85786

upgpkg: gdal 1.9.2-1

Upstream release; remove RPATH; mariadb rebuild

Modified:
  gdal/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-07 07:55:36 UTC (rev 85785)
+++ PKGBUILD	2013-03-07 08:03:56 UTC (rev 85786)
@@ -4,23 +4,23 @@
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=gdal
-pkgver=1.9.1
+pkgver=1.9.2
 pkgrel=1
 pkgdesc="A translator library for raster geospatial data formats"
 arch=('i686' 'x86_64')
 url="http://www.gdal.org/"
 license=('custom')
-depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf'  'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmysqlclient' 'postgresql-libs')
-makedepends=('perl' 'swig')
+depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf'  'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs')
+makedepends=('perl' 'swig' 'chrpath')
 optdepends=('postgresql: postgresql database support'
-            'mysql: mysql database support'
+            'mariadb: mariab database support'
             'perl:  perl binding support'
             'swig:  perl binding support')
 options=('!libtool')
 changelog=$pkgname.changelog
 source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
         gdal-1.5.1-python-install.patch)
-md5sums=('c5cf09b92dac1f5775db056e165b34f5'
+md5sums=('3f39db89f4710269b3a8bf94178e07aa'
          '81afc1c26d29cee84aadb6924fe33861')
 
 build() {
@@ -60,4 +60,10 @@
 
 #FS15477 clean up junks
   rm -f ${pkgdir}/usr/bin/*.dox
+
+  # Remove RPATH
+  chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so
+  chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so
+  chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so
+  chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so
 }




More information about the arch-commits mailing list