# $Id: PKGBUILD 55267 2009-10-12 16:19:29Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxv
pkgver=1.0.5
pkgrel=1
pkgdesc="X11 Video extension library"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'videoproto')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXv-${pkgver}.tar.bz2)
md5sums=('1d97798b1d8bbf8d9085e1b223a0738f')

build() {
  cd ${startdir}/src/libXv-${pkgver}
  ./configure --prefix=/usr --disable-static 
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  install -D -m644 ${startdir}/src/libXv-${pkgver}/COPYING \
                   ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}