Date: Thursday, April 1, 2021 @ 23:00:08
  Author: arojas
Revision: 411412

archrelease: copy trunk to staging-x86_64

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

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

Copied: imath/repos/staging-x86_64/PKGBUILD (from rev 411411, 
imath/trunk/PKGBUILD)
===================================================================
--- repos/staging-x86_64/PKGBUILD                               (rev 0)
+++ repos/staging-x86_64/PKGBUILD       2021-04-01 23:00:08 UTC (rev 411412)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+
+pkgname=imath
+pkgver=3.0.1
+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=('9cd984bb6b0a9572dd4a373b1fab60bc4c992a52ec5c68328fe0f48f194ba3c0')
+
+build() {
+  cmake -B build -S Imath-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -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