# Template file for 'compton-git'
pkgname=compton-git
version=20170430
revision=1
build_style="gnu-makefile"
hostmakedepends="pkg-config asciidoc git"
makedepends="dbus-devel libXcomposite-devel libXrandr-devel pcre-devel
 libconfig-devel MesaLib-devel libXinerama-devel"
depends="desktop-file-utils"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/chjj/compton"
license="MIT"
short_desc="A compositor for X (fork of xcompmgr-dana)"
_githash=316eac0613bf342ff91cc645a6c3c80e6b9083fb
distfiles="${homepage}/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=b0bb9dfcf47d21d6711c9544f01a92b8491b77d79c6462ec1ddfb4c7a930e9df
wrksrc="compton-${_githash}"

provides="compton-${version}_${revision}"
replaces="compton>=0"

post_install() {
	vlicense LICENSE
}
