contrib/openexr/Pkgfile

22 lines
694 B
Plaintext

# Description: A high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
# URL: https://www.openexr.com/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: cmake
name=openexr
version=2.5.2
release=1
source=(https://github.com/AcademySoftwareFoundation/openexr/archive/v$version/$name-$version.tar.gz \
openexr-pkg-config.patch)
build() {
patch -d $name-$version -p1 -i $SRC/$name-pkg-config.patch
mkdir build && cd build
cmake ../$name-$version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}