summaryrefslogtreecommitdiff
path: root/extra/libraw/PKGBUILD
blob: 70e1c99641fc611c266c3826ba5f2d2ab8eae2a3 (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
32
33
34
35
# $Id: PKGBUILD 204577 2014-01-23 13:18:50Z andrea $
# Maintainer: Andre Scarpino <andrea@archlinux.org>
# Contributor: 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.16.0
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=('lcms2' 'jasper')
source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
sha256sums=('71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96')

build() {
  cd LibRaw-${pkgver}

  ./configure --prefix=/usr \
    --disable-static
  make
}

package() {
  cd LibRaw-${pkgver}

  make DESTDIR=${pkgdir} install

  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
  install -D -m644 LICENSE.LibRaw.pdf \
    "${pkgdir}"/usr/share/licenses/${pkgname}
}