1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
6 pkgdesc='A high dynamic-range image file format library'
7 url='https://www.openexr.com/'
12 source=(https://github.com/openexr/openexr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('cb019c3c69ada47fe340f7fa6c8b863ca0515804dc60bdb25c942c1da886930b')
16 cmake -B build -S $pkgname-$pkgver \
17 -DCMAKE_INSTALL_PREFIX=/usr \
18 -DCMAKE_BUILD_TYPE=None
23 DESTDIR="$pkgdir" cmake --install build
24 install -Dm644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname