summaryrefslogtreecommitdiff
path: root/extra/libvdpau/PKGBUILD
blob: 0f6c528cc6225683885127ab821149fbdade26ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 198259 2013-10-30 13:46:56Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libvdpau
pkgver=0.7
pkgrel=1
pkgdesc="Nvidia VDPAU library"
arch=(i686 x86_64 mips64el)
url='http://cgit.freedesktop.org/~aplattner/libvdpau'
depends=('gcc-libs' 'libxext')
conflicts=('nvidia-utils<190.42-2')
license=('custom')
source=(http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz)
makedepends=('dri2proto')
sha256sums=('24dc08467ce8c59d6cfbf0d34d2dd1f86b4ff62e90777e0a8f513c5c9de9bce0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}