pkgname=libvdpau pkgver=1.5 pkgrel=1 pkgdesc="Nvidia VDPAU library" arch=('x86_64') url="https://www.freedesktop.org/wiki/Software/VDPAU/" license=('MIT') depends=('glibc' 'libx11' 'libxext') makedepends=('meson' 'xorgproto') source=(https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(a5d50a42b8c288febc07151ab643ac8de06a18446965c7241f89b4e810821913) build() { cd ${pkgname}-${pkgver} local meson_args=( ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }