summaryrefslogtreecommitdiff
path: root/community-testing/libraw/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/libraw/PKGBUILD')
-rw-r--r--community-testing/libraw/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/libraw/PKGBUILD b/community-testing/libraw/PKGBUILD
new file mode 100644
index 000000000..9d33438ee
--- /dev/null
+++ b/community-testing/libraw/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 57596 2011-10-31 12:00:52Z lcarlier $
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+
+pkgname=libraw
+_pkgbasename=LibRaw
+pkgver=0.14.3
+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')
+source=(http://www.libraw.org/data/${_pkgbasename}-${pkgver}.tar.gz)
+md5sums=('d8f81a52b0fada9d5bf7e659e21e3a57')
+
+build() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}