summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libvdpau/PKGBUILD
blob: 11d46742a2d31277338d7757e69b4ed2f5fc770b (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
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libvdpau
pkgver=0.3
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)
sha1sums=('e32980329c84dbb90e2954e4a38051618f053ef7')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

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