diff options
Diffstat (limited to 'extra/libraw')
-rw-r--r-- | extra/libraw/PKGBUILD | 35 |
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} +} |