Date: Tuesday, June 16, 2020 @ 06:29:10 Author: arojas Revision: 389291
Update to 2.5.2 Modified: openexr/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-16 02:34:15 UTC (rev 389290) +++ PKGBUILD 2020-06-16 06:29:10 UTC (rev 389291) @@ -1,7 +1,7 @@ # Maintainer: Tobias Powalowski <[email protected]> pkgname=openexr -pkgver=2.5.1 +pkgver=2.5.2 pkgrel=1 pkgdesc="An high dynamic-range image file format library" url="https://www.openexr.com/" @@ -13,23 +13,19 @@ conflicts=('ilmbase') replaces=('ilmbase') source=($pkgname-$pkgver.tar.gz::"https://github.com/openexr/openexr/archive/v$pkgver.tar.gz") -sha256sums=('11f806bf256453e39fc33bd1cf1fa576a54f144cedcdd3e6935a177e5a89d02e') +sha256sums=('5da8dff448d0c4a529e52c97daf238a461d01cd233944f75095668d6d7528761') build() { - mkdir -p build - - cd build - cmake ../$pkgname-$pkgver \ + cmake -B build -S $pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr - make + cmake --build build } package() { - cd build - make DESTDIR="${pkgdir}" install - install -D -m644 "$srcdir"/$pkgname-$pkgver/LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}" + 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 python3*/imathnumpy.so -t "$pkgdir"/$_pythonpath + install -Dm755 build/python3*/imathnumpy.so -t "$pkgdir"/$_pythonpath }
