[arch-commits] Commit in openexr/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Oct 18 22:38:26 UTC 2019
Date: Friday, October 18, 2019 @ 22:38:25
Author: arojas
Revision: 365171
archrelease: copy trunk to staging-x86_64
Added:
openexr/repos/staging-x86_64/PKGBUILD
(from rev 365170, openexr/trunk/PKGBUILD)
Deleted:
openexr/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 35 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-18 22:34:16 UTC (rev 365170)
+++ PKGBUILD 2019-10-18 22:38:25 UTC (rev 365171)
@@ -1,31 +0,0 @@
-# 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}"
-}
Copied: openexr/repos/staging-x86_64/PKGBUILD (from rev 365170, openexr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-18 22:38:25 UTC (rev 365171)
@@ -0,0 +1,35 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=openexr
+pkgver=2.4.0
+pkgrel=2
+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}"
+
+# Fix pc include path
+ sed -e 's|=include|=${prefix}/include|g' -e 's|=lib|=${prefix}/lib|g' \
+ -i "$pkgdir"/usr/lib/pkgconfig/OpenEXR.pc -i "$pkgdir"/usr/lib/pkgconfig/IlmBase.pc
+}
More information about the arch-commits
mailing list