# Template build file for 'xf86-video-ati-git'.
pkgname=xf86-video-ati-git
version="$(date -u +%Y%m%d)"
revision=1
nofetch=yes
noextract=yes
build_style=gnu-configure
replaces="xf86-video-ati>=0"
provides="xf86-video-ati-6.15"
depends="xorg-server"
makedepends="git automake pkg-config randrproto libudev-devel>=183
libpciaccess-devel libdrm-devel libXrandr-devel pixman-devel
xorg-util-macros xorg-server-devel MesaLib-devel"
short_desc="Xorg ATI Radeon video driver (git snapshot)"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
 This is the video driver for ATI Radeon cards for the Xorg X11 server."

do_fetch() {
	local url="git://anongit.freedesktop.org/xorg/driver/xf86-video-ati"
	msg_normal " Fetching from master git repository...\n"
	git clone ${url} ${pkgname}-${version}
}

pre_configure() {
	./autogen.sh
}
