blob: a61a60eacd1f5eb0beec2d05a754b40cf5c19681 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
# Contributor: orumin <dev at orum.in>
_basename=libraw
pkgname=lib32-libraw
pkgver=0.21.1
pkgrel=1
pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others) (32-bit)"
arch=('x86_64')
url="https://www.libraw.org/"
license=(CDDL LGPL)
depends=(lib32-lcms2 lib32-jasper libraw)
source=("https://www.libraw.org/data/LibRaw-$pkgver.tar.gz")
sha256sums=('630a6bcf5e65d1b1b40cdb8608bdb922316759bfb981c65091fec8682d1543cd')
build() {
cd LibRaw-$pkgver
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
autoreconf -f
./configure \
--build=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib32 \
--disable-examples
make
}
package() {
cd LibRaw-$pkgver
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}/usr/include"
rm -rf "${pkgdir}/usr/share"
}
|