summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-10-04 05:58:26 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-10-04 05:58:26 +0000
commita22ecb29ccef0af7ae8f03e449bc6d1b650f92a6 (patch)
tree19ad8e2c9db5870491d510091675307d83a59393 /x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild
parentDrop useless portageq calls. (Manifest recommit) (diff)
downloadgentoo-2-a22ecb29ccef0af7ae8f03e449bc6d1b650f92a6.tar.gz
gentoo-2-a22ecb29ccef0af7ae8f03e449bc6d1b650f92a6.tar.bz2
gentoo-2-a22ecb29ccef0af7ae8f03e449bc6d1b650f92a6.zip
Make needed changes for x11-base/xfree -> virtual/x11.
Diffstat (limited to 'x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild')
-rw-r--r--x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild b/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild
index d6ad7f7f39b5..cb070dec9a70 100644
--- a/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild
+++ b/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild,v 1.7 2004/06/24 23:38:36 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.2.ebuild,v 1.8 2004/10/04 05:58:26 spyderous Exp $
inherit eutils rpm
@@ -51,9 +51,15 @@ src_install () {
rm -rf ${D}/usr/share/pixmaps/backgrounds
rm -f ${D}/usr/share/pixmaps/ximian-desktop-stripe.png
+ # Set up X11 implementation
+ X11_IMPLEM_P="$(best_version virtual/x11)"
+ X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
+ X11_IMPLEM="${X11_IMPLEM##*\/}"
+ einfo "X11 implementation is ${X11_IMPLEM}."
+
# Moving cursors
- dodir /usr/share/cursors/xfree/Industrial
- mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/xfree/Industrial
+ dodir /usr/share/cursors/${X11_IMPLEM}/Industrial
+ mv ${D}/usr/share/icons/Industrial/cursors ${D}/usr/share/cursors/${X11_IMPLEM}/Industrial
# remove xmms skin if unneeded
use xmms || rm -rf ${D}/usr/share/xmms