2 # Maintainer: Egon Ashrafinia <e.ashrafinia@gmail.com>
3 # Contibutor: Jan de Groot <jgc@archlinux.org>
5 pkgname=xf86-video-vmware-git
8 pkgdesc="Git version of the X.org vmware video driver"
10 url="http://xorg.freedesktop.org/"
13 makedepends=('pkgconfig' 'xorg-server-devel' 'libdrm' 'libx11' 'libxext' 'git')
14 conflicts=('xf86-video-vmware')
15 replaces=('xf86-video-vmware')
16 provides=('xf86-video-vmware=11.1')
17 groups=('xorg-drivers' 'xorg')
20 _gitroot="git://anongit.freedesktop.org/xorg/driver/xf86-video-vmware"
21 _gitname=xf86-video-vmware-git
24 msg "Connecting to GIT server...."
25 if [ -d ${srcdir}/${_gitname} ] ; then
26 cd ${srcdir}/${_gitname} && git pull origin master
27 msg "Local repository updated."
29 git clone ${_gitroot} ${_gitname}
33 rm -rf ${_gitname}-build
34 git clone ${_gitname} ${_gitname}-build
37 ./autogen.sh --prefix=/usr
39 make DESTDIR="${pkgdir}" install
41 cd "${srcdir}/${_gitname}"
42 install -m755 -d "${pkgdir}/usr/share/licenses/xf86-video-vmware"
43 install -m644 COPYING "${pkgdir}/usr/share/licenses/xf86-video-vmware/"