summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2006-08-22 16:56:02 +0000
committerJakub Moc <jakub@gentoo.org>2006-08-22 16:56:02 +0000
commitf3b479d778b58aba8877084e29048a3aa139878a (patch)
treeae27f5bca69e575d5981d449fd2bd5b4fe5f1924 /media-video/kmpg2/kmpg2-1.96.ebuild
parentRemoving broken dev-games/ois ebuild (diff)
downloadsunrise-f3b479d778b58aba8877084e29048a3aa139878a.tar.gz
sunrise-f3b479d778b58aba8877084e29048a3aa139878a.tar.bz2
sunrise-f3b479d778b58aba8877084e29048a3aa139878a.zip
media-video/kmpg2 - revert accidential commit
svn path=/sunrise/; revision=996
Diffstat (limited to 'media-video/kmpg2/kmpg2-1.96.ebuild')
-rw-r--r--media-video/kmpg2/kmpg2-1.96.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/media-video/kmpg2/kmpg2-1.96.ebuild b/media-video/kmpg2/kmpg2-1.96.ebuild
index 49d187c0d..34bb4697f 100644
--- a/media-video/kmpg2/kmpg2-1.96.ebuild
+++ b/media-video/kmpg2/kmpg2-1.96.ebuild
@@ -33,10 +33,13 @@ src_unpack() {
cd "${S}"
sed -i \
- -e "s:'(@global\(_KDDIR\)/Profiles/)':/usr/share/apps/${PN}/:" \
- KmPg2.kmdr || die "sed failed in KmPg2.kmdr"
+ -e "s#/\(Profiles\)#/../share/apps/${PN}/\1#" \
+ KmPg2.kmdr
- sed -i -e "s#%VERSION%#${PV}#" kmpg2.desktop kmpg2profiler.desktop || die "sed failed"
+ sed -i \
+ -e "s#%VERSION%#${PV}#" \
+ -e "s#%KDEDIR%#${KDEDIR}#" \
+ kmpg2.desktop kmpg2profiler.desktop || die "sed failed"
}
@@ -45,11 +48,11 @@ src_compile() {
}
src_install() {
- insinto /usr/share/apps/${PN}
+ insinto "${KDEDIR}/share/apps/${PN}"
doins -r Profiles
- exeinto /usr/bin
- doexe KmPg2*.kmdr YUV*.sh
+ DESTTREE="${KDEDIR}"
+ dobin KmPg2*.kmdr YUV*.sh
domenu kmpg2.desktop kmpg2profiler.desktop