summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2022-02-09 15:01:17 +0100
committerbartus2022-02-09 15:01:17 +0100
commitb412ccaaf448b96ae1eed2df7339d4968262ac1c (patch)
treef560ddddf3fd2f35df1638cd6f4a56a09efe38cb /PKGBUILD
parent634dc5e61f5a12f328d83be9d4eedc05e3ef84bc (diff)
downloadaur-blender-plugin-cubesurfer.tar.gz
Fix blender version request
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ecf8dccf1d4..d681f9ab681 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ build() {
}
package() {
- _blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
+ _blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]+\.[[:digit:]]+(?=\.)')
cd ${name}
addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons"
install -dm755 ${addons}/${name}