From be76a3bb2202c5a74c6cf27d4263acf343aeb5de Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 May 2014 16:25:01 +0200 Subject: [PATCH] compton-git: add provides/replaces; cross build support. --- srcpkgs/compton-git/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/compton-git/template b/srcpkgs/compton-git/template index 8abf5a6bbaf..246023c8d7a 100644 --- a/srcpkgs/compton-git/template +++ b/srcpkgs/compton-git/template @@ -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"