diff options
author | bartus | 2021-06-24 08:13:32 +0200 |
---|---|---|
committer | bartus | 2021-06-24 08:13:32 +0200 |
commit | 2ad94f6222f629aff7cb160171f67244af119fb6 (patch) | |
tree | ac4721d1b124d391df89db221a2fdf508e386715 | |
parent | 2f9dfa4a334283ab2c6d5edd7658776af17d6fe2 (diff) | |
download | aur-2ad94f6222f629aff7cb160171f67244af119fb6.tar.gz |
Refactor, update Maintainer tag
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,4 +1,5 @@ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +#!/bin/hint/bash +# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com> pkgname=openexr2 pkgver=2.5.5 @@ -23,17 +24,18 @@ build() { package() { DESTDIR="${pkgdir}" cmake --install build - install -D -m644 ${pkgname%2}-$pkgver/LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vD -m644 ${pkgname%2}-$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" + install -vDm755 build/python3*/imathnumpy.so -t "$pkgdir/$_pythonpath" patchelf --set-rpath "" "${pkgdir}/$_pythonpath"/imathnumpy.so # Install optional python2 module compgen -G "build/python2*/imathnumpy.so" && { _python2path=$(python2 -c "from sysconfig import get_path; print(get_path('platlib'))") - install -Dm755 build/python2*/imathnumpy.so -t "$pkgdir/$_python2path" + install -vDm755 build/python2*/imathnumpy.so -t "$pkgdir/$_python2path" patchelf --set-rpath "" "${pkgdir}/$_python2path"/imathnumpy.so - } + } || : } +# vim:set sw=2 ts=2 et: |