commit: 14d849851ea431ae63d52f29fe604675f66a4ca7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 9 08:01:41 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 9 08:01:41 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=14d84985
sci-chemistry/phenix-bin: Fix path correction
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
index 9b5e811..90c185e 100644
--- a/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
+++ b/sci-chemistry/phenix-bin/phenix-bin-1.10.2155.ebuild
@@ -70,7 +70,7 @@ RESTRICT="fetch"
QA_PREBUILT="opt/phenix-${MY_PV}/.*"
-S="${WORKDIR}"/${MY_P}-intel-linux-2.6-x86_64-centos6/
+S="${WORKDIR}"/${MY_P}-intel-linux-2.6-x86_64-centos6
pkg_nofetch() {
elog "Please visit"
@@ -94,6 +94,7 @@ src_compile() {
}
src_install() {
+ find "${S}/foo" -type f -name "*.pyc" -delete || die
sed \
-e "s:${S}/foo:${EPREFIX}/opt:g" \
-i \
@@ -103,7 +104,6 @@ src_install() {
foo/phenix-${MY_PV}/base/etc/{gtk*,pango}/* \
foo/phenix-${MY_PV}/phenix_env* \
|| die
-
dodir /opt
mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/" || die