summaryrefslogtreecommitdiff
path: root/community/opencolorio/PKGBUILD
blob: 18bc01a3930e1476e09e6c905bfe2de6e099a5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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: