mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 01:54:40 +08:00
27 lines
738 B
Bash
27 lines
738 B
Bash
|
|
pkgname=libraw
|
|
pkgver=0.17.0
|
|
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=('e643c20945d548aac1eaa1f5573bf74050e0f49ec6a53a6843dc2a2cfb647310')
|
|
|
|
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}
|
|
} |