# $Id: PKGBUILD 48788 2009-08-03 20:56:14Z jgc $ # Maintainer: Alexander Baldeck # Contributor: Jan de Groot pkgname=xf86-video-sis pkgver=0.10.2 pkgrel=1 pkgdesc="X.org SiS video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc' 'sis-dri') makedepends=('pkgconfig' 'xorg-server>=1.6.3' 'xf86driproto' 'mesa>=7.5' 'glproto>=1.4.9' 'xf86dgaproto' 'xineramaproto') conflicts=('xorg-server<1.6.3') options=('!libtool') groups=('xorg-video-drivers') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE) md5sums=('f04baa307e49e9f0e5a5c3d2e89a5576' 'e33e023e3d811d28a8ed3bfbd2bf5672') 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 }