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=('93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec')
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