compton: update to 2. (#2759)

This commit is contained in:
cr6git 2018-09-14 22:31:53 +02:00 committed by GitHub
parent 8cd1163861
commit e28073a716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,7 @@
# Template file for 'compton' # Template file for 'compton'
pkgname=compton pkgname=compton
version=0.0.20180811 version=2
revision=1 revision=1
_githash=cac8094ce12cd40706fb48f9ab35354d9ee7c48f
wrksrc="compton-${_githash}"
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="pkg-config asciidoc" hostmakedepends="pkg-config asciidoc"
makedepends="dbus-devel libXcomposite-devel libXrandr-devel pcre-devel makedepends="dbus-devel libXcomposite-devel libXrandr-devel pcre-devel
@ -13,12 +11,12 @@ short_desc="Compositor for X11 (fork of xcompmgr-dana)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT" license="MIT"
homepage="https://github.com/yshui/compton/" homepage="https://github.com/yshui/compton/"
distfiles="https://github.com/yshui/compton/archive/${_githash}.tar.gz" distfiles="https://github.com/yshui/compton/archive/v${version}.tar.gz"
checksum=26fcdb1b67a6f29e20011f22b8f852120c84bbb82a145ea4420ee7d5e7b76caa checksum=3569b35e42ba83261e7cf4aa8e3861b6bd7d43743ca3b26bc9a8956718a2e2b0
replaces="compton-git>=0" replaces="compton-git>=0"
pre_build() { pre_build() {
export COMPTON_VERSION="v0.1_beta2" export COMPTON_VERSION="v${version}"
} }
post_install() { post_install() {
vsconf compton.sample.conf vsconf compton.sample.conf