mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
38 lines
999 B
Bash
38 lines
999 B
Bash
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - ARM patch from https://github.com/openexr/openexr/issues/29
|
|
|
|
pkgname=ilmbase
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
depends=('gcc-libs')
|
|
pkgdesc="Base libraries from ILM for OpenEXR"
|
|
arch=(i686 x86_64)
|
|
url="http://www.openexr.com"
|
|
license=('custom')
|
|
options=('!libtool')
|
|
source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz
|
|
arm.patch)
|
|
|
|
build() {
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
patch -p1 -i ../arm.patch
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
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"
|
|
}
|
|
md5sums=('70f1413840c2a228783d1332b8b168e6'
|
|
'b652c8106907d867a2f52fe93ac6c5ec')
|