summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d79c3f92036321108c30966efa4e3f9e87f45d61 (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
# Maintainer: Hugo Courtial <hugo [at] courtial [not colon] me>
pkgname=natron-plugins
pkgver=234 
pkgrel=1
arch=("i686" "x86_64")
pkgdesc="Extra OpenFX plugins for Natron"
url="https://github.com/NatronVFX/natron-plugins"
license=("GPL2")
makedepends=("git")
depends=("natron" "python" "python2" "ffmpeg")
source=("$pkgname::git://github.com/NatronVFX/natron-plugins.git")
md5sums=("SKIP")


pkgver() {
  cd "$srcdir/$pkgname"
  git rev-list --count HEAD
}

prepare() {
    cd "$srcdir/$pkgname"
    git submodule update -i --recursive
    #cd "OpenFX"
    #note : patch is only useful for 2.1.2 & lower. should be fixed in next release
    #patch -uNp1 -i $srcdir/GCC6.patch
   
}



package() {
    cd $srcdir/$pkgname/
    mkdir -p "$pkgdir/usr/share/Natron/Plugins"

    cp -r * $pkgdir/usr/share/Natron/Plugins/
}