diff options
author | Wynn Wolf Arbor | 2020-09-10 12:16:06 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-09-10 12:16:06 +0200 |
commit | b46f1af188f59fe3a6bf0e88634a0c7eb10848a4 (patch) | |
tree | b8afcfa18ac9190f2c0b845bd73e61e39a9c1c8b /app-editors/kakoune/kakoune-2020.09.01.ebuild | |
parent | 49f359a25c5336f2361a1c31085531c9f01aa9d0 (diff) | |
download | pramantha-b46f1af188f59fe3a6bf0e88634a0c7eb10848a4.tar.gz |
app-editors/kakoune: Bump to 2020.09.01
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Diffstat (limited to 'app-editors/kakoune/kakoune-2020.09.01.ebuild')
-rw-r--r-- | app-editors/kakoune/kakoune-2020.09.01.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-editors/kakoune/kakoune-2020.09.01.ebuild b/app-editors/kakoune/kakoune-2020.09.01.ebuild new file mode 100644 index 0000000..4bff693 --- /dev/null +++ b/app-editors/kakoune/kakoune-2020.09.01.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +if [[ ${PV} == 9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mawww/kakoune.git" + KEYWORDS="" +else + SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/kakoune-${PV}.tar.bz2" + KEYWORDS="amd64" + RESTRICT="mirror" +fi + +DESCRIPTION="Selection-oriented code editor inspired by vim" +HOMEPAGE="https://kakoune.org" + +LICENSE="Unlicense" +SLOT="0" +IUSE="debug static" + +BDEPEND="virtual/pkgconfig" +RDEPEND="sys-libs/ncurses:0=[unicode]" +DEPEND="${RDEPEND} virtual/pkgconfig" + +src_configure() { + tc-export CXX + export debug=$(usex debug) + export static=$(usex static) +} + +src_compile() { + emake -C src +} + +src_install() { + emake -C src DESTDIR="${D}" PREFIX="${EPREFIX}/usr" docdir="${ED%/}/usr/share/doc/${PF}" install +} |