summaryrefslogtreecommitdiff
path: root/app-editors/kakoune/kakoune-2019.01.20.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-31 11:58:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-31 11:58:27 +0100
commit5b93e750bf719d1b0cfd40985ebd823d2ec94ff1 (patch)
tree6f2c51d9914daf6e9c4d3aceefb24e799d797c6f /app-editors/kakoune/kakoune-2019.01.20.ebuild
parent3330231dd1b3ae7085eb70045926d260260d7e14 (diff)
app-editors/kakoune : now in gentoo, drop our ebuild
Diffstat (limited to 'app-editors/kakoune/kakoune-2019.01.20.ebuild')
-rw-r--r--app-editors/kakoune/kakoune-2019.01.20.ebuild49
1 files changed, 0 insertions, 49 deletions
diff --git a/app-editors/kakoune/kakoune-2019.01.20.ebuild b/app-editors/kakoune/kakoune-2019.01.20.ebuild
deleted file mode 100644
index 6bf78bde..00000000
--- a/app-editors/kakoune/kakoune-2019.01.20.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs vcs-snapshot versionator
-
-DESCRIPTION="Selection-oriented code editor inspired by vim"
-HOMEPAGE="https://github.com/mawww/kakoune"
-SRC_URI="https://github.com/mawww/${PN}/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug static"
-
-RDEPEND="
- sys-libs/ncurses:0=[unicode]
-"
-DEPEND="
- app-text/asciidoc
- virtual/pkgconfig
- ${RDEPEND}
-"
-
-pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
- die "Clang or GCC >=5.0 is required to build this version"
- fi
- fi
-}
-
-src_prepare() {
- default
-
- sed -i -e '/CXXFLAGS += -O3/d' src/Makefile || \
- die "Failed to patch makefile"
-}
-
-src_configure() {
- tc-export CXX
- export debug=$(usex debug)
- export static=$(usex static)
-}
-
-src_install() {
- emake -C src DESTDIR="${D}" PREFIX="${EPREFIX}/usr" docdir="${ED%/}/usr/share/doc/${PF}" install
-}