core/libraw/PKGBUILD

26 lines
737 B
Bash
Raw Normal View History

2012-02-09 08:23:55 +08:00
pkgname=libraw
2016-01-20 04:17:41 +08:00
pkgver=0.17.1
2015-12-05 07:28:02 +08:00
pkgrel=1
2012-02-09 08:23:55 +08:00
pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
2013-12-18 06:44:23 +08:00
arch=('x86_64')
2012-02-09 08:23:55 +08:00
url="http://www.libraw.org/"
2015-12-05 07:28:02 +08:00
license=('CDDL' 'LGPL' 'custom')
depends=('lcms2' 'jasper')
2013-12-18 06:44:23 +08:00
source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
2016-01-20 04:17:41 +08:00
sha256sums=('e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1')
2012-02-09 08:23:55 +08:00
build() {
2015-12-05 07:28:02 +08:00
cd LibRaw-${pkgver}
./configure --prefix=/usr \
--disable-examples
make
2012-02-09 08:23:55 +08:00
}
package() {
2015-12-05 07:28:02 +08:00
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}
}