Date: Tuesday, March 7, 2023 @ 08:15:15
  Author: arojas
Revision: 470352

archrelease: copy trunk to staging-x86_64

Added:
  imath/repos/staging-x86_64/
  imath/repos/staging-x86_64/PKGBUILD
    (from rev 470351, imath/trunk/PKGBUILD)

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

Copied: imath/repos/staging-x86_64/PKGBUILD (from rev 470351, 
imath/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-03-07 08:15:15 UTC (rev 470352)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=imath
+pkgver=3.1.7
+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=('bff1fa140f4af0e7f02c6cb78d41b9a7d5508e6bcdfda3a583e35460eb6d4b47')
+
+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
+}

Reply via email to