1 |
commit: b46440b989c5e231b9de67b3b377309f3d2c1cc6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 27 14:42:35 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 27 14:42:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46440b9 |
7 |
|
8 |
app-editors/nano: Synced live ebuild. |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
app-editors/nano/nano-9999.ebuild | 7 +++---- |
13 |
1 file changed, 3 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/app-editors/nano/nano-9999.ebuild b/app-editors/nano/nano-9999.ebuild |
16 |
index 0aed36a7b0e..2b29359919a 100644 |
17 |
--- a/app-editors/nano/nano-9999.ebuild |
18 |
+++ b/app-editors/nano/nano-9999.ebuild |
19 |
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then |
20 |
EGIT_REPO_URI="git://git.sv.gnu.org/nano.git" |
21 |
inherit git-r3 autotools |
22 |
else |
23 |
- MY_P=${PN}-${PV/_} |
24 |
+ MY_P="${PN}-${PV/_}" |
25 |
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" |
26 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
27 |
fi |
28 |
@@ -32,10 +32,10 @@ DEPEND="${RDEPEND} |
29 |
static? ( ${LIB_DEPEND} )" |
30 |
|
31 |
src_prepare() { |
32 |
+ default |
33 |
if [[ ${PV} == "9999" ]] ; then |
34 |
eautoreconf |
35 |
fi |
36 |
- default |
37 |
} |
38 |
|
39 |
src_configure() { |
40 |
@@ -64,7 +64,7 @@ src_configure() { |
41 |
|
42 |
src_install() { |
43 |
default |
44 |
- rm -rf "${D}"/trash |
45 |
+ rm -rf "${ED%/}"/trash |
46 |
|
47 |
dodoc doc/sample.nanorc |
48 |
docinto html |
49 |
@@ -78,6 +78,5 @@ src_install() { |
50 |
"${ED%/}"/etc/nanorc || die |
51 |
fi |
52 |
|
53 |
- dodir /usr/bin |
54 |
dosym ../../bin/nano /usr/bin/nano |
55 |
} |