# $Id: PKGBUILD 11420 2008-08-31 15:22:15Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-cirrus
pkgver=1.2.1
pkgrel=2
pkgdesc="X.org Cirrus Logic video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.4.99.906')
conflicts=('xorg-server<1.4.99.906')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
md5sums=('bc28fdedaee9059180e2534f9dbcd2f6')

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