# $Id: PKGBUILD 88548 2010-08-24 08:33:41Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-voodoo
pkgver=1.2.4
pkgrel=2
pkgdesc="X.org 3dfx Voodoo1/Voodoo2 2D video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('xorg-server-devel' 'xf86dgaproto')
conflicts=('xorg-server<1.9.0')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('7ecd232cc0b7fe507e18e08799791eefa9fdaf48')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}