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