initial import
This commit is contained in:
36
libraw/PKGBUILD
Normal file
36
libraw/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libraw
|
||||
_pkgname=LibRaw
|
||||
pkgver=0.20.2
|
||||
pkgrel=1
|
||||
pkgdesc='A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)'
|
||||
arch=(i686 x86_64)
|
||||
url="https://www.$pkgname.org/"
|
||||
license=(LGPL-2.1)
|
||||
depends=(lcms2 jasper)
|
||||
makedepends=(automake-1.15 quilt)
|
||||
source=(https://www.$pkgname.org/data/$_pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('96b1aaf09e2d46448d1b3619270c1f1c32e9bcbd866567cec67d5b1f889362f0fae3f3533ea9bf6a11a917be3b61ee6c9938bad09209d93453039ed04eaeae4a')
|
||||
|
||||
build() {
|
||||
cd $_pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-examples \
|
||||
--enable-jasper \
|
||||
--enable-jpeg \
|
||||
--enable-lcms \
|
||||
--enable-openmp \
|
||||
--enable-zlib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgname-$pkgver
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -Dm644 LICENSE.LGPL -t $pkgdir/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user