diff options
Diffstat (limited to 'community/opencolorio/PKGBUILD')
-rw-r--r-- | community/opencolorio/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/opencolorio/PKGBUILD b/community/opencolorio/PKGBUILD new file mode 100644 index 000000000..18bc01a39 --- /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.8 +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=('9b9bac9ed85c84f53775686eb72f3d612b148fef') + +build() +{ + mv imageworks-OpenColorIO-* $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: |