summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2021-02-13 10:39:33 +0100
committerbartus2021-02-13 10:39:33 +0100
commitf71eb1c6592b6e694070562008eda3601a0174c4 (patch)
treefaa07ed5362f4e613168718307ed3b84133114be
parent5e078a427992c40d0b8e861168338d0f8846f0ff (diff)
downloadaur-f71eb1c6592b6e694070562008eda3601a0174c4.tar.gz
Move blender version to package()
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b74ba2731ce..1394301bc34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,6 @@
name=light-studio
git_name=blender-${name}
git_user_name=leomoon-studios
-_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
pkgname=blender-plugin-${name}-git
pkgver=r150.acbca9f
@@ -24,6 +23,7 @@ pkgver() {
package() {
depends=('blender')
+ _blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
cd ${srcdir}
addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons"
install -dm755 ${addons}/${name}