summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-06-24 14:19:55 +0000
committerJakub Moc <jakub@gentoo.org>2007-06-24 14:19:55 +0000
commitb9926bc04d546d0855847e0fa56bba6519f7898b (patch)
treec27ea89d450f5d1a03a77a2a18e839f6293a95de
parentmedia-libs/swfdec: Nuke redundant src_unpack, pointless blurb in pkg_setup an... (diff)
downloadsunrise-b9926bc04d546d0855847e0fa56bba6519f7898b.tar.gz
sunrise-b9926bc04d546d0855847e0fa56bba6519f7898b.tar.bz2
sunrise-b9926bc04d546d0855847e0fa56bba6519f7898b.zip
media-sound/davemp: Use a less retarded sed separator and fix multilib handling
svn path=/sunrise/; revision=4044
-rw-r--r--media-sound/davemp/ChangeLog3
-rw-r--r--media-sound/davemp/Manifest4
-rw-r--r--media-sound/davemp/davemp-1.23.ebuild6
3 files changed, 8 insertions, 5 deletions
diff --git a/media-sound/davemp/ChangeLog b/media-sound/davemp/ChangeLog
index b891eca9e..5353f9d46 100644
--- a/media-sound/davemp/ChangeLog
+++ b/media-sound/davemp/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Jun 2007; Jakub Moc <jakub@gentoo.org> davemp-1.23.ebuild:
+ Use a less retarded sed separator and fix multilib handling
+
22 May 2007; Jakub Moc <jakub@gentoo.org> davemp-1.23.ebuild:
Quoting, multilib, cosmetics...
diff --git a/media-sound/davemp/Manifest b/media-sound/davemp/Manifest
index bd37b7042..cfc06ba27 100644
--- a/media-sound/davemp/Manifest
+++ b/media-sound/davemp/Manifest
@@ -1,5 +1,5 @@
AUX davemp 199 RMD160 d240d4ca7c69e35596f561e1ecbbc95de09c08b4 SHA1 364e7ca6c5461cda331296a73ea96d45c148a189 SHA256 2de7e27e204b5af67305275fd92d78f5f5d8470ef1751ae54e1af87752969924
DIST davemp-1.23.tar.gz 134675 RMD160 656e8074dac08affb887e8762396ddb23a5705c9 SHA1 68b0a0e2ae0117cdf4504a48ddfe6d54e94b8a19 SHA256 94bfdc062fe636e16724d8da3ade618354486a135e0b6dbda243d73da710a54a
-EBUILD davemp-1.23.ebuild 934 RMD160 f131bf727a6cc99287d61c3f9a75dab896a5718c SHA1 5040490380af898d743b0ea5011d0ed3b5cbbb28 SHA256 36207be2e37e1272ceaec5bd5da8a28b483e80be587e9a4ee69558f2cb6bfd70
-MISC ChangeLog 777 RMD160 f2b7d84fcded38213ce3e0d39674bcb087a0c64e SHA1 e3978d489524e0ba7a669e66f74d3dffd4a9c55c SHA256 3c2674ba5149f36fd781fbdbe00292cde2966de8739cefce1a3a5755d0e414ed
+EBUILD davemp-1.23.ebuild 975 RMD160 9edd861217d1014e4e9b068649962df6e593a9cd SHA1 7cc194d32191a27ee30519227d9a8273476c4b12 SHA256 7e412cba8e98c5897a22d8b71bc057d16c8e8171b2df040cc4f6967a96598744
+MISC ChangeLog 904 RMD160 5fa893bc317dde22889150b4b8a03acf13799679 SHA1 b265fd4ad05e51881bb3fd67ead6f7b785a439aa SHA256 35b85e0439e5f0839f83117e93150742e156bef2e910ad2f1f9b36970f9c0e35
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/media-sound/davemp/davemp-1.23.ebuild b/media-sound/davemp/davemp-1.23.ebuild
index fa4b249b4..506dab39f 100644
--- a/media-sound/davemp/davemp-1.23.ebuild
+++ b/media-sound/davemp/davemp-1.23.ebuild
@@ -21,9 +21,9 @@ RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
- cd "${WORKDIR}/${P}"
- sed -i 's_themeroot = ./themes_themeroot=/usr/share/davemp/themes_' "davemp.conf"
- sed -i "s_use lib './lib'_use lib '/usr/lib/davemp/'_" "davempd.pl"
+ cd "${S}"
+ sed -i -e 's@themeroot = ./themes@themeroot=/usr/share/davemp/themes@' davemp.conf || die "sed failed"
+ sed -i -e "s@use lib './lib'@use lib '/usr/$(get_libdir)/davemp/'@" davempd.pl || die "sed failed"
}
src_install() {