summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bdf0358e5be2e3c1e4c5bb22b918c1233a72f033 (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
# Maintainer: Rick Stanley <rick {hyphen} stanley {at} outlook[dot] com>

pkgname=webgpu-headers-git
pkgver=r118.64aeb86
pkgrel=1
pkgdesc="WebGPU native header files"
arch=(any)
url="https://github.com/webgpu-native/webgpu-headers/"
license=(BSD)
makedepends=(git)
provides=()
conflicts=()
source=("git+https://github.com/webgpu-native/webgpu-headers.git")
sha256sums=('SKIP')

pkgver() {
  cd webgpu-headers
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd webgpu-headers
  install -D webgpu.h -t "${pkgdir}/usr/include/webgpu"
  install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}