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

28 lines
1 KiB
Bash

# $Id: PKGBUILD 54169 2009-10-06 17:13:05Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-video-ati
pkgver=6.12.4
pkgrel=1
pkgdesc="X.org ati video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libdrm>=2.4.6' 'libpciaccess' 'ati-dri>=7.4')
makedepends=('pkgconfig' 'xorg-server>=1.6.0' 'fontsproto'
'glproto>=1.4.9' 'xf86driproto' 'diffutils' 'xorg-util-macros' 'xineramaproto' 'mesa')
conflicts=('xorg-server<1.6.0')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE)
md5sums=('e662348f6f957fcedf52818d668ab9f5'
'75da66945980a43adf1e1856271b9d4a')
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"
}