# $Id: PKGBUILD 48792 2009-08-03 21:02:03Z jgc $ # Maintainer: Jan de Groot pkgname=xf86-video-mach64 pkgver=6.8.2 pkgrel=1 pkgdesc="X.org mach64 video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc' 'mach64-dri') makedepends=('pkgconfig' 'xorg-server>=1.6.3' 'xineramaproto' 'xf86driproto' 'mesa>=7.5' 'glproto') conflicts=('xorg-server<1.6.3') groups=('xorg-video-drivers') options=('!libtool') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE) md5sums=('6c0522b2b72a0a47c48d718443616651' '901824dae8053c63ef9d313cdaa129a0') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --enable-dri || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 }