# $Id: PKGBUILD 150085 2012-02-12 09:45:57Z andyrtr $ # Maintainer: Jan de Groot pkgname=xf86-video-vesa pkgver=2.3.0 pkgrel=8 _gitver=4ba7306fd0c9533750d389829e2cbf0522e149b3 pkgdesc="X.org vesa video driver" arch=(i686 x86_64) license=('custom') url="http://xorg.freedesktop.org/" depends=('glibc') makedepends=('pkgconfig' 'xorg-server-devel>=1.11.99.903') conflicts=('xorg-server<1.11.99.903') groups=('xorg-drivers' 'xorg') options=('!libtool') source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 http://cgit.freedesktop.org/xorg/driver/xf86-video-vesa/snapshot/xf86-video-vesa-${_gitver}.tar.gz #git-fixes.patch revert-kernelcheck.patch) sha1sums=('52f5bf577038c6fe7819743ceac787bb619b6d47' 'c14454521ac91aaa08aad8a6025d7720a613d54b') build() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* #patch -Np1 -i "${srcdir}/git-fixes.patch" patch -Np1 -R -i "${srcdir}/revert-kernelcheck.patch" autoreconf -fi ./configure --prefix=/usr make } package() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* make DESTDIR="${pkgdir}" install install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }