# $Id: PKGBUILD 140298 2011-10-11 21:28:35Z jgc $ # Maintainer: Jan de Groot pkgname=xf86-video-tdfx pkgver=1.4.3 pkgrel=7 pkgdesc="X.org tdfx video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc' 'tdfx-dri') makedepends=('xorg-server-devel>=1.10.99.902' 'libdrm' 'xf86driproto' 'mesa' 'glproto') conflicts=('xorg-server<1.10.99.902') options=(!libtool) groups=('xorg-drivers' 'xorg') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 copyright.patch) md5sums=('8161bbf2b100c21b609163f0010766b3' 'a3be7ac534ceb846d3f155ddbe14378f') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/copyright.patch" ./configure --prefix=/usr --enable-dri make make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }