summaryrefslogtreecommitdiffstats
path: root/abs/core/openexr/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:48:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:48:02 (GMT)
commit9a94627cd98a34f36f7dc200768841a81039afda (patch)
tree3118cffd8c22205eb1b31387a630a305da277d5e /abs/core/openexr/PKGBUILD
parentd8b184861c06ae009bb0351ab0d5dba1a36b8e42 (diff)
downloadlinhes_pkgbuild-9a94627cd98a34f36f7dc200768841a81039afda.zip
linhes_pkgbuild-9a94627cd98a34f36f7dc200768841a81039afda.tar.gz
linhes_pkgbuild-9a94627cd98a34f36f7dc200768841a81039afda.tar.bz2
openexr 1.7.0
Diffstat (limited to 'abs/core/openexr/PKGBUILD')
-rw-r--r--abs/core/openexr/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/abs/core/openexr/PKGBUILD b/abs/core/openexr/PKGBUILD
index c71f10b..6c55b9b 100644
--- a/abs/core/openexr/PKGBUILD
+++ b/abs/core/openexr/PKGBUILD
@@ -1,23 +1,29 @@
-# $Id: PKGBUILD 17480 2008-10-30 16:52:29Z pierre $
+# $Id: PKGBUILD 149571 2012-02-08 14:46:39Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=openexr
-pkgver=1.6.1
-pkgrel=1
+pkgver=1.7.0
+pkgrel=2
+pkgdesc="An high dynamic-range image file format library"
+url="http://www.openexr.com/"
+arch=('i686' 'x86_64')
+license=('BSD')
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')
+source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'gcc43.patch')
+md5sums=('27113284f7d26a58f853c346e0851d7a'
+ 'd91fae759053a70bcedcf02eb33ca4a2')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -p1 -i $srcdir/gcc43.patch || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 -i ${srcdir}/gcc43.patch
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}