summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2022-02-09 15:20:19 +0100
committerbartus2022-02-09 15:20:19 +0100
commitb77d0c1088bef0fad26b7cc9496702fb6efdad32 (patch)
tree3381d430bca1392fdd2ed25d395957f9ac7aa6d5
parent5b80ba35f1cf52691edfbbf63811f55039529dd1 (diff)
downloadaur-blender-plugin-polytrim.tar.gz
Fix blender version request
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1e7b3d65ed..a383f55da68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = blender-plugin-polytrim
pkgdesc = Blender addon for triming and cutting a mesh over geodesic path.
- pkgver = r173.ce4f36b
+ pkgver = r350.1d654b6
pkgrel = 1
url = https://github.com/patmo141/cut_mesh
arch = any
@@ -12,4 +12,3 @@ pkgbase = blender-plugin-polytrim
md5sums = SKIP
pkgname = blender-plugin-polytrim
-
diff --git a/PKGBUILD b/PKGBUILD
index 329d619da8d..1dd5c2c8d30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
name=polytrim
pkgname=blender-plugin-${name}
-pkgver=r173.ce4f36b
+pkgver=r350.1d654b6
pkgrel=1
pkgdesc="Blender addon for triming and cutting a mesh over geodesic path."
arch=('any')
@@ -21,7 +21,7 @@ pkgver() {
}
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 ${srcdir}
addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons"
install -dm755 ${addons}/${name}