summaryrefslogtreecommitdiff
path: root/community/libraw/PKGBUILD
blob: f3de9ef593be8daff3e1be0382e4fb27d12d3fb8 (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
# $Id: PKGBUILD 51368 2011-07-08 01:02:45Z bfanella $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>

pkgname=libraw
_pkgbasename=LibRaw
pkgver=0.13.6
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')
source=(http://www.libraw.org/data/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('452bff308af4bfcb9bf1c2fdb0bd0eab')

build() {
  	cd ${srcdir}/${_pkgbasename}-${pkgver}
  
	./configure --prefix=/usr
	make
}

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

  	make DESTDIR=${pkgdir} install
}