void-packages/srcpkgs/compton/template
2018-11-20 13:10:56 -02:00

25 lines
757 B
Bash

# Template file for 'compton'
pkgname=compton
version=4
revision=1
build_style=meson
hostmakedepends="pkg-config asciidoc"
makedepends="MesaLib-devel dbus-devel libconfig-devel libev-devel pcre-devel
pixman-devel xcb-util-image-devel xcb-util-renderutil-devel"
depends="desktop-file-utils"
short_desc="Compositor for X11 (fork of xcompmgr-dana)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT, MPL-2.0"
homepage="https://github.com/yshui/compton/"
distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=aacafc24d6023d2ee28be77966421a73291936b05c54b5627999916d8822c43f
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v${version}"
}
post_install() {
vlicense LICENSES/MIT
vsconf compton.sample.conf
}