summaryrefslogtreecommitdiff
path: root/community/libraw/PKGBUILD
blob: 2a381ed62b8f8ef9c35f6aa5c13a582c8da6901b (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
# $Id: PKGBUILD 41732 2011-03-08 17:21:40Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
pkgname=libraw
_pkgbasename=LibRaw
pkgver=0.13.2
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=('e92895f6b8f975be63f59448c1b8a79b')

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

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

  make DESTDIR=${pkgdir} install
}