diff options
Diffstat (limited to 'libre/opencolorio-parabola/PKGBUILD')
-rw-r--r-- | libre/opencolorio-parabola/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/opencolorio-parabola/PKGBUILD b/libre/opencolorio-parabola/PKGBUILD new file mode 100644 index 000000000..936278246 --- /dev/null +++ b/libre/opencolorio-parabola/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor (Arch): Dumitru Ursu <dima@ceata.org> +# Maintainer: Márcio Silva <coadde@parabola.nu> + +_pkgname=opencolorio +pkgname=$_pkgname-parabola +pkgver=1.0.9 +pkgrel=5.1 +pkgdesc='A color management framework for visual effects and animation (built for the blender-parabola package)' +arch=('i686' 'x86_64' 'mips64el') +url="http://$pkgname.org" +license=('BSD') +depends=('freeglut' 'glew' 'lcms2' 'openimageio' python') +makedepends=('cmake') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("$_pkgname") +source=("http://github.com/imageworks/OpenColorIO/tarball/v$pkgver") +sha1sums=('a015cb51b9b0ea0cdb3989fc23e1c18ad69511e0') + +build() { + mv imageworks-OpenColorIO-* $_pkgname-$pkgver + cd $_pkgname-$pkgver + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DOCIO_BUILD_DOCS=OFF -DOCIO_PYGLUE_SONAME=ON + make +} + +package() { + cd $_pkgname-$pkgver + + make DESTDIR=$pkgdir install + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: |