# $Id: PKGBUILD 98350 2013-10-08 20:37:21Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Ionut Biru # Contributor: Joeny Ang # Contributor: Brad Fanella pkgname=libraw pkgver=0.15.4 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' '!libtool') changelog=$pkgname.changelog source=(http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz) sha256sums=('b3fcfee33bc34ae5869a9741880e28a62f029f196cb1d1a007ab156f4a110f79') build() { cd ${srcdir}/LibRaw-${pkgver} ./configure --prefix=/usr make } package() { cd ${srcdir}/LibRaw-${pkgver} make DESTDIR=${pkgdir} install #license install -D -m644 ${srcdir}/LibRaw-${pkgver}/LICENSE.LibRaw.pdf \ ${pkgdir}/usr/share/licenses/libraw/LICENSE.LibRaw.pdf }