summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2019-08-28 17:44:48 +0200
committerbartus2019-08-28 17:44:48 +0200
commit10d54d24ff5f8ebb308aa59d3ec3c9b3c0ebdd4a (patch)
treedab9ee3407da1429266e55980933d5366d0cb354
parent9a89c744bf8a3284672766a36789d59d173acb8c (diff)
downloadaur-10d54d24ff5f8ebb308aa59d3ec3c9b3c0ebdd4a.tar.gz
Move depends array inside package() function to speed up build.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58fd3ed3cc7..68405884fc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,12 +6,12 @@ pkgbase = blender-plugin-luxcorerender
url = https://luxcorerender.org/
arch = any
license = GPL
- depends = blender
- depends = luxcorerender
conflicts = luxblend25
conflicts = luxblend25-hg
source = https://github.com/LuxCoreRender/BlendLuxCore/archive/blendluxcore_v2.2beta3.tar.gz
sha256sums = 40a4727c2aa20cc610b00a0860ccd735cac39e658c157cb6a57fd630164369e3
pkgname = blender-plugin-luxcorerender
+ depends = blender
+ depends = luxcorerender
diff --git a/PKGBUILD b/PKGBUILD
index f10de5421ca..cf55141be7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,12 +12,12 @@ pkgdesc="LuxCoreRender exporter plugin for Blender"
arch=('any')
url="https://luxcorerender.org/"
license=('GPL')
-depends=(blender luxcorerender)
conflicts=(luxblend25 luxblend25-hg)
source=("https://github.com/LuxCoreRender/BlendLuxCore/archive/blendluxcore_v${_pkgver}.tar.gz")
sha256sums=('40a4727c2aa20cc610b00a0860ccd735cac39e658c157cb6a57fd630164369e3')
package() {
+ depends=(blender luxcorerender)
_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=)')
install -d -m755 ${pkgdir}/usr/share/blender/${_blender}/scripts/addons
cp -a ${srcdir}/BlendLuxCore-blendluxcore_v${_pkgver} ${pkgdir}/usr/share/blender/${_blender}/scripts/addons/${_name}