summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 1 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7ee8c910cbd..9a60acc2f1dc 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 ecf8dccf1d46..d681f9ab6818 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}