summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-01-02 15:30:40 +0000
committerJakub Moc <jakub@gentoo.org>2008-01-02 15:30:40 +0000
commit1dc922e46430827d707aa2d7095d1d6981f5cd05 (patch)
treede95d9dca7fe819ac750d65720df108a77dead7c /media-video/kmpg2/kmpg2-1.96.ebuild
parentFix desktop files (diff)
downloadsunrise-1dc922e46430827d707aa2d7095d1d6981f5cd05.tar.gz
sunrise-1dc922e46430827d707aa2d7095d1d6981f5cd05.tar.bz2
sunrise-1dc922e46430827d707aa2d7095d1d6981f5cd05.zip
media-video/kmpg2: Fix desktop files, remove DESTTREE abuse
svn path=/sunrise/; revision=5325
Diffstat (limited to 'media-video/kmpg2/kmpg2-1.96.ebuild')
-rw-r--r--media-video/kmpg2/kmpg2-1.96.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-video/kmpg2/kmpg2-1.96.ebuild b/media-video/kmpg2/kmpg2-1.96.ebuild
index 10c7221ad..5f7401572 100644
--- a/media-video/kmpg2/kmpg2-1.96.ebuild
+++ b/media-video/kmpg2/kmpg2-1.96.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -37,8 +37,8 @@ src_unpack() {
KmPg2.kmdr
sed -i \
- -e "s#%VERSION%#${PV}#" \
- -e "s#%KDEDIR%#${KDEDIR}#" \
+ -e "s|@VERSION@|${PV}|" \
+ -e "s|@KDEDIR@|${KDEDIR}@" \
kmpg2.desktop kmpg2profiler.desktop || die "sed failed"
}
@@ -51,7 +51,7 @@ src_install() {
insinto "${KDEDIR}/share/apps/${PN}"
doins -r Profiles
- DESTTREE="${KDEDIR}"
+ into ${KDEDIR}
dobin KmPg2*.kmdr YUV*.sh
domenu kmpg2.desktop kmpg2profiler.desktop