1 # Contributor: Alexander Lam <lambchop468 *at* gmail *dot* com>
3 pkgname=intel-gpu-tools-git
6 pkgdesc="Tools for development and testing of the Intel DRM driver"
7 url="http://lists.freedesktop.org/archives/xorg/2009-April/045350.html"
9 license=('custom') #I don't actually think that intel-gpu-tools has a license...
10 depends=('libdrm' 'libpciaccess')
12 conflicts=('intel-gpu-tools')
14 _gitroot="git://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools"
15 _gitname="intel-gpu-tools"
18 msg "Connecting to git.freedesktop.org GIT server...."
20 if [ -d $_gitname ] ; then
23 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 ./autogen.sh --prefix=/usr || return 1
38 make DESTDIR="$pkgdir" install || return 1