void-packages/srcpkgs/compton/template
2019-01-21 14:09:38 -02:00

27 lines
815 B
Bash

# Template file for 'compton'
pkgname=compton
version=5
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=0ed7b68408c72b4e3d09f1386d833e0411bc2ae98ab4b940d2b1a8d964cf4e82
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v${version}"
}
post_install() {
vlicense LICENSES/MIT
vsconf compton.sample.conf
}