core/libraw/PKGBUILD

23 lines
561 B
Bash

pkgname=libraw
pkgver=0.18.10
pkgrel=1
pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
arch=('x86_64')
url="https://www.libraw.org/"
license=('CDDL' 'LGPL')
depends=('lcms2' 'jasper')
source=("https://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
sha256sums=('08c9bbf2bb5f8aece783d05e0b5268aaae5562a34d940e17ee7a22cbc2fb994e')
build() {
cd LibRaw-${pkgver}
./configure --prefix=/usr \
--disable-examples
make
}
package() {
cd LibRaw-${pkgver}
make DESTDIR="${pkgdir}" install
}