blob: ee6a4177f0efe41b16ddd900ac5718aa34258cfa (
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
|
# Maintainer: Chris Zhang <develop@zcy.moe>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=shader-slang-bin
pkgver=2024.17
pkgrel=1
pkgdesc='Shading language that makes it easier to build and maintain large shader codebases in a modular and extensible fashion'
url='https://github.com/shader-slang/slang'
arch=('x86_64')
license=('MIT')
source=("$url/releases/download/v$pkgver/slang-$pkgver-linux-$CARCH.tar.gz")
sha256sums=('cc09b8fd546679914ec1b34983caadf5aa3d648a0ce8c37742c2617d9f0ade4a')
depends=(glslang)
conflicts=(shader-slang shader-slang-git)
provides=(shader-slang)
package() {
mkdir -p $pkgdir/opt/shader-slang-bin/{bin,lib,include/shader-slang,share/{,licenses/}shader-slang}
mv bin/{slangc,slangd,gfx.slang,slang.slang} $pkgdir/opt/shader-slang-bin/bin/
mv lib/*.so $pkgdir/opt/shader-slang-bin/lib/
mv include/*.h $pkgdir/opt/shader-slang-bin/include/shader-slang/
mv share/doc $pkgdir/opt/shader-slang-bin/share/shader-slang/doc
mv LICENSE $pkgdir/opt/shader-slang-bin/share/licenses/shader-slang/
}
|