void-packages/srcpkgs/compton/template

27 lines
820 B
Bash
Raw Normal View History

# Template file for 'compton'
pkgname=compton
2018-08-18 05:34:03 +02:00
version=0.0.20180811
revision=1
2018-08-18 05:34:03 +02:00
_githash=cac8094ce12cd40706fb48f9ab35354d9ee7c48f
wrksrc="compton-${_githash}"
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/"
distfiles="https://github.com/yshui/compton/archive/${_githash}.tar.gz"
2018-08-18 05:34:03 +02:00
checksum=26fcdb1b67a6f29e20011f22b8f852120c84bbb82a145ea4420ee7d5e7b76caa
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v0.1_beta2"
}
post_install() {
vsconf compton.sample.conf
vlicense LICENSE
}