archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libvdpau / repos / extra-x86_64 / PKGBUILD
blob02ffd0119702d66bf1046c0a64d33b5ec226487e
1 # Maintainer:
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libvdpau
5 pkgver=1.5
6 pkgrel=1
7 pkgdesc="Nvidia VDPAU library"
8 arch=(x86_64)
9 url='https://www.freedesktop.org/wiki/Software/VDPAU/'
10 depends=('libxext')
11 license=('custom')
12 source=(https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
13 makedepends=('xorgproto' 'meson')
14 sha256sums=('66490802f30426d30ff9e8af35263bbbbaa23b52d0a2d797d06959c3d19638fd')
16 build() {
17   arch-meson $pkgname-$pkgver build
18   ninja -C build
21 check() {
22   ninja -C build test
25 package() {
26   DESTDIR="${pkgdir}" ninja -C build install
27   install -Dm 644 $pkgname-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"