# Template file for 'compton-git'
pkgname=compton-git
version=$(date +%Y%m%d)
revision=1
build_style=gnu-makefile
hostmakedepends="git"
makedepends="libGL pkg-config dbus-devel libXcomposite-devel libXdamage-devel libXrandr-devel pcre-devel libconfig-devel libdrm-devel MesaLib-devel asciidoc"
nofetch=yes
noextract=yes
only_for_archs="i686 x86_64"
maintainer="Steven R <strob AT styez DOT com>"
homepage="https://github.com/chjj/compton"
license="MIT"
short_desc="Compton is a compositor for X, and a fork of xcompmgr-dana."

do_fetch() {
	local url="git://github.com/chjj/compton.git"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

compton-git_package() {
	depends="libGL dbus libXcomposite libXdamage libXrandr pcre libconfig MesaLib"
	pkg_install() {
		vmove all
	}
}
