[arch-commits] Commit in openvkl/repos (community-x86_64 community-x86_64/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Mar 16 08:11:34 UTC 2021
Date: Tuesday, March 16, 2021 @ 08:11:34
Author: archange
Revision: 891744
archrelease: copy trunk to community-x86_64
Added:
openvkl/repos/community-x86_64/
openvkl/repos/community-x86_64/PKGBUILD
(from rev 891743, openvkl/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: openvkl/repos/community-x86_64/PKGBUILD (from rev 891743, openvkl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-03-16 08:11:34 UTC (rev 891744)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=openvkl
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="IntelĀ® Open Volume Kernel Library"
+arch=(x86_64)
+url="https://www.openvkl.org/"
+license=(Apache)
+depends=(embree ispc glfw libglvnd openexr openvdb rkcommon tbb zlib)
+makedepends=(boost cmake)
+source=(https://github.com/openvkl/openvkl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('130e7cbc20319c3af2fc11b7579ef2a756315170db43ae81de1aa9b43529a9a2')
+
+build() {
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DOpenVDB_ROOT=/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