PKGBUILDs/extra/libxvmc/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
775 B
Bash

# $Id: PKGBUILD 35663 2009-04-15 02:13:20Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxvmc
pkgver=1.0.4
pkgrel=2
pkgdesc="X11 Video Motion Compensation extension library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxv>=1.0.3')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.bz2 LICENSE)
md5sums=('b54600573daf9d1a29b952e8d35b389e' 'ca9d908b0fa487a213802ff38336259d')
build() {
cd ${srcdir}/libXvMC-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}