commit:     7cb06b989744a18e665c60f7d346fc80dd70e004
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 16:46:38 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 16:46:38 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7cb06b98

clean up

Package-Manager: portage-2.2.8-r1

---
 sci-mathematics/alt-ergo/ChangeLog              |  4 +++-
 sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild | 14 ++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/alt-ergo/ChangeLog 
b/sci-mathematics/alt-ergo/ChangeLog
index ffdfbd7..ed2da17 100644
--- a/sci-mathematics/alt-ergo/ChangeLog
+++ b/sci-mathematics/alt-ergo/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Sep 2014; Christoph Junghans <[email protected]> alt-ergo-0.95.2.ebuild:
+  clean up
+
   16 Jun 2014; Jauhien Piatlicki <[email protected]>
   -alt-ergo-0.95.1.ebuild, +alt-ergo-0.95.2.ebuild:
   version bump; fix bug #479994; move sources to my dev space
@@ -18,4 +21,3 @@
   14 Jan 2013; Jonathan-Christofer Demay <[email protected]>
   +alt-ergo-0.95.ebuild:
   initial commit
-

diff --git a/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild 
b/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
index cf30ef7..cf18236 100644
--- a/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
+++ b/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
@@ -24,18 +24,16 @@ RDEPEND="${DEPEND}"
 
 src_prepare(){
        sed \
-               -e "s: /usr/share/: \$(DESTDIR)/usr/share/:g" \
-               -e "s:cp -f altgr-ergo.opt:mkdir -p 
\$(DESTDIR)/usr/share/gtksourceview-2.0/language-specs/\n\tcp -f 
altgr-ergo.opt:g" \
-               -i ${S}/Makefile.in || die
+               -e 's: /usr/share/: $(DESTDIR)/usr/share/:g' \
+               -e 's:cp -f altgr-ergo.opt:mkdir -p 
$(DESTDIR)/usr/share/gtksourceview-2.0/language-specs/\n\tcp -f 
altgr-ergo.opt:g' \
+               -i "${S}"/Makefile.in || die
 }
 src_compile(){
-       emake || die "emake failed"
-       if use gtk; then
-               emake gui || die "emake gui failed"
-       fi
+       emake
+       use gtk && emake gui
 }
 
 src_install(){
-       emake install DESTDIR="${D}" || die "emake install failed"
+       emake install DESTDIR="${D}"
        dodoc README.md CHANGES
 }

Reply via email to