# Contributor: Nathan Harris
pkgname=vdpauinfo
pkgver=0.0.6
pkgrel=5
pkgdesc="NVIDIA VDPAU capability query utility"
arch=('i686' 'x86_64')
url="url=http://cgit.freedesktop.org/~aplattner/vdpauinfo"
license=('custom')
depends=('libvdpau' 'xorg-server')
makedepends=('gcc' 'autoconf' 'make')
optdepends=(nvidia-utils)
install=()
source=(http://cgit.freedesktop.org/~aplattner/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz)
#md5sums=('d5aff9786b44ac5c70b5dd6faea37a67')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  autoreconf -i || return 1
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -D -m644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgname/license || return 1
}
md5sums=('9f9d387ab981b7a7e4460c70e7bab402')