summaryrefslogtreecommitdiff
path: root/extra/libraw
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/libraw
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/libraw')
-rw-r--r--extra/libraw/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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 <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.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}
+}