PKGBUILDs/extra/xf86-video-vmware/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 41844 2009-06-07 13:41:22Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-vmware
pkgver=10.16.6
pkgrel=1
pkgdesc="X.org vmware video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xorg-server>=1.6.1' 'randrproto' 'renderproto' 'xextproto' 'xineramaproto' 'videoproto')
conflicts=('xorg-server<1.6.1')
groups=('xorg-video-drivers')
options=('!libtool')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
hibernate-fix-black-screen.patch
LICENSE)
md5sums=('f376ebb4709ff29731e410586e6457f3'
'c1f5154db2b46205e4fdb99c50154c6f'
'f846374287a2bae21570ae8de883fb4d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/hibernate-fix-black-screen.patch" || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}