🔒 Repository is read-only – file editing is disabled.

recipes/utils/glad/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: glad
pkgver: '2.0.8'
pkgrel: '4'
pkgdesc: 'Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator'
url: 'https://glad.dav1d.de'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- python
- 'python-jinja'
- 'python-build'
- 'python-installer'

source:
- 'https://github.com/Dav1dde/glad/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

    python -m build --wheel --no-isolation

    python -m installer --destdir="$pkgdir" dist/*.whl

  install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true