diff options
author | bartus | 2018-05-21 13:53:51 +0200 |
---|---|---|
committer | bartus | 2018-05-21 13:53:51 +0200 |
commit | 816949886af24e1b57f4a24cc2323c7c95dc627c (patch) | |
tree | 221607c16eafaf16163b785bb0b8427a64637d70 | |
parent | 685b216858e912dd170453e0d9eb8b6746f52fb8 (diff) | |
download | aur-816949886af24e1b57f4a24cc2323c7c95dc627c.tar.gz |
use expac
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,10 +1,11 @@ pkgbase = blender-plugin-multiedit pkgdesc = Blender addon for editing multiple meshes at once. - pkgver = r11.25ab77b + pkgver = r12.a68a7ce pkgrel = 1 url = https://blenderartists.org/forum/showthread.php?339369-MultiEdit-version-1-0-Multiple-Objects-Editing arch = any license = GPL + makedepends = expac makedepends = git depends = blender source = multiedit::git+https://github.com/antoni4040/MultiEdit-Addon.git @@ -2,15 +2,17 @@ name=multiedit files=(MultiEdit_1_0.py) +_blender=$(expac %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)') + pkgname=blender-plugin-${name} -pkgver=r11.25ab77b +pkgver=r12.a68a7ce pkgrel=1 pkgdesc="Blender addon for editing multiple meshes at once." arch=('any') url="https://blenderartists.org/forum/showthread.php?339369-MultiEdit-version-1-0-Multiple-Objects-Editing" license=('GPL') depends=('blender') -makedepends=('git') +makedepends=(expac 'git') source=("${name}::git+https://github.com/antoni4040/MultiEdit-Addon.git") md5sums=('SKIP') @@ -21,7 +23,7 @@ pkgver() { package() { cd ${srcdir}/${name} - addons="$pkgdir/usr/share/blender/$(blender -v | head -n1 | cut -f2 -d ' ')/scripts/addons" + addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons" for file in ${files} do msg "install -D -m 644 -t ${addons} ${file}" |