makedepends=(python-jinja2 python-lxml python-setuptools python-wheel)

description="Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs"
url="https://github.com/Dav1dde/glad"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=glad
_name=glad
version=2.0.8
release=2

source=(https://github.com/Dav1dde/glad/archive/refs/tags/v$version/glad-$version.tar.gz)

# build=pip3

build() {
  cd ${_name}-$version

  pip3 install wheel

  pip3 wheel -w dist \
    --no-cache-dir \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir \
    --no-user \
    --root=$PKG \
    --find-links dist \
    glad2 
}
