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

30 lines
996 B
Bash

# $Id: PKGBUILD 50380 2009-08-25 20:24:49Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-video-geode
pkgver=2.11.3
pkgrel=1
pkgdesc="X.org AMD/Geode LX & NX video driver"
# there is no 64bit geode yet! (does not build either, i386 ASM)
arch=(i686)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.6.3' 'xf86dgaproto')
conflicts=('xorg-server<1.6.3')
options=('!libtool')
conflicts=('xf86-video-amd')
replaces=('xf86-video-amd')
groups=('xorg-video-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
md5sums=('de1d3fe56ae50168d56ea727c4455f2d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--enable-visibility || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}