core/openexr/PKGBUILD

44 lines
1.4 KiB
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=openexr
2018-01-22 07:42:57 +08:00
pkgver=2.2.1
2010-03-14 23:48:48 +08:00
pkgrel=1
depends=('zlib' 'ilmbase')
pkgdesc="openexr library for EXR images"
2018-01-22 07:42:57 +08:00
arch=(x86_64)
2010-03-14 23:48:48 +08:00
license=('custom')
2018-01-22 07:42:57 +08:00
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
openexr-2.2.0-fix-config.h-collision.patch
openexr-2.2.0-fix-cpuid-on-abi_x86_32.patch
openexr-2.2.0-Fix-typo-in-C-bindings.patch
openexr-2.2.0-Install-missing-header-files.patch
openexr-2.2.0-use-ull-for-64-bit-literals.patch)
md5sums=('421815c32989e1b98fc4798ee754c433'
'37666d158c16dd6338f4b8b4138ff73e'
'3916b771857e3f4a959b631eb8504bf3'
'fb9a58317e4b3b4ab298c99bf4a42ea6'
'833f23eb1677b0f1f367f9d694fb278d'
'52226f57047312531a02d2c7834b762d')
2010-03-14 23:48:48 +08:00
url="http://www.openexr.org"
2018-01-22 07:42:57 +08:00
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i ../openexr-2.2.0-fix-config.h-collision.patch
patch -Np1 -i ../openexr-2.2.0-fix-cpuid-on-abi_x86_32.patch
patch -Np1 -i ../openexr-2.2.0-Fix-typo-in-C-bindings.patch
patch -Np1 -i ../openexr-2.2.0-Install-missing-header-files.patch
patch -Np1 -i ../openexr-2.2.0-use-ull-for-64-bit-literals.patch
}
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2010-03-14 23:48:48 +08:00
}
2013-11-06 18:28:12 +08:00