[arch-commits] Commit in openexr/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jun 16 06:29:24 UTC 2020


    Date: Tuesday, June 16, 2020 @ 06:29:22
  Author: arojas
Revision: 389292

archrelease: copy trunk to extra-x86_64

Added:
  openexr/repos/extra-x86_64/PKGBUILD
    (from rev 389291, openexr/trunk/PKGBUILD)
Deleted:
  openexr/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 31 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-16 06:29:10 UTC (rev 389291)
+++ PKGBUILD	2020-06-16 06:29:22 UTC (rev 389292)
@@ -1,35 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=openexr
-pkgver=2.5.1
-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' 'python-numpy' 'chrpath')
-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")
-sha256sums=('11f806bf256453e39fc33bd1cf1fa576a54f144cedcdd3e6935a177e5a89d02e')
-
-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}"
-
-# Install missing python module
-  _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
-  install -Dm755 python3*/imathnumpy.so -t "$pkgdir"/$_pythonpath 
-}

Copied: openexr/repos/extra-x86_64/PKGBUILD (from rev 389291, openexr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-16 06:29:22 UTC (rev 389292)
@@ -0,0 +1,31 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=openexr
+pkgver=2.5.2
+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' 'python-numpy' 'chrpath')
+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")
+sha256sums=('5da8dff448d0c4a529e52c97daf238a461d01cd233944f75095668d6d7528761')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+  install -D -m644 $pkgname-$pkgver/LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+# Install missing python module
+  _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+  install -Dm755 build/python3*/imathnumpy.so -t "$pkgdir"/$_pythonpath 
+}



More information about the arch-commits mailing list