core/libraw/PKGBUILD
2016-01-19 21:17:41 +01:00

26 lines
737 B
Bash

pkgname=libraw
pkgver=0.17.1
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="http://www.libraw.org/"
license=('CDDL' 'LGPL' 'custom')
depends=('lcms2' 'jasper')
source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
sha256sums=('e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1')
build() {
cd LibRaw-${pkgver}
./configure --prefix=/usr \
--disable-examples
make
}
package() {
cd LibRaw-${pkgver}
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/usr/share/licenses/${pkgname}
install -D -m644 "${srcdir}"/LibRaw-${pkgver}/LICENSE.LibRaw.pdf \
"${pkgdir}"/usr/share/licenses/${pkgname}
}