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).
This commit is contained in:
Alessio Sergi 2018-06-19 19:52:42 +02:00
parent 54dcda12e3
commit b492f1b7d1
2 changed files with 26 additions and 24 deletions

View File

@ -1,24 +0,0 @@
# Template file for 'compton-git'
pkgname=compton-git
version=20170430
revision=3
build_style="gnu-makefile"
hostmakedepends="pkg-config asciidoc git"
makedepends="dbus-devel libXcomposite-devel libXrandr-devel pcre-devel
libconfig-devel MesaLib-devel libXinerama-devel"
depends="desktop-file-utils"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/chjj/compton"
license="MIT"
short_desc="A compositor for X (fork of xcompmgr-dana)"
_githash=316eac0613bf342ff91cc645a6c3c80e6b9083fb
distfiles="${homepage}/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=b0bb9dfcf47d21d6711c9544f01a92b8491b77d79c6462ec1ddfb4c7a930e9df
wrksrc="compton-${_githash}"
provides="compton-${version}_${revision}"
replaces="compton>=0"
post_install() {
vlicense LICENSE
}

26
srcpkgs/compton/template Normal file
View File

@ -0,0 +1,26 @@
# 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
}