Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-misc/mendeleydesktop/files/, sci-misc/mendeleydesktop/
Date: Sun, 30 Nov 2014 13:34:46
Message-Id: 1417268339.a10b489b885104a7b990477807fa91abf7b9b069.jlec@gentoo
1 commit: a10b489b885104a7b990477807fa91abf7b9b069
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 29 13:38:59 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 29 13:38:59 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a10b489b
7
8 sci-misc/mendeleydesktop: make use of make_wrapper
9
10 ---
11 sci-misc/mendeleydesktop/files/mendeleydesktop | 4 ----
12 sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild | 4 ++--
13 2 files changed, 2 insertions(+), 6 deletions(-)
14
15 diff --git a/sci-misc/mendeleydesktop/files/mendeleydesktop b/sci-misc/mendeleydesktop/files/mendeleydesktop
16 deleted file mode 100755
17 index bedf758..0000000
18 --- a/sci-misc/mendeleydesktop/files/mendeleydesktop
19 +++ /dev/null
20 @@ -1,4 +0,0 @@
21 -#!/bin/sh
22 -
23 -exec /opt/mendeleydesktop/bin/mendeleydesktop --unix-distro-build "$@"
24 -
25
26 diff --git a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
27 index 690672d..173fd5f 100644
28 --- a/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
29 +++ b/sci-misc/mendeleydesktop/mendeleydesktop-1.12.3.ebuild
30 @@ -113,6 +113,6 @@ src_install() {
31 doins -r share/mendeleydesktop
32
33 # install launch script
34 - exeinto /opt/bin
35 - doexe "${FILESDIR}"/${PN}
36 + into /opt
37 + make_wrapper ${PN} "/opt/${PN}/bin/${PN} --unix-distro-build"
38 }