PKGBUILDs/extra/openexr/PKGBUILD

24 lines
726 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $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
}