PKGBUILDs/extra/xf86-video-tdfx/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
967 B
Bash

# $Id: PKGBUILD 48787 2009-08-03 20:54:41Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-tdfx
pkgver=1.4.3
pkgrel=1
pkgdesc="X.org tdfx video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'tdfx-dri')
makedepends=('pkgconfig' 'xorg-server>=1.6.3' 'mesa>=7.5' 'xf86driproto' 'glproto')
conflicts=('xorg-server<1.6.3')
options=(!libtool)
groups=('xorg-video-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
LICENSE)
md5sums=('8161bbf2b100c21b609163f0010766b3'
'978e9486ffd4e4164c12dc68c84186e1')
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
}