From 99136e3a2e9f6f07a7ff08d5721bce354b853c8b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 Mar 2012 00:01:23 +0000 Subject: Tue Mar 20 00:01:23 UTC 2012 --- community/proj/PKGBUILD | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'community/proj') diff --git a/community/proj/PKGBUILD b/community/proj/PKGBUILD index 353b54ad5..60d3976ec 100644 --- a/community/proj/PKGBUILD +++ b/community/proj/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 5889 2009-11-22 12:14:56Z ibiru $ +# $Id: PKGBUILD 68205 2012-03-19 01:22:23Z lfleischer $ # Maintainer: Mateusz Herych # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Contributor: William Rea pkgname=proj pkgver=4.7.0 -pkgrel=1 -pkgdesc="Cartographic Projections library" +pkgrel=2 +pkgdesc='Cartographic Projections library.' arch=('i686' 'x86_64') url="http://trac.osgeo.org/proj/" license=('MIT') options=('!libtool') -source=(http://download.osgeo.org/proj/$pkgname-$pkgver.tar.gz - http://download.osgeo.org/proj/$pkgname-datumgrid-1.5.zip - http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/lv03-lv95/chenyx06/distortion_grids.parsys.65772.downloadList.94632.DownloadFile.tmp/chenyx06antv2.zip) +source=("http://download.osgeo.org/proj/$pkgname-$pkgver.tar.gz" + "http://download.osgeo.org/proj/$pkgname-datumgrid-1.5.zip" + "chenyx06a.zip::http://www.swisstopo.admin.ch/internet/swisstopo/en/home/topics/survey/lv03-lv95/chenyx06/distortion_grids.parsys.65772.downloadList.94632.DownloadFile.tmp/chenyx06antv2.zip") md5sums=('927d34623b52e0209ba2bfcca18fe8cd' 'f5bf28a2a9c6afe9a3f670f0c0adb783' 'fbbfe2b6bcbc41168fe3bdc4a6c1082a') - build() { - bsdtar -xzvf ${srcdir}/${pkgname}-datumgrid-1.5.zip -C ${srcdir}/proj-${pkgver}/nad - bsdtar -xzvf ${srcdir}/chenyx06.zip -C ${srcdir}/proj-${pkgver}/nad CHENYX06.gsb + bsdtar -xzvf "${srcdir}/${pkgname}-datumgrid-1.5.zip" -C "${srcdir}/proj-${pkgver}/nad" + bsdtar -xzvf "${srcdir}/chenyx06a.zip" -C "${srcdir}/proj-${pkgver}/nad" CHENYX06a.gsb - cd ${srcdir}/proj-${pkgver} + cd "${srcdir}/proj-${pkgver}" ./configure --prefix=/usr - make || return 1 - make DESTDIR=${pkgdir} install + make + make DESTDIR="${pkgdir}" install - install -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v1.2.3-54-g00ecf