diff options
author | Hugo Courtial | 2016-08-21 19:58:31 +0200 |
---|---|---|
committer | Hugo Courtial | 2016-08-21 19:58:31 +0200 |
commit | e9139c4061ca5374ef1ce4fe5c947634aaa4ed50 (patch) | |
tree | 6f0aed946abe1d5d401e583262458b812ad842af /PKGBUILD | |
download | aur-e9139c4061ca5374ef1ce4fe5c947634aaa4ed50.tar.gz |
First version of the package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b788aee4dd2b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Hugo Courtial <hugo [at] courtial [not colon] me> +pkgname=openfx-misc +pkgver=2.1.2 +pkgrel=1 +arch=("i686" "x86_64") +pkgdesc="Miscellaneous OpenFX plugins" +url="https://github.com/devernay/openfx-misc/tree/Natron-$pkgver" +license=("GPL2") +depends=("libgl" "gcc-libs-multilib") +source=("$pkgname::git://github.com/devernay/openfx-misc.git#tag=Natron-$pkgver" "GCC6.patch") +md5sums=("SKIP" "8da02f30c37861eaaac9245ff4cb005b") +_bits=32 ; [[ "$CARCH" = 'x86_64' ]] && _bits=64 + +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 +} + +build() { + cd "$srcdir/$pkgname" + make CONFIG=release BITS=$_bits +} + +package() { + cd "$srcdir/$pkgname" + mkdir -p "$pkgdir/usr/OFX/Plugins" + make install PLUGINPATH=$pkgdir/usr/OFX/Plugins CONFIG=release BITS=$_bits +} |