summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild')
-rw-r--r--media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild b/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild
index 1ff651e352ca..beb0aa13e5bf 100644
--- a/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild
+++ b/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.3 2012/08/02 21:20:07 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.4 2012/11/02 22:15:41 hwoarang Exp $
EAPI="2"
PYTHON_DEPEND="2"
@@ -45,16 +45,15 @@ src_prepare() {
-e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
-i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
-# Set udev rules to install at /lib/udev/rules.d
- cd "${S}" || die "Cannot cd to work directory."
- for offendingFile in $(grep -r -l "/etc/udev/rules.d" *); do
- sed -e 's|/etc/udev/rules\.d|/lib/udev/rules\.d|g' -i "${offendingFile}" || \
- die "setting udev rules' destination directory failed"
- done
-
distutils_src_prepare
}
+src_install() {
+ distutils_src_install
+ #remove udev files
+ rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die
+}
+
pkg_postinst() {
# Run xdg-* programs the Gentoo way since we removed this functionality from the original package
fdo-mime_mime_database_update