PKGBUILDs/community/opencolorio/PKGBUILD

39 lines
906 B
Bash
Raw Normal View History

2013-05-21 19:26:59 +00:00
# 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
2015-07-25 16:25:59 +00:00
# - use system lcms2 on AArch64
2013-05-21 19:26:59 +00:00
pkgname=opencolorio
2013-12-02 02:20:23 +00:00
pkgver=1.0.9
2015-12-10 05:01:54 +00:00
pkgrel=4
2013-05-21 19:26:59 +00:00
pkgdesc="A color management framework for visual effects and animation"
arch=('i686' 'x86_64')
url="http://opencolorio.org"
license=('BSD')
depends=('python')
2015-07-25 16:25:59 +00:00
depends_aarch64=('lcms2')
2013-05-21 19:26:59 +00:00
makedepends=('cmake')
source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver)
2013-12-02 02:20:23 +00:00
sha1sums=('a015cb51b9b0ea0cdb3989fc23e1c18ad69511e0')
2013-05-21 19:26:59 +00:00
2015-10-25 04:06:40 +00:00
build() {
2013-05-21 19:26:59 +00:00
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: