1 #Maintainer: Matt Parnell/ilikenwf <parwok@gmail.com>
3 pkgname=xf86-video-nv-git
6 pkgdesc="X.org nv video driver"
8 url="http://xorg.freedesktop.org/"
10 makedepends=('pkgconfig' 'xorg-server-git')
13 groups=('xorg-video-drivers')
14 source=('nv-1.1.1-nv34-tweaks.patch')
16 provides=('xf86-video-nv' 'xf86-video-nv-git')
17 replaces=('xf86-video-nv')
18 conflicts=('xf86-video-nv')
20 _gitroot="git://anongit.freedesktop.org/git/xorg/driver/xf86-video-nv"
21 _gitname="xf86-video-nv"
25 msg "Connecting to git.freedesktop.org GIT server...."
27 if [ -d $startdir/src/$_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 cd $startdir/src/$_gitname
39 #patch -Np1 -i $startdir/src/nv-1.1.1-nv34-tweaks.patch || return 1
41 sh autogen.sh --prefix=/usr
43 make DESTDIR=${startdir}/pkg install || return 1