# Description: Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs
# URL: https://glad.dav1d.de/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-jinja2

name=glad
version=2.0.3
release=1
source=(https://github.com/Dav1dde/glad/archive/v$version/$name-$version.tar.gz)

build() {
  cd $name-$version

  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    --skip-build
}
