blob: b71fae3cdaf1967c7e70ae4c8293a3cc81a4c6ba (
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
|
# Maintainer: Guilhem Saurel <saurel@laas.fr>
pkgorg='vsg-dev'
_pkgname=VulkanSceneGraph
pkgname=vulkanscenegraph
pkgver=1.0.9
pkgrel=1
pkgdesc="Vulkan & C++17 based Scene Graph Project"
arch=('i686' 'x86_64')
url="https://github.com/$pkgorg/$_pkgname"
license=('MIT')
makedepends=('cmake' 'vulkan-headers' 'vulkan-icd-loader' 'libxcb')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('9a62be7facc13c391c33dc8356b147a3b86f531ea72a28f6b2c364777e761412')
build() {
cmake -B "build-$pkgver" -S "$_pkgname-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build "build-$pkgver"
}
package() {
DESTDIR="$pkgdir/" cmake --build "build-$pkgver" -t install
}
|