void-packages/srcpkgs/compton/template

25 lines
731 B
Bash

# Template file for 'compton'
pkgname=compton
version=2
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config asciidoc"
makedepends="dbus-devel libXcomposite-devel libXrandr-devel pcre-devel
libconfig-devel MesaLib-devel libXinerama-devel"
depends="desktop-file-utils"
short_desc="Compositor for X11 (fork of xcompmgr-dana)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://github.com/yshui/compton/"
distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=3569b35e42ba83261e7cf4aa8e3861b6bd7d43743ca3b26bc9a8956718a2e2b0
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v${version}"
}
post_install() {
vsconf compton.sample.conf
vlicense LICENSE
}