summaryrefslogtreecommitdiff
path: root/extra/ilmbase/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ilmbase/PKGBUILD')
-rw-r--r--extra/ilmbase/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD
index b4fb11cd2..15d8c2f54 100644
--- a/extra/ilmbase/PKGBUILD
+++ b/extra/ilmbase/PKGBUILD
@@ -2,34 +2,34 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=ilmbase
-pkgver=1.0.2
-pkgrel=1.1
+pkgver=1.0.3
+pkgrel=1
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
arch=(i686 x86_64 mips64el)
+url="http://www.openexr.com"
license=('custom')
options=('!libtool')
-source=(http://savannah.nongnu.org/download/openexr/$pkgname-$pkgver.tar.gz
- tests-compile-fixes.patch)
-url="http://www.openexr.com"
-md5sums=('26c133ee8ca48e1196fbfb3ffe292ab4'
- '2687ab9ac01b417ee5cf8c0174b72e43')
+source=(https://github.com/downloads/openexr/openexr/$pkgname-$pkgver.tar.gz
+ ilmbase-IexMath.patch)
+md5sums=('d99962ec7e2bfac0647aaabf6b91d5de'
+ '9c8efaf15f60bccf79749ec879657962')
build() {
- cd ${srcdir}/$pkgname-$pkgver
- patch -Np1 -i ${srcdir}/tests-compile-fixes.patch
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p0 -i "${srcdir}/ilmbase-IexMath.patch"
./configure --prefix=/usr
make
}
check() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
# one of the tests fails randomly for an unknown reason
make check || true
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}