blob: fe9211178e19b5f6c9763d27aa4be300e736c173 (
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
34
|
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=blender-plugin-edgeflow-git
pkgver=0.5+1.gcdb9436674
pkgrel=1
pkgdesc="Blender tools for working with edgeloops"
url="https://github.com/BenjaminSauder/EdgeFlow"
arch=('any')
license=('GPL3')
depends=('blender' 'python')
makedepends=('git')
provides=('blender-plugin-edgeflow')
conflicts=('blender-plugin-edgeflow')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
_blenderver=$(blender -v | head -n1 | cut -f2 -d ' ' | sed 's/\.0$//')
pkgver() {
git -C "$srcdir/$pkgname" describe --tags --abbrev=10 | sed 's/-/+/; s/-/./'
#echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
# we don't care about those and they're extremely heavy
rm -rf "$srcdir/$pkgname"/docs
}
package() {
install -dm755 "$pkgdir/usr/share/blender/$_blenderver/scripts/addons/edgeflow/"
install -Dm644 "$srcdir/$pkgname"/* "$pkgdir/usr/share/blender/$_blenderver/scripts/addons/edgeflow/"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|