summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86-video-amd/PKGBUILD
blob: 1bf6f62d016ac248f29ca49c29923351a40c3ecf (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-video-amd
pkgver=2.7.7.6
pkgrel=1
pkgdesc="X.org AMD/Geode LX & NX video driver"
# there is no 64bit geode yet!
arch=(i686)
url="http://xorg.freedesktop.org/"
makedepends=('pkgconfig' 'xorg-server>=1.4')
options=('!libtool')
license=('custom:amd')
groups=('xorg-video-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
              --build=${CHOST} --host=${CHOST} \
	      --enable-visibility
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/COPYING \
                   ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}
md5sums=('e839cc4552032b7bd44beb72e575980f')