pkgname=libdrm pkgver=2.4.124 pkgrel=1 pkgdesc="Userspace interface to kernel DRM services" arch=('x86_64') url="https://dri.freedesktop.org/" license=('MIT') depends=('libpciaccess' 'glibc') makedepends=('meson') source=(https://dri.freedesktop.org/${pkgname}/${pkgname}-${pkgver}.tar.xz) sha256sums=(ac36293f61ca4aafaf4b16a2a7afff312aa4f5c37c9fbd797de9e3c0863ca379) build() { cd ${pkgname}-${pkgver} local meson_args=( -Dudev=true -Dvalgrind=disabled ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }