Date: Tuesday, November 23, 2021 @ 16:08:25 Author: dbermond Revision: 1054478
archrelease: copy trunk to community-staging-x86_64 Added: rkcommon/repos/community-staging-x86_64/ rkcommon/repos/community-staging-x86_64/PKGBUILD (from rev 1054477, rkcommon/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: rkcommon/repos/community-staging-x86_64/PKGBUILD (from rev 1054477, rkcommon/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-23 16:08:25 UTC (rev 1054478) @@ -0,0 +1,30 @@ +# Maintainer: Daniel Bermond <dberm...@archlinux.org> +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +pkgname=rkcommon +pkgver=1.8.0 +pkgrel=2 +pkgdesc="Intel RenderKit common C++/CMake infrastructure" +arch=(x86_64) +url="https://github.com/ospray/rkcommon/" +license=(Apache) +depends=(tbb) +makedepends=(cmake) +source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('f037c15f7049610ef8bca37500b2ab00775af60ebbb9d491ba5fc2e5c04a7794') + +build() { + cmake -B build -S ${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev + make -C build +} + +check() { + make -C build test +} + +package() { + make -C build DESTDIR="${pkgdir}" install +}