summaryrefslogtreecommitdiff
path: root/community/opencolorio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/opencolorio/PKGBUILD')
-rw-r--r--community/opencolorio/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/opencolorio/PKGBUILD b/community/opencolorio/PKGBUILD
new file mode 100644
index 000000000..80b9323e2
--- /dev/null
+++ b/community/opencolorio/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Dumitru Ursu <dima@ceata.org>
+
+pkgname=opencolorio
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="A color management framework for visual effects and animation"
+arch=('i686' 'x86_64')
+url="http://opencolorio.org"
+license=('BSD')
+depends=('python')
+makedepends=('cmake')
+source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver)
+sha1sums=('01befa5c4198254b8848946ba3c85cce9a0f38d4')
+
+build()
+{
+ mv imageworks-OpenColorIO-b3cb224 $pkgname-$pkgver
+ cd $pkgname-$pkgver
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ 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: