summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7850233faed270b289ad9896f8233da22aeef77f (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
35
36
37
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
pkgname=blender-plugin-animation-nodes
name=animation_nodes
pkgver=2.0
pkgrel=4
pkgdesc="Node based visual scripting system designed for motion graphics in Blender."
arch=(i686 x86_64)
url="https://github.com/JacquesLucke/animation_nodes"
license=('GPL')
depends=(python-numpy)
makedepends=(cython)
source=("https://github.com/JacquesLucke/animation_nodes/archive/v2.0.tar.gz"
        "fix-colision-with-git-package.patch"
        )
md5sums=('a5e8d144323c4302b2dab8dca1b61b7d'
         '804b017e42a6ec149f4a63d9b0b82030')

prepare() {
  cd ${srcdir}/${name}-${pkgver}
  #patch -Np1 -i ${srcdir}/fix-colision-with-git-package.patch
}

build() {
  cd ${srcdir}/${name}-${pkgver}
  python setup.py --nocopy --noversioncheck
}

package() {
  depends+=(blender)
  cd ${srcdir}
  addons="$pkgdir/usr/share/blender/${_blender}/scripts/addons"
  install -dm755 ${addons}/${name}
  cp -a -t ${addons}/${name} ${name}-${pkgver}/${name}/*
}

# vim:set sw=2 ts=2 et: