void-packages/srcpkgs/compton-git/template
2016-04-13 07:11:02 +02:00

24 lines
774 B
Bash

# Template file for 'compton-git'
pkgname=compton-git
version=20150922
revision=1
build_style="gnu-makefile"
hostmakedepends="pkg-config asciidoc pcre-devel git"
makedepends="dbus-devel libXcomposite-devel libXdamage-devel libXrandr-devel pcre-devel
libconfig-devel libdrm-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)"
provides="compton-${version}_${revision}"
replaces="compton>=0"
do_fetch() {
local url="git://github.com/chjj/compton.git"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${wrksrc}
cd ${wrksrc}
git reset --hard 2343e4bbd298b35ea5c190c52abd2b0cb9f79a18
}