summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f6d0aa71a22b44d198565b359ace2f84f02d39f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Howetuft <howetuft@gmail.com>
# Contributor:

pkgname=ospray-studio
pkgver=0.6.0
pkgrel=1
pkgdesc="A visualization application that leverages Intel OSPRay as its core rendering engine"
arch=(x86_64)
url="https://www.ospray.org/"
license=(Apache)
depends=('glfw' 'ospray' 'openimagedenoise' 'openimageio' 'openexr')
makedepends=(cmake)
source=("https://github.com/ospray/ospray_studio/archive/v${pkgver}.tar.gz")
sha256sums=('3c97c276d09e8c73b0a03356946248e97f39fda4e09abc057a47654492133fe7')
provides=('ospray-studio=0.6.0')

prepare() {
    mkdir -p build
}

build() {
    cd build
    cmake ../ospray_studio-${pkgver} \
        -DCMAKE_INSTALL_PREFIX='/usr' \
        -Wno-dev
    cmake --build .
}

package() {
    cd build
    make DESTDIR="${pkgdir}" install
}