summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2022-02-09 15:01:17 +0100
committerbartus2022-02-09 15:01:17 +0100
commitb412ccaaf448b96ae1eed2df7339d4968262ac1c (patch)
treef560ddddf3fd2f35df1638cd6f4a56a09efe38cb
parent634dc5e61f5a12f328d83be9d4eedc05e3ef84bc (diff)
downloadaur-blender-plugin-cubesurfer.tar.gz
Fix blender version request
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 1 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7ee8c910cb..9a60acc2f1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,4 +13,3 @@ pkgbase = blender-plugin-cubesurfer
md5sums = SKIP
pkgname = blender-plugin-cubesurfer
-
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}