diff options
author | Paul Jewell <paul@teulu.org> | 2023-12-22 10:34:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-20 12:22:54 +0000 |
commit | 2f39812380d1201c475f46f8720431b51205a88b (patch) | |
tree | 06acce0b54bd7efa5de4632a655902c36317a457 /app-editors/kakoune | |
parent | media-sound/qpwgraph: add 0.6.1, drop old (diff) | |
download | gentoo-2f39812380d1201c475f46f8720431b51205a88b.tar.gz gentoo-2f39812380d1201c475f46f8720431b51205a88b.tar.bz2 gentoo-2f39812380d1201c475f46f8720431b51205a88b.zip |
app-editors/kakoune: add 2023.08.05
Closes: https://bugs.gentoo.org/917500
Signed-off-by: Paul Jewell <paul@teulu.org>
Closes: https://github.com/gentoo/gentoo/pull/34415
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/kakoune')
-rw-r--r-- | app-editors/kakoune/Manifest | 1 | ||||
-rw-r--r-- | app-editors/kakoune/kakoune-2023.08.05.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest index aeba3f9bd382..27da3bad8af1 100644 --- a/app-editors/kakoune/Manifest +++ b/app-editors/kakoune/Manifest @@ -1 +1,2 @@ DIST kakoune-2022.10.31.tar.bz2 556473 BLAKE2B 36489de5e4fa4406a847f43bf0f966c082e5c4a97e3c31d04c61fb8c4137fed4b6d1ce96ac921a85dc03fe7b90d8de172b6720ac32846507a3d0c996fe01191c SHA512 9a02a1a6bbb0b71a579b0286b4dfb6359b856183862b3e17354d2685b8215fa24c196b570a21dfd627e3d5a5b91e20ce0b74caff19e5772ab911cc42677bf720 +DIST kakoune-2023.08.05.tar.bz2 568612 BLAKE2B bbedc16f361a242c4319a852c3b688186e1e2b204990aff8434ad8a169d4c62171d2d3424e3bf65a4b5b6b17e21205e84077198091687094f88235e27c544bbd SHA512 f29b787ab6f04bc5a1a3ab31d189128745c967b5eec15fce07ae7dbaf29247f7413499d9925cf0561173feb0fe634f3423ac43da0d6c1ba5d679ee38b80ac679 diff --git a/app-editors/kakoune/kakoune-2023.08.05.ebuild b/app-editors/kakoune/kakoune-2023.08.05.ebuild new file mode 100644 index 000000000000..ea2fb090fb4a --- /dev/null +++ b/app-editors/kakoune/kakoune-2023.08.05.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Modal editor inspired by vim" +HOMEPAGE="http://kakoune.org/ https://github.com/mawww/kakoune" +SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + sed -i '/CXXFLAGS += -O3/d' src/Makefile || die + default +} + +src_configure() { + tc-export CXX +} + +src_compile() { + emake -C src all +} + +src_test() { + emake -C src test +} + +src_install() { + emake PREFIX="${D}"/usr docdir="${ED}/usr/share/doc/${PF}" install + + rm "${ED}/usr/share/man/man1/kak.1.gz" || die + doman doc/kak.1 +} |