archrelease: copy trunk to extra-x86_64
[arch-packages.git] / openexr / trunk / PKGBUILD
blob6ddf6218b6182b4ae427e81989909b3d140b605b
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
3 pkgname=openexr
4 pkgver=3.1.4
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=('cb019c3c69ada47fe340f7fa6c8b863ca0515804dc60bdb25c942c1da886930b')
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