summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Hixson <mujo@sdf.org>2021-09-25 14:58:55 -0700
committerIonen Wolkens <ionen@gentoo.org>2021-09-28 20:47:45 -0400
commit755a2884c3304e627530cf2a65cb9da287d6fafe (patch)
tree50ccdf3a281492f446007d727dbf95f28ba740b3 /app-editors
parentapp-admin/puppet-agent: add subslot dep on libcrypt (diff)
downloadgentoo-755a2884c3304e627530cf2a65cb9da287d6fafe.tar.gz
gentoo-755a2884c3304e627530cf2a65cb9da287d6fafe.tar.bz2
gentoo-755a2884c3304e627530cf2a65cb9da287d6fafe.zip
app-editors/kakoune: Update download location. Bump to 2021.08.28-r1
Signed-off-by: Ian Hixson <mujo@sdf.org> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/kakoune/Manifest1
-rw-r--r--app-editors/kakoune/kakoune-2021.08.28-r1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest
index 0e6d7aafad9d..48589fef2d51 100644
--- a/app-editors/kakoune/Manifest
+++ b/app-editors/kakoune/Manifest
@@ -1 +1,2 @@
+DIST kakoune-2021.08.28.tar.bz2 535791 BLAKE2B b04f23b29def72659925b104a203033cd547ec9483225e35a216276716b2d31da76e1c4a239b60a1e72f3e3f4777997bc59560f6ccd4a0e3eaf509e537ed85ad SHA512 a304f1ce3295196468784e27f019d155b5aa0305d90adf5ae65c74a9be4ee740df400ebeb819eb059bb42efee503daa988a2ea929fa6d60ec63ad408be9b575a
DIST kakoune-2021.08.28.tar.gz 654429 BLAKE2B 8cf769d2dea74fd8bab8261e4d79276af089d73753052fdd3776bff0adc72bc20c43f840350076e675c633de2175ad83960fa2ccf85fc852c7c81bd4888ced2b SHA512 1f4f0648959e94e45eb00f2398aa6897595457ef3ee4d1c6e18d494f3e68f8d3a0c4d0dbed88b6588fda61137a060c648ff635972731c0f29faef4cdc03c829f
diff --git a/app-editors/kakoune/kakoune-2021.08.28-r1.ebuild b/app-editors/kakoune/kakoune-2021.08.28-r1.ebuild
new file mode 100644
index 000000000000..66fdc47a76c7
--- /dev/null
+++ b/app-editors/kakoune/kakoune-2021.08.28-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2021 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"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-php-filetype-fix.patch
+)
+
+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
+}