summaryrefslogtreecommitdiff
path: root/libre/openexr/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-12-07 23:29:55 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2020-12-09 04:57:52 -0500
commit0fc81b44f44a9d3bd812b91f37484ffb0b259781 (patch)
tree87dfd5823edc3b6c3c2006ba1b9ba39fcc7d885a /libre/openexr/PKGBUILD
parentcecb71fa70fc98a266f065fffff274081cc09223 (diff)
downloadabslibre-0fc81b44f44a9d3bd812b91f37484ffb0b259781.tar.gz
abslibre-0fc81b44f44a9d3bd812b91f37484ffb0b259781.tar.bz2
abslibre-0fc81b44f44a9d3bd812b91f37484ffb0b259781.zip
[openexr]: upgrade to v2.5.3
Diffstat (limited to 'libre/openexr/PKGBUILD')
-rw-r--r--libre/openexr/PKGBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/libre/openexr/PKGBUILD b/libre/openexr/PKGBUILD
index 9fecd883c..befdbbb4f 100644
--- a/libre/openexr/PKGBUILD
+++ b/libre/openexr/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: grizzlyuser <grizzlyuser@protonmail.com>
+
# parabola changes and rationale
# * removed documentation with embedded non-free fonts
pkgname=openexr
-pkgver=2.5.1
-pkgrel=1
+pkgver=2.5.3
+pkgrel=4
pkgrel+=.parabola1
pkgdesc="An high dynamic-range image file format library"
pkgdesc+=", without embedded nonfree fonts in the documentation"
@@ -26,7 +27,7 @@ replaces=('ilmbase')
options=(!debug)
source=($pkgname-$pkgver.tar.gz::"https://github.com/openexr/openexr/archive/v$pkgver.tar.gz"
install-odt-docs-not-pdf.patch)
-sha256sums=('11f806bf256453e39fc33bd1cf1fa576a54f144cedcdd3e6935a177e5a89d02e'
+sha256sums=('6a6525e6e3907715c6a55887716d7e42d09b54d2457323fcee35a0376960bebf'
'fd0cc640265605b6a25db3dd901641be3adebfa2b748e6b559cffcba1e5ceb94')
prepare() {
@@ -38,20 +39,16 @@ prepare() {
}
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
}