diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/proj/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/proj/PKGBUILD')
-rw-r--r-- | community/proj/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/proj/PKGBUILD b/community/proj/PKGBUILD new file mode 100644 index 000000000..7c58b556b --- /dev/null +++ b/community/proj/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 84824 2013-02-24 20:23:27Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Mateusz Herych <heniekk@gmail.com> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=proj +pkgver=4.8.0 +pkgrel=2 +pkgdesc='Cartographic Projections library.' +arch=('i686' 'x86_64') +url="http://trac.osgeo.org/proj/" +license=('MIT') +options=('!libtool') +changelog=$pkgname.changelog +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/products/software/software.parsys.7090.downloadList.55545.DownloadFile.tmp/chenyx06ntv2.zip") +sha256sums=('2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5' + '723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db' + 'f61290a32815622bfe182af475c76b0b4c282de66121fdddce2f6201e8bca2e0') + +build() { + 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}/$pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + + install -D COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} |