summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2021-02-13 10:37:44 +0100
committerbartus2021-02-13 10:37:44 +0100
commit634dc5e61f5a12f328d83be9d4eedc05e3ef84bc (patch)
treeaff1b0cabeda9496b2c5cfcf8858cefba3b57c51 /PKGBUILD
parentfa12b343c6ea3947fd057d118b0112986208bc49 (diff)
downloadaur-634dc5e61f5a12f328d83be9d4eedc05e3ef84bc.tar.gz
Move blender version to package()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ee8c6af1947..ecf8dccf1d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,6 @@ name=cubesurfer
version=1.0
#fragment="#commit=7e49329 "
files=(__init__.py mciso*.so mciso*.html)
-_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
pkgname=blender-plugin-${name}
pkgver=1.0_r22.1d6d9a6
@@ -35,6 +34,7 @@ build() {
}
package() {
+ _blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
cd ${name}
addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons"
install -dm755 ${addons}/${name}