archrelease: copy trunk to extra-x86_64
[arch-packages.git] / openexr / trunk / PKGBUILD
blob4364e25d9526541cdc9518e0b1e3d739e72043b0
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
3 pkgname=openexr
4 pkgver=3.1.5
5 pkgrel=1
6 pkgdesc='A high dynamic-range image file format library'
7 url='https://www.openexr.com/'
8 arch=(x86_64)
9 license=(BSD)
10 depends=(zlib imath)
11 makedepends=(cmake)
12 source=(https://github.com/openexr/openexr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec')
15 build() {
16   cmake -B build -S $pkgname-$pkgver \
17     -DCMAKE_INSTALL_PREFIX=/usr \
18     -DCMAKE_BUILD_TYPE=None
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
24   install -Dm644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname