# Maintainer: Daniel Sabogal pkgname=glfw pkgver=3.3.8 pkgrel=1 pkgdesc="Multi-platform library for OpenGL and Vulkan application development" url="https://www.glfw.org/" arch="all" license="Zlib" depends_dev="libxinerama-dev linux-headers mesa-dev" makedepends="$depends_dev cmake samurai libx11-dev libxcursor-dev libxrandr-dev libxi-dev" subpackages="$pkgname-dev" source="https://github.com/glfw/glfw/releases/download/$pkgver/glfw-$pkgver.zip" build() { cmake -G Ninja -B build \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 62baab460f22724ed2c63cf71475377f19c0cd086f4e64d46bdd4c8c38035917c7f66c71d27837ba5159ca323a900a6cfa2693e8b06091e73be838a509b278a1 glfw-3.3.8.zip "