summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/openexr/PKGBUILD
blob: c71f10b9e74da6b1e540fab644db7dcc1f92b623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 17480 2008-10-30 16:52:29Z pierre $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=openexr
pkgver=1.6.1
pkgrel=1
depends=('zlib' 'ilmbase')
pkgdesc="openexr library for EXR images"
arch=(i686 x86_64)
options=('!libtool')
license=('custom')
source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz" 'gcc43.patch')
url="http://www.openexr.org"
md5sums=('11951f164f9c872b183df75e66de145a' '7c83ee3d69ad688142e7de63cb68e70a')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p1 -i $srcdir/gcc43.patch || return 1
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}