diff options
-rw-r--r-- | libre/opencolorio/PKGBUILD | 36 |
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: |