# $Id: PKGBUILD 153327 2012-03-12 20:53:18Z andyrtr $ # Maintainer: Jan de Groot # Contributor: Alexander Baldeck pkgname=xf86-video-chips pkgver=1.2.4 pkgrel=4 pkgdesc="X.org Chips and Technologies video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=(glibc) makedepends=('xorg-server-devel>=1.11.99.902') conflicts=('xorg-server<1.11.99.902') groups=('xorg-drivers' 'xorg') options=('!libtool') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 chips-1.2.4-git.patch) sha1sums=('71f474335d05f93b2451a7a0750c4409669641a4' 'b13ff000e3f6f06c1a7fd55e9e0ad6078f1b4e5b') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i ${srcdir}/chips-1.2.4-git.patch ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }