archrelease: copy trunk to community-any
[ArchLinux/community.git] / openimagedenoise / trunk / PKGBUILD
blobc3ff6f4951ff63196eeb7bee518795a3608d5180
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
2 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
4 pkgname=openimagedenoise
5 pkgver=1.4.3
6 pkgrel=1
7 pkgdesc='Intel(R) Open Image Denoise library'
8 arch=('x86_64')
9 url='https://openimagedenoise.github.io'
10 license=('Apache')
11 depends=('intel-tbb')
12 makedepends=('cmake' 'ninja' 'ispc' 'python')
13 source=("https://github.com/OpenImageDenoise/oidn/releases/download/v${pkgver}/oidn-${pkgver}.src.tar.gz")
14 sha512sums=('6fbdf347763c0734140195a523cf0878b1dbd91d4943c9ce4928f6991549f8b3d5ab4d57b90e20a8d04a87d00e3a1554ce73a3a3c1e64fcb016a3c1f8aa07982')
16 build() {
17     cd oidn-$pkgver
19     cmake \
20         -B build \
21         -G Ninja \
22         -DCMAKE_INSTALL_PREFIX=/usr \
23         -DCMAKE_BUILD_TYPE=Release
24     ninja -C build
27 package() {
28     cd oidn-$pkgver
29     DESTDIR="$pkgdir" ninja -C build install