[arch-commits] Commit in openexr/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Oct 18 18:35:57 UTC 2019
Date: Friday, October 18, 2019 @ 18:35:57
Author: arojas
Revision: 365158
archrelease: copy trunk to staging-x86_64
Added:
openexr/repos/staging-x86_64/
openexr/repos/staging-x86_64/PKGBUILD
(from rev 365157, openexr/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: openexr/repos/staging-x86_64/PKGBUILD (from rev 365157, openexr/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-18 18:35:57 UTC (rev 365158)
@@ -0,0 +1,31 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=openexr
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="An high dynamic-range image file format library"
+url="https://www.openexr.com/"
+arch=('x86_64')
+license=('BSD')
+depends=('zlib')
+makedepends=('cmake' 'fltk' 'python' 'boost' 'freeglut')
+optdepends=('fltk: for exrdisplay' 'boost-libs: python support' 'python: python support')
+conflicts=('ilmbase')
+replaces=('ilmbase')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/openexr/openexr/archive/v$pkgver.tar.gz")
+md5sums=('9e4d69cf2a12c6fb19b98af7c5e0eaee')
+
+build() {
+ mkdir -p build
+
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 "$srcdir"/$pkgname-$pkgver/LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list