From eb24d23b0ff2001ff973aaf043532e931192fccb Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Mon, 23 Feb 2015 11:39:14 +0100
Subject: [PATCH] vte290: rename conflicting file.

---
 srcpkgs/vte290/template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/vte290/template b/srcpkgs/vte290/template
index 312bac0b515..9acc23b5984 100644
--- a/srcpkgs/vte290/template
+++ b/srcpkgs/vte290/template
@@ -1,7 +1,7 @@
 # Template build file for 'vte290'.
 pkgname=vte290
 version=0.36.3
-revision=1
+revision=2
 wrksrc=vte-${version}
 build_style=gnu-configure
 configure_args="--with-gtk=3.0 --disable-gnome-pty-helper --disable-static"
@@ -29,6 +29,11 @@ else
 	configure_args+=" --disable-introspection --disable-vala"
 fi
 
+post_install() {
+	# Rename conflicting file
+	mv ${DESTDIR}/etc/profile.d/{vte,vte290}.sh
+}
+
 vte290-devel_package() {
 	depends="gtk+3-devel vte290>=${version}_${revision}"
 	short_desc+=" - development files"