compton-git: add provides/replaces; cross build support.

This commit is contained in:
Juan RP 2014-05-09 16:25:01 +02:00
parent 25a09ff649
commit be76a3bb22

View File

@ -1,9 +1,9 @@
# Template file for 'compton-git'
pkgname=compton-git
version=20140506
version=20140509
revision=1
build_style="gnu-makefile"
hostmakedepends="pkg-config asciidoc"
hostmakedepends="pkg-config asciidoc pcre-devel"
makedepends="dbus-devel libXcomposite-devel libXdamage-devel libXrandr-devel pcre-devel
libconfig-devel libdrm-devel MesaLib-devel libXinerama-devel desktop-file-utils"
depends="desktop-file-utils"
@ -12,7 +12,8 @@ homepage="https://github.com/chjj/compton"
license="MIT"
short_desc="A compositor for X (fork of xcompmgr-dana)"
only_for_archs="i686 x86_64"
provides="compton-${version}_${revision}"
replaces="compton>=0"
do_fetch() {
local url="git://github.com/chjj/compton.git"