# $Id: PKGBUILD 17474 2008-10-30 16:25:54Z pierre $ # Maintainer: Tobias Powalowski pkgname=openexr pkgver=1.6.1 pkgrel=1 depends=('zlib' 'ilmbase') pkgdesc="openexr library for EXR images" arch=(i686 x86_64 'mips64el') 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 }