updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / xf86-video-nv-git / PKGBUILD
blob638e688670da049c09a6744628b054354f91aac4
1 #Maintainer: Matt Parnell/ilikenwf <parwok@gmail.com>
3 pkgname=xf86-video-nv-git
4 pkgver=20080808
5 pkgrel=1
6 pkgdesc="X.org nv video driver"
7 arch=(i686 x86_64)
8 url="http://xorg.freedesktop.org/"
9 depends=('glibc')
10 makedepends=('pkgconfig' 'xorg-server-git')
11 options=('!libtool')
12 license=('custom')
13 groups=('xorg-video-drivers')
14 source=('nv-1.1.1-nv34-tweaks.patch')
15 md5sums=()
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"
23 build() {
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."
30   else
31   git clone $_gitroot
32   fi
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
42   make || return 1
43   make DESTDIR=${startdir}/pkg install || return 1