void-packages/srcpkgs/compton/template
Alessio Sergi b492f1b7d1 New package: compton-0.0.20180521 (replaces compton-git)
Also, switch the package over to the yshui/compton fork (which should be
compatbile with Mesa 18 too).
2018-06-19 19:52:42 +02:00

26 lines
820 B
Bash

# Template file for 'compton'
pkgname=compton
version=0.0.20180521
revision=1
_githash=9b24550814b7c69065f90039b0a5d0a2281b9f81
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"
checksum=f9818fe0ff3f012802ff123f0ca8d8b38e3e5e1775dc95126bd28c8ff4101e7e
replaces="compton-git>=0"
pre_build() {
export COMPTON_VERSION="v0.1_beta2"
}
post_install() {
vsconf compton.sample.conf
vlicense LICENSE
}