diff --git a/srcpkgs/compton-git/template b/srcpkgs/compton-git/template new file mode 100644 index 00000000000..007a8943298 --- /dev/null +++ b/srcpkgs/compton-git/template @@ -0,0 +1,27 @@ +# 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 " +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 + } +}