[arch-commits] Commit in imath/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jan 21 20:42:51 UTC 2022


    Date: Friday, January 21, 2022 @ 20:42:51
  Author: arojas
Revision: 434886

archrelease: copy trunk to testing-x86_64

Added:
  imath/repos/testing-x86_64/
  imath/repos/testing-x86_64/PKGBUILD
    (from rev 434885, imath/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: imath/repos/testing-x86_64/PKGBUILD (from rev 434885, imath/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-01-21 20:42:51 UTC (rev 434886)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=imath
+pkgver=3.1.4
+pkgrel=1
+pkgdesc='A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics'
+url='https://www.openexr.com/'
+arch=(x86_64)
+license=(BSD)
+depends=(gcc-libs)
+optdepends=('python: python bindings' 'boost-libs: python bindings')
+makedepends=(cmake python boost)
+source=(https://github.com/AcademySoftwareFoundation/Imath/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('fcca5fbb37d375a252bacd8a29935569bdc28b888f01ef1d9299ca0c9e87c17a')
+
+build() {
+  cmake -B build -S Imath-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 Imath-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list