void-packages/srcpkgs/compton/template

27 lines
801 B
Bash

# Template file for 'compton'
pkgname=compton
version=7.3
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 uthash"
depends="desktop-file-utils"
short_desc="Compositor for X11 (fork of xcompmgr-dana)"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT, MPL-2.0"
homepage="https://github.com/yshui/compton/"
distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=51f9d3fd832b77d0ebb7f5da0db5b4e53f8a910df775188a961a76fd3a341312
pre_build() {
export COMPTON_VERSION="v${version}"
}
post_install() {
vlicense LICENSES/MIT
vsconf compton.sample.conf
}