blob: f134834f3a154bc92b5ced47b59e0c224ab274ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
name=surface-follow
#fragment="#commit=7e49329 "
files=(ModelingCloth TextureHack.py UVShape.py)
pkgname=blender-plugin-${name}
pkgver=r20.f15a960
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')
source=("${name}::git+https://github.com/the3dadvantage/BlenderSurfaceFollow.git${fragment}")
md5sums=('SKIP')
pkgver() {
cd ${name}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]+\.[[:digit:]]+(?=\.)')
cd ${name}
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
}
# vim:set ts=2 sw=2 et:
|