diff options
author | bartus | 2020-06-28 09:31:32 +0200 |
---|---|---|
committer | bartus | 2020-06-28 09:34:04 +0200 |
commit | dc9f00db3b022809483dcc2155127c0586b2c618 (patch) | |
tree | 5af78fdf86e45b7e6b9207e3798fec151a50666b /PKGBUILD | |
parent | 6158611443968494220768e150e5d69d64cad557 (diff) | |
download | aur-dc9f00db3b022809483dcc2155127c0586b2c618.tar.gz |
Add denoise.patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -14,12 +14,17 @@ license=('GPL') makedepends=(git) conflicts=(blender-plugin-luxcorerender) provides=(blender-plugin-luxcorerender) -source=("${_name}::git+https://github.com/LuxCoreRender/BlendLuxCore.git${_fragment}") -sha256sums=("SKIP") +source=("${_name}::git+https://github.com/LuxCoreRender/BlendLuxCore.git${_fragment}" + "denoise.patch") +sha256sums=('SKIP' + '63103ec3bf77c502a54f6f74cad020a448c9641be90202944c46bda0a1ff8bfe') + +prepare() { + git -C "${_name}" apply -v "${srcdir}/denoise.patch" +} pkgver() { - cd "${srcdir}/${_name}" - git describe --long --tags --match blendluxcore_v* | sed 's/^blendluxcore_v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git -C "${_name}" describe --long --tags --match blendluxcore_v* | sed 's/^blendluxcore_v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { |