1 |
commit: 064d1ba223830dc08ec8c43797e012577ae22439 |
2 |
Author: Sam James (sam_c) <sam <AT> cmpct <DOT> info> |
3 |
AuthorDate: Fri Jun 5 14:35:15 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 5 15:44:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=064d1ba2 |
7 |
|
8 |
app-editors/kakoune: Drop static-libs |
9 |
|
10 |
Closes: https://bugs.gentoo.org/727236 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Sam James (sam_c) <sam <AT> cmpct.info> |
13 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
14 |
|
15 |
app-editors/kakoune/kakoune-2020.01.16-r1.ebuild | 38 ++++++++++++++++++++++++ |
16 |
1 file changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/app-editors/kakoune/kakoune-2020.01.16-r1.ebuild b/app-editors/kakoune/kakoune-2020.01.16-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..561d502005c |
21 |
--- /dev/null |
22 |
+++ b/app-editors/kakoune/kakoune-2020.01.16-r1.ebuild |
23 |
@@ -0,0 +1,38 @@ |
24 |
+# Copyright 2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+DESCRIPTION="Modal editor inspired by vim" |
30 |
+HOMEPAGE="http://kakoune.org/ https://github.com/mawww/kakoune" |
31 |
+SRC_URI="https://github.com/mawww/kakoune/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="Unlicense" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86" |
36 |
+ |
37 |
+DEPEND="sys-libs/ncurses:0=[unicode]" |
38 |
+RDEPEND="${DEPEND}" |
39 |
+BDEPEND="virtual/pkgconfig" |
40 |
+ |
41 |
+PATCHES=( "${FILESDIR}"/kakoune-2020.01.16-enable-ebuild-syntax-highlight.patch ) |
42 |
+ |
43 |
+src_configure() { :; } |
44 |
+ |
45 |
+src_compile() { |
46 |
+ cd src/ || die |
47 |
+ |
48 |
+ emake all |
49 |
+} |
50 |
+ |
51 |
+src_test() { |
52 |
+ cd src/ || die |
53 |
+ emake test |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ emake PREFIX="${D}"/usr docdir="${D}/usr/share/doc/${PF}" install |
58 |
+ |
59 |
+ rm "${D}/usr/share/man/man1/kak.1.gz" || die |
60 |
+ doman doc/kak.1 |
61 |
+} |