# $Id: PKGBUILD 202383 2013-12-21 14:15:26Z bpiotrowski $ # Maintainer : Ionut Biru pkgname=libva-intel-driver pkgver=1.2.2 pkgrel=2 pkgdesc='VA-API implementation for Intel G45 and HD Graphics family' arch=('i686' 'x86_64') url='http://freedesktop.org/wiki/Software/vaapi' license=('MIT') depends=('libva') replaces=('libva-driver-intel') source=("http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2" 'i965_rendering.'patch) sha1sums=('ece479b51926764edd2be6599f9c067cae2a3942' '8a50470546f51c6cc14037c4663259cdb636a54a') build() { cd "${srcdir}/${pkgname}-${pkgver}"; patch -p1 -i "${srcdir}/i965_rendering.patch" ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } # vim:set ts=2 sw=2 et: