mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# $Id: PKGBUILD 1231 2009-08-14 03:01:44Z dgriffiths $
|
|
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=proj
|
|
pkgver=4.6.1
|
|
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.4.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=('7dbaab8431ad50c25669fd3fb28dc493'
|
|
'a975779e65f1125a28f55f9d18b4333d'
|
|
'fbbfe2b6bcbc41168fe3bdc4a6c1082a')
|
|
|
|
build() {
|
|
unzip ${srcdir}/${pkgname}-datumgrid-1.4.zip -d ${srcdir}/proj-${pkgver}/nad
|
|
unzip ${srcdir}/chenyx06.zip -d ${srcdir}/proj-${pkgver}/nad CHENYX06.gsb
|
|
|
|
cd ${srcdir}/proj-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|