summaryrefslogtreecommitdiff
path: root/libre/opencolorio
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-01 04:42:55 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-01 04:42:55 -0200
commit5af0fca430a07bda87310d2ef1a33b6cdb31f732 (patch)
tree62498fa4ffee7f576d79e6f72af9ab87374154f9 /libre/opencolorio
parent66bf3d347c5fca0e5191f8314931b94856c7ea46 (diff)
add opencolorio to the libre repo
Diffstat (limited to 'libre/opencolorio')
-rw-r--r--libre/opencolorio/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/opencolorio/PKGBUILD b/libre/opencolorio/PKGBUILD
new file mode 100644
index 000000000..56d627d8e
--- /dev/null
+++ b/libre/opencolorio/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of Arch pkg
+
+pkgname=opencolorio
+pkgver=1.0.9
+pkgrel=1
+pkgdesc='A color management framework for visual effects and animation (built for the blender-libre package)'
+arch=(
+ mips64el
+ x86_64
+ i686
+)
+url=http://opencolorio.org
+license=BSD
+depends=python
+makedepends=cmake
+source=http://github.com/imageworks/OpenColorIO/tarball/v$pkgver
+sha512sums=a3b33949061d16a0e3648c9206291771b9e7532ce56727fe9d323ca15d88e24baf649657286139e1568d5c3564d2b8258d4c3442b3350245f8d2556dc2f1f5d2
+
+prepare() {
+ mv imageworks-OpenColorIO-* $pkgname-$pkgver
+}
+
+build() {
+ 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: