summaryrefslogtreecommitdiff
path: root/testing/xf86-video-tdfx/PKGBUILD
blob: b84d724e5985a89cf284854e0aaba0cc69636033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 150075 2012-02-12 09:45:45Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86-video-tdfx
pkgver=1.4.3
pkgrel=8
_gitver=a985b54c8559d7ff8f5481004d54989ed7499237
pkgdesc="X.org tdfx video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('xorg-server-devel>=1.11.99.903' 'libdrm' 'xf86driproto' 'mesa>=8.0') # 'glproto')
conflicts=('xorg-server<1.11.99.902')
options=(!libtool)
groups=('xorg-drivers' 'xorg')
source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
        http://cgit.freedesktop.org/xorg/driver/xf86-video-tdfx/snapshot/xf86-video-tdfx-${_gitver}.tar.gz)
sha1sums=('01c13cdec926c1aaa9c8c8855995c6cc38149ab2')

build() {
  #cd "${srcdir}/${pkgname}-${pkgver}"
  cd ${srcdir}/${pkgname}*
  autoreconf -fi
  ./configure --prefix=/usr #--enable-dri
  make
}

package() {
  #cd "${srcdir}/${pkgname}-${pkgver}"
  cd ${srcdir}/${pkgname}*
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}