void-packages/srcpkgs/compton/template

25 lines
731 B
Bash
Raw Normal View History

# Template file for 'compton'
pkgname=compton
2018-09-14 22:31:53 +02:00
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/"
2018-09-14 22:31:53 +02:00
distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=3569b35e42ba83261e7cf4aa8e3861b6bd7d43743ca3b26bc9a8956718a2e2b0
replaces="compton-git>=0"
pre_build() {
2018-09-14 22:31:53 +02:00
export COMPTON_VERSION="v${version}"
}
post_install() {
vsconf compton.sample.conf
vlicense LICENSE
}