Date: Saturday, November 28, 2020 @ 00:19:22 Author: svenstaro Revision: 764857
archrelease: copy trunk to community-x86_64 Added: usd/repos/community-x86_64/ usd/repos/community-x86_64/PKGBUILD (from rev 764856, usd/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: usd/repos/community-x86_64/PKGBUILD (from rev 764856, usd/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2020-11-28 00:19:22 UTC (rev 764857) @@ -0,0 +1,34 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: bartus <arch-user-repoᘓbartus.33mail.com> +pkgname=usd +pkgver=20.11 +pkgrel=1 +pkgdesc="3D VFX pipeline interchange file format" +arch=('x86_64') +url="https://graphics.pixar.com/usd/docs/index.html" +license=('Apache') +depends=('boost-libs' 'glew' 'openexr' 'opensubdiv' 'python') +makedepends=('boost' 'cmake' 'intel-tbb' 'ninja') +provides=("usd=${pkgver}") +source=("$pkgname-$pkgver.tar.gz::https://github.com/PixarAnimationStudios/USD/archive/v${pkgver}.tar.gz") +sha256sums=('adbdf451a10a7af201b0fafa44ebc27cc2c3b412d3dbbd90f1a9319abe2e203d') + +build() { + cd USD-${pkgver} + cmake \ + -B build \ + -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPXR_USE_PYTHON_3=ON \ + -DPXR_BUILD_IMAGING=OFF \ + -DPXR_BUILD_TESTS=OFF \ + -DPXR_BUILD_MONOLITHIC=ON + ninja -C build +} + +package() { + cd USD-${pkgver} + DESTDIR="$pkgdir" ninja -C build install +} + +# vim:set ts=2 sw=2 et: