summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7aa6c8fdcd24de1e2bf6caf3ee824613410cd25 (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
# Maintainer: iamawacko <iamawacko@protonmail.com>

pkgname=openspace
pkgver=0.20.0
pkgrel=1
pkgdesc="OpenSpace is an open source, non-commercial, and freely available interactive data visualization software designed to visualize the entire known universe and portray our ongoing efforts to investigate the cosmos"
arch=('x86_64')
url="https://github.com/OpenSpace/OpenSpace"
license=('MIT')
makedepends=('glm' 'websocketpp')
depends=()
source=("${pkgname}_${pkgver}.tar.gz::https://github.com/OpenSpace/OpenSpace/archive/refs/tags/releases/v${pkgver}.tar.gz"
	"ghoul.tar.gz::https://github.com/OpenSpace/Ghoul/archive/refs/tags/v0.25.0.tar.gz")
sha256sums=('45637fc5284d0462a360ecd7159b8b18cc2cda141d168b40e3ba423ba10dd219'
            'b9f7845fb36fe3fda28eafa5117ca86b341c5a70946dfba1b1802aa622a402d5')


build() {
    cd "${srcdir}/Ghoul-0.25.0/"
    cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ./
    make

    cd "${srcdir}/OpenSpace-releases-v${pkgver}"
    cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ./
    make
}

package() {
    cd "${srcdir}/OpenSpace-releases-v${pkgver}"
    DESTDIR="$pkgdir" cmake -P cmake_install.cmake --install build
}