summaryrefslogtreecommitdiff
path: root/community/libgeotiff/PKGBUILD
blob: b0164270f26f77ff74c72c2e72ccac6267f2662a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 103326 2014-01-03 10:53:25Z bpiotrowski $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=libgeotiff
pkgver=1.4.0
pkgrel=2
pkgdesc="A TIFF based interchange format for georeferenced raster imagery"
arch=('i686' 'x86_64')
url="http://www.remotesensing.org/geotiff"
license=('custom')
depends=('libtiff' 'proj' 'libjpeg>=7')
options=('!makeflags')
changelog=$pkgname.changelog
source=(ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/$pkgname-$pkgver.tar.gz)
sha256sums=('d0acb8d341fd6a8f2c673456e09fdb8f50f91e3166ac934719fe05b30d328329')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/libgeotiff/LICENSE
}