From 90b60b5044587535e792ed5410acbf10a76963e7 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Mon, 13 Jan 2020 15:59:49 +0100 Subject: Initial import --- app-editors/kakoune/Manifest | 4 +++ app-editors/kakoune/kakoune-2019.12.10.ebuild | 41 +++++++++++++++++++++++++++ app-editors/kakoune/kakoune-9999.ebuild | 41 +++++++++++++++++++++++++++ app-editors/kakoune/metadata.xml | 7 +++++ 4 files changed, 93 insertions(+) create mode 100644 app-editors/kakoune/Manifest create mode 100644 app-editors/kakoune/kakoune-2019.12.10.ebuild create mode 100644 app-editors/kakoune/kakoune-9999.ebuild create mode 100644 app-editors/kakoune/metadata.xml (limited to 'app-editors/kakoune') diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest new file mode 100644 index 0000000..2004be0 --- /dev/null +++ b/app-editors/kakoune/Manifest @@ -0,0 +1,4 @@ +DIST kakoune-2019.12.10.tar.bz2 474002 BLAKE2B 3a7057dfaabc525029713a7bba620522eb2b5002ad750c61cbf373bd0556bfd492246e4c445e59a0b3be74a321c22c45c7ce2fc7c71d29e3921df7b43eb9e121 SHA512 edea2f85e768e17d41e767fb8e06ece05af2f293589c3e9e27844db286551215980c8fab028700994a7a0892048ea6d264f6598de6326200bd535ab9974e13f1 +EBUILD kakoune-2019.12.10.ebuild 876 BLAKE2B d8a6866f98762cc69b521741e3b8e37109bc485d1fd6f392b0fcce6bef68faeefb89ea5cf670bcdcbac2020db0d14644ee0fc19428e1a0ad184e97ddc4f002da SHA512 d1f500a026367ca7f6b2aad608058cd3ed451451af1b960055a388009acff3f8c09554e23f62541a2d2801b1e1d7b2189245144e834d3f7acba5076bcf0f4742 +EBUILD kakoune-9999.ebuild 876 BLAKE2B d8a6866f98762cc69b521741e3b8e37109bc485d1fd6f392b0fcce6bef68faeefb89ea5cf670bcdcbac2020db0d14644ee0fc19428e1a0ad184e97ddc4f002da SHA512 d1f500a026367ca7f6b2aad608058cd3ed451451af1b960055a388009acff3f8c09554e23f62541a2d2801b1e1d7b2189245144e834d3f7acba5076bcf0f4742 +MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0 diff --git a/app-editors/kakoune/kakoune-2019.12.10.ebuild b/app-editors/kakoune/kakoune-2019.12.10.ebuild new file mode 100644 index 0000000..d93cdb9 --- /dev/null +++ b/app-editors/kakoune/kakoune-2019.12.10.ebuild @@ -0,0 +1,41 @@ +# Copyright 2019 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 +} diff --git a/app-editors/kakoune/kakoune-9999.ebuild b/app-editors/kakoune/kakoune-9999.ebuild new file mode 100644 index 0000000..d93cdb9 --- /dev/null +++ b/app-editors/kakoune/kakoune-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2019 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 +} diff --git a/app-editors/kakoune/metadata.xml b/app-editors/kakoune/metadata.xml new file mode 100644 index 0000000..c544433 --- /dev/null +++ b/app-editors/kakoune/metadata.xml @@ -0,0 +1,7 @@ + + + + + wolf@oriole.systems + + -- cgit v1.2.3-2-gb3c3