diff options
author | bartus | 2018-07-11 17:25:26 +0200 |
---|---|---|
committer | bartus | 2018-07-11 17:25:26 +0200 |
commit | b8cf39a5a3e0b308f22d397b42c7866f3854c2d5 (patch) | |
tree | 708a2e83fd4ecf87994cf3156f3a5159120b7a40 /PKGBUILD | |
parent | fcd4eea0e8a37627dd655f95682218d2f6c29351 (diff) | |
download | aur-b8cf39a5a3e0b308f22d397b42c7866f3854c2d5.tar.gz |
mail update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,17 +1,19 @@ -# maintained by: bartus szczepaniak <aur@bartus.33mail.com> +# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com> name=surface-follow -fragment="#commit=7e49329 " -files=(SurfaceFollow.py ModelingCloth TextureHack.py UVShape.py) +#fragment="#commit=7e49329 " +files=(ModelingCloth TextureHack.py UVShape.py) +_blender=$(expac %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)') + pkgname=blender-plugin-${name} -pkgver=r17.7e49329 +pkgver=r18.a7e7e18 pkgrel=1 pkgdesc="Blender addon for binding object to deforming surfaces." arch=('any') url="https://blenderartists.org/forum/showthread.php?412706-Surface-Follow-from-2016-Blender-Conference" license=('MIT') depends=('blender') -makedepends=('git') +makedepends=('expac' 'git') source=("${name}::git+https://github.com/the3dadvantage/BlenderSurfaceFollow.git${fragment}") md5sums=('SKIP') @@ -22,7 +24,7 @@ pkgver() { package() { cd ${name} - addons="$pkgdir/usr/share/blender/$(blender -v | head -n1 | cut -f2 -d ' ')/scripts/addons" + addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons" install -dm755 ${addons} for file in ${files[@]} ; do install -m 755 ${file} ${addons}/${file} ; done install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE |