summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2020-06-28 09:31:32 +0200
committerbartus2020-06-28 09:34:04 +0200
commitdc9f00db3b022809483dcc2155127c0586b2c618 (patch)
tree5af78fdf86e45b7e6b9207e3798fec151a50666b /PKGBUILD
parent6158611443968494220768e150e5d69d64cad557 (diff)
downloadaur-dc9f00db3b022809483dcc2155127c0586b2c618.tar.gz
Add denoise.patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 23295bf4ff3..d8cb789087f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {