void-packages/srcpkgs/compton/template
2019-02-07 03:17:54 -02:00

27 lines
817 B
Bash

# Template file for 'compton'
pkgname=compton
version=5.1
revision=1
build_style=meson
configure_args="-Dbuild_docs=true"
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
libxdg-basedir-devel"
depends="desktop-file-utils"
short_desc="Compositor for X11 (fork of xcompmgr-dana)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT, MPL-2.0"
homepage="https://github.com/yshui/compton/"
distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=0d7110c90057a4a2e6093f417307ce20fc9eb980548a88408bb87d7306afa385
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v${version}"
}
post_install() {
vlicense LICENSES/MIT
vsconf compton.sample.conf
}