From 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 27 Dec 2013 23:55:53 +0000 Subject: Fri Dec 27 23:54:04 UTC 2013 --- extra/libraw/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 extra/libraw/PKGBUILD (limited to 'extra/libraw') diff --git a/extra/libraw/PKGBUILD b/extra/libraw/PKGBUILD new file mode 100644 index 000000000..32db74053 --- /dev/null +++ b/extra/libraw/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 199050 2013-11-07 23:03:25Z andrea $ +# Maintainer: Andre Scarpino +# Contributor: Jaroslav Lichtblau +# Contributor: Ionut Biru +# Contributor: Joeny Ang +# Contributor: Brad Fanella + +pkgname=libraw +pkgver=0.15.4 +pkgrel=3 +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=('b3fcfee33bc34ae5869a9741880e28a62f029f196cb1d1a007ab156f4a110f79') + +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} +} -- cgit v1.2.3-54-g00ecf