diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/kakoune/Manifest | 4 | ||||
-rw-r--r-- | app-editors/kakoune/kakoune-2019.12.10.ebuild | 41 | ||||
-rw-r--r-- | app-editors/kakoune/kakoune-9999.ebuild | 41 | ||||
-rw-r--r-- | app-editors/kakoune/metadata.xml | 7 |
4 files changed, 93 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wolf@oriole.systems</email> + </maintainer> +</pkgmetadata> |