summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2021-02-13 10:38:28 +0100
committerbartus2021-02-13 10:38:28 +0100
commit5b80ba35f1cf52691edfbbf63811f55039529dd1 (patch)
tree645d97ebd0df2759e1beea7459005ef4c53d1af1
parent0bb0dae44379d45e6fe067891f6718f4a2aa248c (diff)
downloadaur-5b80ba35f1cf52691edfbbf63811f55039529dd1.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 70a3579c3e8..329d619da8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
name=polytrim
-_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
pkgname=blender-plugin-${name}
pkgver=r173.ce4f36b
@@ -22,6 +21,7 @@ pkgver() {
}
package() {
+ _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}