# $Id: PKGBUILD 11506 2008-08-31 18:01:45Z jgc $ # Contributor: Paul Mattal # Maintainer: Juergen Hoetzel pkgname=xf86-video-openchrome pkgver=0.2.903 pkgrel=1 pkgdesc="X.Org Openchrome drivers" arch=(i686 x86_64) license=('custom') url="http://www.openchrome.org" depends=('unichrome-dri>=7.1') makedepends=('pkgconfig' 'xorg-server>=1.4.99.906' 'xf86driproto' 'xorg-util-macros' 'libxvmc' 'glproto' 'mesa>=7.1') replaces=('openchrome' 'xf86-video-via') options=('!libtool' 'force' '!makeflags') conflicts=('xf86-video-via' 'xf86-video-unichrome' 'openchrome' 'xorg-server<1.4.99.906') source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.gz LICENSE.txt) md5sums=('bcb3ba67e89824c132790c3a0365c6a5' 'addb3cf2671f4cf7e91156952de1627f') build() { cd ${startdir}/src/${pkgname}-$pkgver || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1 }