summaryrefslogtreecommitdiff
path: root/community/libraw/PKGBUILD
blob: fe578f5b3257bb1f409ca691550babaa170ceab5 (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
# $Id: PKGBUILD 60435 2011-12-13 20:54:21Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>

pkgname=libraw
pkgver=0.14.4
pkgrel=1
pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
arch=('i686' 'x86_64')
url="http://www.libraw.org/"
license=('CDDL' 'LGPL' 'custom')
depends=('lcms')
options=('!makeflags')
changelog=$pkgname.changelog
source=(http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz)
sha256sums=('795a8615381868942b27636ea83d741d7c8d17afa9f00b5b7fe26212c42ee59c')

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

  ./configure --prefix=/usr
  make
}

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

  make DESTDIR=${pkgdir} install
}