summaryrefslogtreecommitdiff
path: root/community/libraw/PKGBUILD
blob: 9641c367406d41c6b7759c6e2eebd038a637b6c2 (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 58470 2011-11-12 22:05:09Z lcarlier $
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=libraw
_pkgbasename=LibRaw
pkgver=0.14.3
pkgrel=2
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=('d8f81a52b0fada9d5bf7e659e21e3a57')

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

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

  	make DESTDIR=${pkgdir} install
}