summaryrefslogtreecommitdiff
path: root/community/libraw/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libraw/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libraw/PKGBUILD')
-rw-r--r--community/libraw/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libraw/PKGBUILD b/community/libraw/PKGBUILD
new file mode 100644
index 000000000..0c1004e39
--- /dev/null
+++ b/community/libraw/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 92940 2013-06-19 21:09:45Z bpiotrowski $
+# Maintainer: 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.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')
+changelog=$pkgname.changelog
+source=(http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz)
+sha256sums=('828eac93910f26f813f91d35f92f33a9e719c2ec8522d575b248063194b068c6')
+
+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
+}