# $Id: PKGBUILD 5566 2008-07-18 20:48:52Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-vesa
pkgver=1.3.0
pkgrel=6
pkgdesc="X.org vesa video driver"
arch=(i686 x86_64)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.4.2')
groups=('xorg' 'xorg-video-drivers')
options=('!libtool' 'force')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
	COPYING)
md5sums=('4a307852f3b4850e436a41dab2a73676'
         'e5418e7a75e21268637984e70265e146')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}