# $Id: $ # Maintainer: Jan de Groot pkgname=libvdpau pkgver=0.4.1 pkgrel=2 pkgdesc="NVIDIA VDPAU library" arch=('i686' 'x86_64') url=http://cgit.freedesktop.org/~aplattner/libvdpau depends=('gcc-libs>=4.3.3') conflicts=('nvidia-utils<190.42-2') options=('!libtool' 'force') license=('custom') source=(http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz) makedepends=('libx11') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 } md5sums=('8e1f0639bea4e4a842aee93ab64406cc')