summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a83e8670cc3fdc58bcfd51a734c117882703373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Contributor: Tiberius <tican@protonmail.com>
pkgname=mingw-w64-openimagedenoise-bin
pkgver=1.2.4
pkgrel=1
epoch=
pkgdesc="Interl(R) Open Image Denise library"
arch=("x86_64")
url="https://openimagedenoise.github.io"
license=('Apache')
groups=()
depends=("mingw-w64-crt")
makedepends=()
checkdepends=()
optdepends=("mingw-w64-cmake: cmake support")
provides=()
conflicts=()
replaces=()
backup=()
options=('!strip' '!buildflags' 'staticlibs')
install=
changelog=
source=("https://github.com/OpenImageDenoise/oidn/releases/download/v${pkgver}/oidn-${pkgver}.x64.vc14.windows.zip")
md5sums=('460fbaa8e2cbb4d0cc93ccc4bc25f8d7')

noextract=()
validpgpkeys=()

prepare() {
	cd "oidn-${pkgver}.x64.vc14.windows"
}

build() {
	cd "oidn-${pkgver}.x64.vc14.windows"
}

check() {
	cd "oidn-${pkgver}.x64.vc14.windows"
}

package() {
	cd "oidn-${pkgver}.x64.vc14.windows"
	mkdir -p "$pkgdir/usr/x86_64-w64-mingw32/share"
  cp -r bin "$pkgdir/usr/x86_64-w64-mingw32/bin"
  cp -r lib "$pkgdir/usr/x86_64-w64-mingw32/lib"
  cp -r include "$pkgdir/usr/x86_64-w64-mingw32/include"
  cp -r doc "$pkgdir/usr/x86_64-w64-mingw32/share/"
}