[arch-commits] Commit in openexr/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Apr 23 18:50:28 UTC 2021
Date: Friday, April 23, 2021 @ 18:50:27
Author: arojas
Revision: 413781
Update to 3.0.1
Modified:
openexr/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-23 18:49:56 UTC (rev 413780)
+++ PKGBUILD 2021-04-23 18:50:27 UTC (rev 413781)
@@ -1,19 +1,16 @@
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=openexr
-pkgver=2.5.5
+pkgver=3.0.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' 'python' 'boost' 'freeglut' 'python-numpy' 'chrpath')
-optdepends=('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=('59e98361cb31456a9634378d0f653a2b9554b8900f233450f2396ff495ea76b3')
+depends=(zlib imath)
+makedepends=('cmake')
+source=(https://github.com/openexr/openexr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('6d14a8df938bbbd55dd6e55b24c527fe9323fe6a45f704e56967dfbf477cecc1')
build() {
cmake -B build -S $pkgname-$pkgver \
@@ -22,10 +19,6 @@
}
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
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
}
More information about the arch-commits
mailing list