# Maintainer: Natanael Copa pkgname=libxv pkgver=1.0.8 pkgrel=0 pkgdesc="X11 Video extension library" url="http://xorg.freedesktop.org/" arch="all" license="custom" subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="xproto videoproto libx11-dev libxext-dev" makedepends="$depends_dev" source="http://xorg.freedesktop.org/releases/individual/lib/libXv-$pkgver.tar.bz2 " _builddir="$srcdir"/libXv-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="224dadca53d9c88f8a2b8945babcea70 libXv-1.0.8.tar.bz2" sha256sums="4f00eb5347390909cea4e53a69425839d2a6a44e0e0613321d59e7e4aeaf73d7 libXv-1.0.8.tar.bz2" sha512sums="610866deaa7fdb3e10a2d5071fe79987e74320b18604e957e5a4d45e3716a3f9e31b44e42fd10c70cbf0ed8629f4d3e8699a1958e80779f8c1b991aece5cc864 libXv-1.0.8.tar.bz2"