[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Tue Mar 16 07:18:08 UTC 2021
Date: Tuesday, March 16, 2021 @ 07:18:08
Author: archange
Revision: 891741
Initial addition of rkcommon to [community]
Dependency for openvkl
Added:
rkcommon/
rkcommon/repos/
rkcommon/trunk/
rkcommon/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: rkcommon/trunk/PKGBUILD
===================================================================
--- rkcommon/trunk/PKGBUILD (rev 0)
+++ rkcommon/trunk/PKGBUILD 2021-03-16 07:18:08 UTC (rev 891741)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=rkcommon
+pkgver=1.6.0
+pkgrel=1
+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=('24d0c9c58a4d2f22075850df170ec5732cfaa0a16f22f90dbd6538232be009b0')
+
+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
+}
More information about the arch-commits
mailing list