diff --git a/imath/.SRCINFO b/imath/.SRCINFO new file mode 100644 index 0000000000..7881f5ac87 --- /dev/null +++ b/imath/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = imath + pkgdesc = A C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics + pkgver = 3.1.12 + pkgrel = 1 + url = https://www.openexr.com/ + arch = x86_64 + arch = powerpc64le + arch = powerpc64 + arch = powerpc + arch = riscv64 + license = BSD-3-Clause + makedepends = boost + makedepends = cmake + makedepends = git + makedepends = python + depends = gcc-libs + depends = glibc + optdepends = boost-libs: python bindings + optdepends = python: python bindings + source = git+https://github.com/AcademySoftwareFoundation/Imath#tag=v3.1.12 + sha256sums = 42b95856f39fd27cb30e26ef0e77ec5ad6b37c83ec9c2571914a7c9f0397daa0 + +pkgname = imath diff --git a/imath/.nvchecker.toml b/imath/.nvchecker.toml new file mode 100644 index 0000000000..71cbd0609e --- /dev/null +++ b/imath/.nvchecker.toml @@ -0,0 +1,6 @@ +[imath] +source = 'github' +github = 'AcademySoftwareFoundation/Imath' +use_max_tag = true +prefix = 'v' +exclude_regex = '.*rc.*' diff --git a/imath/PKGBUILD b/imath/PKGBUILD index c8e69f0bc8..9051f46256 100644 --- a/imath/PKGBUILD +++ b/imath/PKGBUILD @@ -2,8 +2,8 @@ # Maintainer: Antonio Rojas pkgname=imath -pkgver=3.1.11 -pkgrel=2 +pkgver=3.1.12 +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 powerpc64le powerpc64 powerpc riscv64) @@ -14,12 +14,13 @@ optdepends=('boost-libs: python bindings' 'python: python bindings') makedepends=(boost cmake + git python) -source=(https://github.com/AcademySoftwareFoundation/Imath/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063') +source=(git+https://github.com/AcademySoftwareFoundation/Imath#tag=v$pkgver) +sha256sums=('42b95856f39fd27cb30e26ef0e77ec5ad6b37c83ec9c2571914a7c9f0397daa0') build() { - cmake -B build -S Imath-$pkgver \ + cmake -B build -S Imath \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON=ON cmake --build build @@ -27,5 +28,5 @@ build() { package() { DESTDIR="$pkgdir" cmake --install build - install -Dm644 Imath-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname + install -Dm644 Imath/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname }