PKGBUILDs/community/opencolorio/PKGBUILD
2017-01-06 13:36:47 +00:00

38 lines
906 B
Bash

# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Dumitru Ursu <dima@ceata.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - turn off using sse, x86 only
# - use system lcms2 on AArch64
pkgname=opencolorio
pkgver=1.0.9
pkgrel=5
pkgdesc="A color management framework for visual effects and animation"
arch=('i686' 'x86_64')
url="http://opencolorio.org"
license=('BSD')
depends=('python')
depends_aarch64=('lcms2')
makedepends=('cmake')
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_USE_SSE=off .
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: